[Freeswitch-users] DTMF detection

Michael Traut michael.traut at gmail.com
Thu Dec 18 14:18:33 MSK 2014


I'm still a noob, but as far as i understood from here

https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf

you need to enable dtmf for the binding upfront in the dialplan.

   <extension name="ivr_demo">
     <condition field="destination_number" expression="5000">
       <action application="answer"/>
       *<action application="start_dtmf" />*
       <action application="ivr" data="demo_ivr"/>
     </condition>
   </extension>


On Thu, Dec 18, 2014 at 11:53 AM, Paul Atreides <
paul.atreides83 at googlemail.com> wrote:
>
> Hi,
>
> can someone please help me with DTMF detection? What am I doing wrong?
> I searched the net everywhere but couldn’t find a solutions for my problem.
> I call in with xlite. DTMF is set to "RFC 2833 and SIP INFO"
> But the console detects nothing. Where is the problem?
>
> Thanks for help
>
> conf/sip_profiles/internal.xml
>
> <param name="liberal-dtmf" value="true"/>
> <param name="dtmf-duration" value="2000"/>
> <param name="dtmf-type" value="info"/>
>
> conf/dialplan/default.xml
>
> <extension name="Local_Extension">
>    <condition field="destination_number" expression="^([0-9][0-9])$">
>      <action application="export" data="dialed_extension=$1"/>
>      <action application="set" data="continue_on_fail=true"/>
>      <action application="set" data="call_timeout=30"/>
>      <action application="set" data="hangup_after_bridge=true"/>
>      <action application="bridge" data="user/${dialed_extension}@
> ${domain_name}"/>
>
>      <action application="bind_digit_action"
> data="test1,##,exec:playback,ivr/ivr welcome_to_freeswitch.wav"/>
>      <action application="digit_action_set_realm" data="test1"/>
>
>      <action application="answer"/>
>
>   </condition>
> </extension>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141218/50c804f4/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list