[Freeswitch-users] Need a help with start_dtmf
Brian West
brian at freeswitch.org
Wed Feb 19 18:36:20 MSK 2014
I highly suspect you receive phone calls from providers that don’t support RFC2833, fun thing is some providers do send 2833 but never say telephony-event in the SDP on the invite… which is silly. If you look at the default dial plan in FreeSWITCH you’ll see this:
<condition field="${switch_r_sdp}" expression="a=rtpmap:(\d+)\stelephone-event/8000" break="never">
<action application="set" data="rtp_payload_number=$1"/>
<anti-action application="start_dtmf"/>
</condition>
This will look at the SDP and toggle on start_dtmf if no telephony-event is present in the inbound invite.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Feb 19, 2014, at 1:53 AM, Yigal Rachilevsky <yigalr01 at gmail.com> wrote:
> Hello !
>
> I am a new in Freeswitch..
> I need a help with start_dtmf parameter
>
> We have IVR system (Telephone Reporting System)
> Some times in incoming calls Freeswitch misses some key presses (DTMF)
> I guess that the problem is the detection of DTMF...
> I use in (external.xml)
> <param name="dtmf-type" value="rfc2833"/>
>
> Where I need to add start_dtmf parameter for detecting in-band DTMF ?
> We are using dialplan.xml file located in root of conf folder
> <?xml version="1.0" encoding="utf-8"?>
> <include>
> <context name="public">
> <extension name="SYFreeSwitch">
> <condition field="destination_number" expression=".*">
> <action application="start_dtmf" />
> <action application="managed" data="SYFreeSwitch"/>
> </condition>
> </extension>
> </context>
> </include>
>
> It's right place for it ?
>
>
> Thank you in advance,
>
> Yigal
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140219/8a1d3818/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list