Also got it on 9579 as well. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael S Collins Sent: Friday, December 05, 2008 8:42 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] key tone trigger event during call That's a pretty old rev. Any chance you could make current? -MC Sent from my iPhone On Dec 5, 2008, at 5:09 PM, "Frank @ Impact" <frank@impactfax.com> wrote:
I tried your suggested test. Here is the business end of the extension I tried.
<action application="set" data="DTMF1=false"/> <action application="start_dtmf" data="true"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="answer"/> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/>
but I always got DTMF1=false in the info dump. I am using FS 9210
I have tried sending a call from my sip phone connected to an asterisk server to FS (dial FS). I also tried a PSTN call coming in on a PRI to asterisk and then sip over to FS (another dial from asterisk). In each case, pressed 1 several times and the tone_detect never triggered.
Ideas? Am I doing something stupid or is tone_detect not just right here?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Those might be necessary if your dtmf's are not already in-band.
Here's a sample extension you could try for testing, dialing 9990:
<extension name="dtmf_detect_test"> <condition field="destination_number" expression="^9990$"> <action application="answer"/> <action application="tone_detect" data="DTMF1 697,1209 rw +10000 set DTMF1=true"/> <!-- detect DTMF 1 key--> <action application="sleep" data="10000"/> <action application="info"/> <action application="hangup"/> </condition> </extension>
Give that a try and at least see if you can detect the tones... -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org