[Freeswitch-users] key tone trigger event during call
Frank @ Impact
frank at impactfax.com
Fri Dec 5 19:01:32 PST 2008
Also got it on 9579 as well.
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Michael S Collins
Sent: Friday, December 05, 2008 8:42 PM
To: freeswitch-users at 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 at 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 at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list