[Freeswitch-users] DTMF detection

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


ivr application enables reading of DTMF. If you add start_dtmf there it
will be two concurent functions for DTMF reading in channel. I don`t know,
how they will work, but may be not properly

2014-12-18 14:27 GMT+03:00 Michael Traut <michael.traut at gmail.com>:
>
> Could you explain what "start_dtmf" is for? Whats the difference in this
> scenario?
>
> Thanks!
>
> On Thu, Dec 18, 2014 at 12:24 PM, Борисов, Дмитрий / Dmitriy Borisov <
> bordmi at rarus.ru> wrote:
>>
>> not do start_dtmf
>>
>> 2014-12-18 14:18 GMT+03:00 Michael Traut <michael.traut at gmail.com>:
>>>
>>> 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
>>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>
>> _________________________________________________________________________
>> 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
>>
>
> _________________________________________________________________________
> 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/d8d1d1ec/attachment.html 


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