[Freeswitch-users] Need a help with start_dtmf

Michael Jerris mike at jerris.com
Wed Feb 19 21:19:17 MSK 2014


if your provider is sending 2833, then you never need to use start_dtmf, using it will only cause double detection.

On Feb 19, 2014, at 12:50 PM, Yigal Rachilevsky <yigalr01 at gmail.com> wrote:

> 
> Hello ! And thank you for response
> My provider support and send me both RFC and In-band ....
> Where I need to use this parameters ? In which file ?
> I am new for freeswitch :)
> 
> my dialplan.xml as shown in my post is right place ? 
> 
> 
> 
> 
> On Wed, Feb 19, 2014 at 5:36 PM, Brian West <brian at freeswitch.org> wrote:
> 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
> 
> 
> _________________________________________________________________________
> 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
> 
> 
> 
> 
> -- 
> 
> * * * * * * * * * * * * * * * * * * * * * *
> *  Yigal Rachilevsky                  
> *  Tel:   048475400, 037555100  
> *  Fax:  048475429                    
> *  Email: yigalr01 at gmail.com     
> * * * * * * * * * * * * * * * * * * * * * *
> _________________________________________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140219/f86e91f6/attachment.html 


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