From fce109d9eceee764983b2aef928df1e8d0e25e02 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 27 Jul 2007 21:15:16 +0000 Subject: [PATCH] added option to use shorter enter and leave sounds for Asterisk git-svn-id: svn://192.168.202.10@657 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/UPGRADE | 2 + agc_2-X/trunk/docs/BASE_INSTALL.txt | 6 + agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt | 74 ++++++++++++ agc_2-X/trunk/docs/SCRATCH_INSTALL.txt | 14 +++ .../docs/conf_examples/extensions.conf.sample | 3 + .../trunk/extras/Changed_meetme_sounds.txt | 37 ++++++ agc_2-X/trunk/extras/enter.h | 106 +++++++++++++++++ agc_2-X/trunk/extras/enter.raw | 4 + agc_2-X/trunk/extras/leave.h | 110 ++++++++++++++++++ agc_2-X/trunk/extras/leave.raw | 1 + 10 files changed, 357 insertions(+) create mode 100644 agc_2-X/trunk/extras/Changed_meetme_sounds.txt create mode 100644 agc_2-X/trunk/extras/enter.h create mode 100644 agc_2-X/trunk/extras/enter.raw create mode 100644 agc_2-X/trunk/extras/leave.h create mode 100644 agc_2-X/trunk/extras/leave.raw diff --git a/agc_2-X/trunk/UPGRADE b/agc_2-X/trunk/UPGRADE index 675d083f..f9babffa 100644 --- a/agc_2-X/trunk/UPGRADE +++ b/agc_2-X/trunk/UPGRADE @@ -30,6 +30,8 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom 5. The admin.php interface has had more sections broken into sub-sections for easier management and rapid modifications. +6. Added option for shorter enter and leave sounds(done during Asterisk build) + BASE/SCRATCH_INSTALL or extras/Changed_meetme_sounds for more details diff --git a/agc_2-X/trunk/docs/BASE_INSTALL.txt b/agc_2-X/trunk/docs/BASE_INSTALL.txt index ef5e118f..e3ee7e2f 100644 --- a/agc_2-X/trunk/docs/BASE_INSTALL.txt +++ b/agc_2-X/trunk/docs/BASE_INSTALL.txt @@ -89,6 +89,12 @@ cd ../asterisk-1.2.18 wget http://www.eflo.net/files/app_waitforsilence.c mv app_waitforsilence.c apps/app_waitforsilence.c + *OPTIONAL* shorter enter and leave sounds for meetme + wget http://www.eflo.net/files/enter.h + wget http://www.eflo.net/files/leave.h + mv -f enter.h apps/enter.h + mv -f leave.h apps/leave.h + make clean make make install diff --git a/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt b/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt index 571a37fe..b5fc1d82 100644 --- a/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt +++ b/agc_2-X/trunk/docs/REQUIRED_APPS_INSTALL.txt @@ -281,3 +281,77 @@ make install /usr/local/bin/sipsak --version + + +#### OPTIONAL NEWEST VERSIONS OF ASTERISK #### + +mkdir /usr/src/asterisk +cd /usr/src/asterisk +wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.23.tar.gz +wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.19.tar.gz +wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.5.tar.gz +gunzip asterisk-1.2.23.tar.gz +tar xvf asterisk-1.2.23.tar +gunzip zaptel-1.2.19.tar.gz +tar xvf zaptel-1.2.19.tar +gunzip libpri-1.2.5.tar.gz +tar xvf libpri-1.2.5.tar +cd ./zaptel-1.2.19 +wget http://www.freedomphones.net/files/newt-0.51.6.tar.gz +gunzip newt-0.51.6.tar.gz +tar xvf newt-0.51.6.tar +cd newt-0.51.6 +./configure +make +make install +cd ../ +ln -s /usr/lib/libnewt.so.0.51.6 /usr/lib/libnewt.so.0.51 +make clean +make zttool +make +make install +cd ../libpri-1.2.5 +make clean +make +make install +cd ../asterisk-1.2.23 +cd apps +wget http://www.eflo.net/files/app_amd2.c +mv app_amd2.c app_amd.c +vi Makefile + + + replace this line(line 32): + app_mixmonitor.so app_stack.so + with this line: + app_mixmonitor.so app_stack.so app_amd.so + + +wget http://www.eflo.net/files/amd2.conf +mkdir /etc/asterisk +mv amd2.conf /etc/asterisk/amd.conf +wget http://www.eflo.net/files/meetme_volume_control_1.2.16.patch +patch -p1 < ./meetme_volume_control_1.2.16.patch + + + - File to patch: app_meetme.c + + +cd ../ +wget http://www.eflo.net/files/cli_chan_concise_delimiter.patch +patch -p1 < ./cli_chan_concise_delimiter.patch + + + - File to patch: cli.c + + +wget http://www.eflo.net/files/app_waitforsilence.c +mv app_waitforsilence.c apps/app_waitforsilence.c +wget http://www.eflo.net/files/enter.h +wget http://www.eflo.net/files/leave.h +mv -f enter.h apps/enter.h +mv -f leave.h apps/leave.h + +make clean +make +make install diff --git a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt index 48ddbbb7..97e9dbf9 100644 --- a/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt +++ b/agc_2-X/trunk/docs/SCRATCH_INSTALL.txt @@ -894,6 +894,17 @@ with the following patch: - patch -p1 < ./cli_chan_concise_delimiter.patch - File to patch: cli.c + *OPTIONAL*(1.2.14 thru 1.2.18) rewrite of waitforsilence + - wget http://www.eflo.net/files/app_waitforsilence.c + - mv app_waitforsilence.c apps/app_waitforsilence.c + + *OPTIONAL* shorter enter and leave sounds for meetme + - wget http://www.eflo.net/files/enter.h + - wget http://www.eflo.net/files/leave.h + - mv -f enter.h apps/enter.h + - mv -f leave.h apps/leave.h + + - make clean - make - make install @@ -1866,6 +1877,9 @@ exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) exten => _90009.,1,Answer ; Answer the line exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) exten => _90009.,3,Hangup +exten => _990009.,1,Answer ; Answer the line +exten => _990009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _990009.,3,Hangup ; parameters for agi-VDADcloser_inbound....agi (7 fields separated by five dashes "-----"): ; 1. the full name of the IN GROUP to be used in vicidial for the inbound call diff --git a/agc_2-X/trunk/docs/conf_examples/extensions.conf.sample b/agc_2-X/trunk/docs/conf_examples/extensions.conf.sample index 356cffe8..94dfc8f5 100644 --- a/agc_2-X/trunk/docs/conf_examples/extensions.conf.sample +++ b/agc_2-X/trunk/docs/conf_examples/extensions.conf.sample @@ -240,6 +240,9 @@ exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi) exten => _90009.,1,Answer ; Answer the line exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) exten => _90009.,3,Hangup +exten => _990009.,1,Answer ; Answer the line +exten => _990009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START) +exten => _990009.,3,Hangup ; parameters for agi-VDADcloser_inbound....agi (7 fields separated by five dashes "-----"): ; 1. the full name of the IN GROUP to be used in vicidial for the inbound call diff --git a/agc_2-X/trunk/extras/Changed_meetme_sounds.txt b/agc_2-X/trunk/extras/Changed_meetme_sounds.txt new file mode 100644 index 00000000..579fd731 --- /dev/null +++ b/agc_2-X/trunk/extras/Changed_meetme_sounds.txt @@ -0,0 +1,37 @@ +* Changed Meetme Sounds in Asterisk 2007-07-27 + + +For some reason, possibly effeciency, the enter and leave sounds that you hear in standard Asterisk meetme rooms are actually hex dumps of RAW ULAW 8bit audio that have been compiled into the code of Asterisk in a header file. This makes them somewhat difficult to change, especially since there are no instructions. + +This should slightly reduce time that it takes for calls to get to agents, as well as reduce the time of the locks that occur when these sounds are played in Asterisk. The new enter and leave sounds I include with VICIDIAL are 0.12 and 0.13 seconds respectively as compared to the default sounds which are more than double that. + + +Here are the steps I went to to change the meetme enter and leave sounds: + + +1. grab the source audio file you want and open it in your favorite editor + - In my case I tweaked the audio I used for the app_conference build I made and shrunk them a bit until they were at most, half the length as the Asterisk default sounds they would be replacing + + +2. Save the audio as 8-bit, 8k ULAW audio and save as .raw + + +3. used "hexdump" to dump the audio file into two-character hex chunks + /usr/bin/hexdump -C ./enter.raw + - I'm sure this could be made prettier with the proper formatting strings, but I didn't have time for that + - Here's some of the output: + + 00000000 d6 dc 55 5f 63 67 f0 f0 74 75 d6 ee 5d 73 66 60 |U_cgtu]sf`| + 00000010 dc fd 62 68 5b 5a 57 5e 5b 5c ef fc 4d 51 57 4c |bh[ZW^[\MQWL| + 00000020 5d 66 60 51 6c 5f 3e 4d 59 47 72 e4 52 53 58 48 |]f`Ql_>MYGrRSXH| + + +4. Used favorite text edotor to format the data properly: + - 60 character length lines comma-space separated in the same format as enter.h and leave.h were in. Don't forget the header and footer to this raw hex audio, they are important + + 0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75, + 0xd6, 0xee, 0x5d, 0x73, 0x66, 0x60, 0xdc, 0xfd, 0x62, 0x68, + 0x5b, 0x5a, 0x57, 0x5e, 0x5b, 0x5c, 0xef, 0xfc, 0x4d, 0x51, + +5. Copied the new enter.h and leave.h files over the old ones, and compile Asterisk + diff --git a/agc_2-X/trunk/extras/enter.h b/agc_2-X/trunk/extras/enter.h new file mode 100644 index 00000000..c07cffd2 --- /dev/null +++ b/agc_2-X/trunk/extras/enter.h @@ -0,0 +1,106 @@ +/* + * U-law 8-bit audio data + * Source: enter.raw (/usr/bin/hexdump -C ./enter.raw) + * Copyright (C) 2007, Matt Florell + * Distributed under the terms of the GPLv2 + */ + +static unsigned char enter[] = { +0xff, 0xff, 0x26, 0x26, 0x29, 0xce, 0xbe, 0xbf, 0xb2, 0xb6, +0xb6, 0x3d, 0x37, 0x36, 0x24, 0x26, 0x26, 0x28, 0x2d, 0x30, +0x48, 0x5c, 0xf2, 0xc4, 0xc5, 0xc4, 0xbe, 0xc2, 0xc7, 0xc5, +0xc8, 0xce, 0xc5, 0xc5, 0xc7, 0xbd, 0xbd, 0xbd, 0x3b, 0x2e, +0x2e, 0x27, 0x25, 0x1c, 0x1c, 0x1e, 0x25, 0x32, 0x66, 0xb3, +0xa7, 0x9f, 0x9f, 0xa1, 0x9a, 0x9d, 0xa3, 0xad, 0xcd, 0x75, +0x36, 0x2b, 0x2a, 0x27, 0x2d, 0x30, 0x48, 0xc1, 0xb7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c_2-X/trunk/extras/enter.raw b/agc_2-X/trunk/extras/enter.raw new file mode 100644 index 00000000..4635599c --- /dev/null +++ b/agc_2-X/trunk/extras/enter.raw @@ -0,0 +1,4 @@ +&&)ξ=76$&&(-0H\ľǽ;..'%%2fu6+*'-0HK\]K1+*#1Ef='%5]6&)=ȯD" *N9' (<ֺ[2# + + ,n6  +)ਛ, 3G$ <0&ER+'=7'#-L=+# %.F«Y0%(68(&3`A,"&1MȴY6)!'/@迷D/&&1J˵T4( &2P=,#!)8f6)#!"'0K>-'$$)3OM5,)*.=巪W<314=ZǴL:205>e±?1,*+1@߹=.(%&*1Cظ@/($#%*2HֺB2+'&(,5EI7.*)),2>Zþ^>1+'%&*0?zźV:.(%$%)/?|lD7/..07C_Ҿ~YTWckVRU_Q=537?^ñG<9G[ɾ\G>;>@GRs_I=73237>JcaL>84237<<=AJVmw[NIEDFKSa|d[VOLJJMPYgpa\YXZ^dly|z} \ No newline at end of file diff --git a/agc_2-X/trunk/extras/leave.h b/agc_2-X/trunk/extras/leave.h new file mode 100644 index 00000000..c99bcbb2 --- /dev/null +++ b/agc_2-X/trunk/extras/leave.h @@ -0,0 +1,110 @@ +/* + * U-law 8-bit audio data + * Source: leave.raw (/usr/bin/hexdump -C ./leave.raw) + * Copyright (C) 2007, Matt Florell + * Distributed under the terms of the GPLv2 + */ + +static unsigned char leave[] = { +0xd6, 0xdc, 0x55, 0x5f, 0x63, 0x67, 0xf0, 0xf0, 0x74, 0x75, +0xd6, 0xee, 0x5d, 0x73, 0x66, 0x60, 0xdc, 0xfd, 0x62, 0x68, +0x5b, 0x5a, 0x57, 0x5e, 0x5b, 0x5c, 0xef, 0xfc, 0x4d, 0x51, +0x57, 0x4c, 0x5d, 0x66, 0x60, 0x51, 0x6c, 0x5f, 0x3e, 0x4d, +0x59, 0x47, 0x72, 0xe4, 0x52, 0x53, 0x58, 0x48, 0x3e, 0x51, +0x54, 0x4e, 0xf8, 0xd2, 0x4c, 0x45, 0x4e, 0x3e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, 0x6d, 0x54, 0x75, 0xd6, 0x71, 0x4a, 0x4e, 0xcc, 0xcd, +0x55, 0x55, 0x61, 0x68, 0x56, 0x5e, 0xce, 0xde, 0x43, 0x46, +0xce, 0xce, 0x59, 0x50, 0x7c, 0xfe, 0x52, 0x67, 0xcd, 0xeb, +0x49, 0x69, 0xe5, 0xfe, 0xde, 0x60, 0x5e, 0xf5, 0xde, 0xeb, +0x68, 0x6b, 0x71, 0xee, 0x78, 0x76, 0x76, 0x72, 0x6b, 0x6c, +0xfc, 0x7d, }; diff --git a/agc_2-X/trunk/extras/leave.raw b/agc_2-X/trunk/extras/leave.raw new file mode 100644 index 00000000..4949775b --- /dev/null +++ b/agc_2-X/trunk/extras/leave.raw @@ -0,0 +1 @@ +U_cgtu]sf`bh[ZW^[\MQWL]f`Ql_>MYGrRSXH>QTNLEN>FXZYZD:SCExR[]>9iKV[eKOK|urJMKPkD\n˼bS{˼TxSZ\̽ӷygSWAI\D;?KGJidIOiFkZJոZ>g43?gASHi̹{ǮRݷ?=ӵ=ʭTOH>@PƾN>;s0e>ٵAͫ?Ͱ4o1g-z:­44*˵)n,ͼ.6o1^.7.?+L)+*%ȯ%A*<./]-)&(D25J/**ˮ,F52K+,ͫ;4TI6,UN;2ȫC5B̲G[,N93ƪB4;ȺE?XXL:XV5@ٿ;92\@:+X=2t5]<40E3^?@/;v+;J;5?7>YHE::Z:NiKH]4M\5GRJFx@GuEOU?ZMX}KGýUI˿FV\K^]ʿuwʾRr\ʾž]W÷FYԾ]ʷQ`wbʹHbNZlMGXkyQDOgmTuqJNUUahV^CFYP|RgIi`^hkqxvvrkl} \ No newline at end of file