[Freeswitch-users] Force Inband DTMF Reception

Piotr Gregor piotrek.gregor at gmail.com
Mon Nov 30 15:58:15 UTC 2020


Cześć Adrian,

Tak, to ma sens. Spróbuj może ustawić flagę dtmf_type=none

<action application="set" data="dtmf_type=none"/>

To powinno sprawić, że w SDP ANSWER nie będzie  a=rtpmap:101
telephone-event/8000, tylko nie jestem pewien czy detekcja in-band DTMF
będzie włączona.

pozdrawiam,
Piotr


On Mon, 30 Nov 2020 at 15:34, Adrian Worutowicz <
adrian.worutowicz at esifrance.net> wrote:

> Witaj Piotrze,
>
>
>
> Co za niespodzianka! 😊
>
>
>
> Otóż faktycznie INVITE zawiera:
>
>    v=0
>
>    o=BroadWorks 210259115 1 IN IP4 xxx.xxx.xxx.xxx
>
>    s=-
>
>    c=IN IP4 xxx.xxx.xxx.xxx
>
>    t=0 0
>
>    m=audio 62810 RTP/AVP 8 18 101
>
>    a=fmtp:18 annexb=no
>
>    a=rtpmap:18 G729/8000
>
>    a=rtpmap:101 telephone-event/8000
>
>    a=ptime:20
>
>
>
>
>
> Zaś  SIP/2.0 200 OK zawiera:
>
>    v=0
>
>    o=FreeSWITCH 1606729402 1606729403 IN IP4 xxx.xxx.xxx.xxx
>
>    s=FreeSWITCH
>
>    c=IN IP4 xxx.xxx.xxx.xxx
>
>    t=0 0
>
>    m=audio 20616 RTP/AVP 8 101
>
>    a=rtpmap:8 PCMA/8000
>
>    a=rtpmap:101 telephone-event/8000
>
>    a=fmtp:101 0-16
>
>    a=ptime:20
>
>
>
> Gateway to ORANGE, także mam tu niewielkie pole manewru.
>
> Powiedzieli mi jednak, że jeśli usunę  a=rtpmap:101 telephone-event/8000,
> to będzie inband – co jest możliwe, bo w tym połączeniu proponują kodek
> G729 a ja im na to PCMA no i transmisja jest w PCMA (G711A).
>
>
>
> Także pozostaje pytanie, jak usunąć  tę linię z sekcji SDP wysyłanej przez
> FS w 200 OK.
>
>
>
> Serdecznie pozdrawiam,
>
> Adrian.
>
>
>
>
>
>
>
> *De :* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *De
> la part de* Piotr Gregor
> *Envoyé :* lundi 30 novembre 2020 11:58
> *À :* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Objet :* Re: [Freeswitch-users] Force Inband DTMF Reception
>
>
>
> Cześć Adrian,
>
>
>
> Tryb w którym FS będzie używał DTMF zależy od trybu który jest oferowany w
> SDP INVITE.
>
> Zazwyczaj klient jest konfigurowalny, np. w Bria: Preferences -> Calls ->
> DTMF: Send in-band.
>
> Tak więc upewnij się, że to nie klient żąda RFC 2833.
>
>
>
> pozdrawiam serdecznie,
>
> Piotr
>
>
>
> Piotr Gregor
>
> Software Engineer
>
>
>
> M: (+44) 07483 866 525     L: (+44) 01256 597 470     www:
> dataandsignal.com
>
>
>
>
>
>
>
>
>
> On Thu, Nov 26, 2020 at 6:03 PM Adrian Worutowicz <
> adrian.worutowicz at esifrance.net> wrote:
>
> I tried in the SIP profile:  <param name="dtmf-type" value="none"/>
>
>
>
> And in dialplan default.xml / <extension name  I put <action
> application="set" data="dtmf_type=none"/>
>
> and also I tried <action application="bridge" data="{dtmf_type=none} …
>
>
>
> None of those worked.
>
>
>
>
>
>
>
> *De :* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *De
> la part de* Dragos Oancea
> *Envoyé :* jeudi 26 novembre 2020 18:10
> *À :* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Objet :* Re: [Freeswitch-users] Force Inband DTMF Reception
>
>
>
> How about if you set channel variable "dtmf_type" to value "none" ?
>
>
>
> On Thu, Nov 26, 2020 at 5:59 PM Adrian Worutowicz <
> adrian.worutowicz at esifrance.net> wrote:
>
> Hello,
>
>
>
> For incoming calls, I want to receive DTMF inband.
>
>
>
> FS receives INVITE and at certain stage sends 200 OK with a SDP section,
> which always contains :
>
>
>
> *a=rtpmap:101 telephone-event/8000* (what means ‘DTMF in RTP metadata’).
> Indeed the DTMFs come via RTP.
>
>
>
> I tried various FS configuration options to remove that line, without
> success.
>
>
>
> How to do it? How to tell a gateway to send DTMFs inband ?
>
>
>
> In advance thank you very, very much,
>
> Adrian.
>
>
>
>
>
>
>
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201130/12ab23d5/attachment.html>


More information about the FreeSWITCH-users mailing list