<div dir="ltr">and for you my friend its like this:<div><br></div><div><div>   &lt;extension name=&quot;OUTGOING_PSTN&quot;&gt;</div><div>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^([0-9]\d\d\d\d+)$&quot;&gt;<br></div><div>       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=${e164_caller_id}&quot;/&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=${e164_caller_id}&quot;/&gt;</div><div><br></div><div><br></div><div>       &lt;action application=&quot;set&quot; data=&quot;bind_meta_key=*&quot;/&gt;</div><div>       &lt;action application=&quot;bind_meta_app&quot; data=&quot;4 a s execute_extension::att_xfer XML features&quot;/&gt;<br></div><div><br></div><div>       &lt;action application=&quot;log&quot; data=&quot;INFO execute info on B-leg&quot;/&gt;<br></div><div>       &lt;action application=&quot;export&quot; data=&quot;nolocal:execute_on_answer=execute_extension EVALUATE_DTMF XML default&quot;/&gt;</div><div><br></div><div>       &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/siptg-03/${dest_local}&quot;/&gt;</div><div>       &lt;action application=&quot;hangup&quot;/&gt;</div><div>     &lt;/condition&gt;</div><div>   &lt;/extension&gt;</div></div><div><br></div><div><br></div><div><div>   &lt;extension name=&quot;EVALUATE_DTMF&quot;&gt;</div><div>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^EVALUATE_DTMF$&quot;/&gt;</div><div>      &lt;condition field=&quot;${switch_r_sdp}&quot; expression=&quot;a=rtpmap:(\d+)\stelephone-event/8000&quot; break=&quot;never&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;rtp_payload_number=$1&quot;/&gt;</div><div>        &lt;action application=&quot;log&quot; data=&quot;INFO rfc2833 - on profile:[${sofia_profile_name}]&quot;/&gt;</div><div>        &lt;anti-action application=&quot;spandsp_start_dtmf&quot;/&gt;</div><div>        &lt;anti-action application=&quot;log&quot; data=&quot;INFO InBand - on profile:[${sofia_profile_name}]&quot;/&gt;</div><div>     &lt;/condition&gt;</div><div>   &lt;/extension&gt;</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 May 2017 at 13:41, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>well, this solved my issue :=)</div><div><br></div><div>    &lt;extension name=&quot;DTMF&quot; continue=&quot;true&quot;&gt;</div><div>      &lt;condition field=&quot;${switch_r_sdp}&quot; expression=&quot;a=rtpmap:(\d+)\<wbr>stelephone-event/8000&quot; break=&quot;never&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;rtp_payload_number=$1&quot;/&gt;</div><div>        &lt;action application=&quot;log&quot; data=&quot;INFO rfc2833 - on profile:[${sofia_profile_name}<wbr>]&quot;/&gt;</div><div>        &lt;anti-action application=&quot;spandsp_start_<wbr>dtmf&quot;/&gt;</div><div>        &lt;anti-action application=&quot;log&quot; data=&quot;INFO InBand - on profile:[${sofia_profile_name}<wbr>]&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div><br></div><div>not the best practice mode but for now, i can accept InBand DTMF</div><div><div><br></div><div>    &lt;extension name=&quot;Force_inBand_DTMF&quot; continue=&quot;true&quot;&gt;</div><div>      &lt;condition field=&quot;${sofia_profile_name}&quot; expression=&quot;myPROFILENAME&quot; break=&quot;never&quot;&gt;</div><div>        &lt;action application=&quot;spandsp_start_<wbr>dtmf&quot;/&gt;</div><div>        &lt;action application=&quot;log&quot; data=&quot;INFO Forcing InBand DTMF on profile:[${sofia_profile_name}<wbr>]&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 19 May 2017 at 13:11, Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hello FS uses,<div><br></div><div><br></div><div>On incoming calls, i got a carrier that advertises rfc2833 (telephone-event) while supporting inBand DTMF only.</div><div><br></div><div>is there a chance FreeSWITCH can ignore telephone-event for incoming calls from a specific gateway ( profile ) and switch to inBand ?<br></div><div><br></div><div><br></div><div>Regards,</div><div>T.</div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>