[Freeswitch-users] DTMF detection

Борисов, Дмитрий / Dmitriy Borisov bordmi at rarus.ru
Thu Dec 18 14:21:57 MSK 2014


try next:
<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="bind_digit_action"
data="test1,##,exec:playback,ivr/ivr
welcome_to_freeswitch.wav"/>
     <action application="digit_action_set_realm" data="test1"/>
     <action application="answer"/>
     <action application="bridge" data="user/${dialed_extension}
@${domain_name}"/>
  </condition>
</extension>

2014-12-18 13:53 GMT+03:00 Paul Atreides <paul.atreides83 at googlemail.com>:
>
> 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
>


-- 
with best regards,
Dmitriy Borisov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141218/765a1f71/attachment-0001.html 


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