[Freeswitch-users] DTMF

Tihomir Culjaga tculjaga at gmail.com
Fri May 19 11:41:06 UTC 2017


well, this solved my issue :=)

    <extension name="DTMF" continue="true">
      <condition field="${switch_r_sdp}"
expression="a=rtpmap:(\d+)\stelephone-event/8000" break="never">
        <action application="set" data="rtp_payload_number=$1"/>
        <action application="log" data="INFO rfc2833 - on
profile:[${sofia_profile_name}]"/>
        <anti-action application="spandsp_start_dtmf"/>
        <anti-action application="log" data="INFO InBand - on
profile:[${sofia_profile_name}]"/>
      </condition>
    </extension>


not the best practice mode but for now, i can accept InBand DTMF

    <extension name="Force_inBand_DTMF" continue="true">
      <condition field="${sofia_profile_name}" expression="myPROFILENAME"
break="never">
        <action application="spandsp_start_dtmf"/>
        <action application="log" data="INFO Forcing InBand DTMF on
profile:[${sofia_profile_name}]"/>
      </condition>
    </extension>




On 19 May 2017 at 13:11, Tihomir Culjaga <tculjaga at gmail.com> wrote:

> hello FS uses,
>
>
> On incoming calls, i got a carrier that advertises rfc2833
> (telephone-event) while supporting inBand DTMF only.
>
> is there a chance FreeSWITCH can ignore telephone-event for incoming calls
> from a specific gateway ( profile ) and switch to inBand ?
>
>
> Regards,
> T.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170519/454101f9/attachment.html 


More information about the FreeSWITCH-users mailing list