<div dir="ltr"><div><span style="font-size:12.8000001907349px">Hi All,</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">The following dial plan detects RFC 2833 and if it is not present, runs the &quot;</span><span style="font-size:12.8000001907349px">start_dtmf&quot; application.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">&lt;condition field=&quot;${switch_r_sdp}&quot; expression=&quot;a=rtpmap:(\d+)\stelephone-event/8000&quot; break=&quot;never&quot;&gt; </span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">        </span>&lt;action application=&quot;set&quot; data=&quot;rtp_payload_number=$1&quot;/&gt; </span></div><div><span style="font-size:12.8000001907349px"><span class="" style="white-space:pre">        </span>&lt;anti-action application=&quot;start_dtmf&quot;/&gt; </span></div><div><span style="font-size:12.8000001907349px">&lt;/condition&gt;</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">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?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Any help appreciated.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Phil</span></div></div>