[Freeswitch-users] start_dtmf when no RFC 2833

Phillip Jones pjintheusa at gmail.com
Tue Mar 17 22:05:10 MSK 2015


Hi All,

The following dial plan detects RFC 2833 and if it is not present, runs the
"start_dtmf" application.

<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>

I need to do this on the outbound leg - using Lua. Can anyone point me to
some code example that would achieve this or get me started?

Any help appreciated.

Thanks



Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150317/184a9fe5/attachment.html 


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