Page 1 of 1

solution for DTMF passthru issues

PostPosted: Mon Aug 13, 2007 8:51 pm
by mflorell
I just finished a patch today for DTMF passthru in app_meetme so that you can send DTMF tones from SIP phones to Zap channels, or the other way around for instance, something that does not work very well if at all in Asterisk 1.2.X

The patch is an adapting of the portions of Asterisk 1.4.X code for app_meetme that adds the "F" flag to do passthru. The patch is tested with Asterisk 1.2.23, but will probably work with older versions as well.

Here are the instructions to patch your system:

cd /usr/src/asterisk/asterisk-1.2.23
wget http://www.eflo.net/files/meetme_DTMF_p ... 2.23.patch
patch -p1 < ./meetme_DTMF_passthru-1.2.23.patch
- File to patch: app_meetme.c

make clean
make
make install


Add "|F" after your 8600051-8600200 extensions to enable DTMF passthru


Please post your results if you try this in production.

PostPosted: Thu Aug 16, 2007 8:21 am
by devafree
Many thanks,

Regards

devafree

trying this for a production setup

PostPosted: Tue Oct 02, 2007 2:36 pm
by devafree
Dear Matt

I have a problem, not able to patch. Slack 12 , kernel 2.6.21.5.

patch -p1 < ./meetme_DTMF_passthru-1.2.23.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- app_meetme-orig.c 2007-08-13 12:34:41.000000000 -0400
|+++ app_meetme.c 2007-08-13 13:18:21.000000000 -0400
--------------------------
File to patch: app_meetme.c
app_meetme.c: No such file or directory
Skip this patch? [y] n
File to patch: app_meetme.c
app_meetme.c: No such file or directory
Skip this patch? [y]
Skipping patch.
7 out of 7 hunks ignored

thanks and regards

devafree

PostPosted: Wed Oct 03, 2007 9:36 pm
by mflorell
were you in the "apps" directory when you tried to apply the patch to Asterisk source code?

PostPosted: Thu Oct 04, 2007 11:12 am
by devafree
No ,

pwd = /usr/src/asterisk/asterisk-1.2.23

regards

devafree

PostPosted: Sun Oct 07, 2007 7:23 am
by mflorell
I would suggest following the SVN install instructions exactly and you will not have this problem. You need to be in the apps directory to have the file patch successfully.

PostPosted: Thu Jan 24, 2008 12:32 am
by mindseeker
hi matt



where am going to put this? is it in meetme.conf:

"Add "|F" after your 8600051-8600200 extensions to enable DTMF passthru "

PostPosted: Thu Jan 24, 2008 3:25 am
by mflorell
nope, you need to add the "|F" in the extensions.conf file only.

; VICIDIAL conferences
exten => 8600051,1,Meetme,8600051|F
exten => 8600052,1,Meetme,8600052|F
exten => 8600053,1,Meetme,8600053|F
exten => 8600054,1,Meetme,8600054|F
exten => 8600055,1,Meetme,8600055|F
exten => 8600056,1,Meetme,8600056|F
exten => 8600057,1,Meetme,8600057|F
...