Re: Hard coded telephony-event/8000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe these two links can be interesting for you:
https://bugs.chromium.org/p/webrtc/issues/detail?id=2795
https://groups.google.com/forum/#%21msg/discuss-webrtc/LntxAkr2H_U/0vVKU3Th_HcJ


We discussed this last year but later decided to use SIP INFO for dtmf instead so I left it without further action.

IIRC the proper way is to offer telephone-event for all frequencies. I found some leftover code that you probably can use after minor modifications if you wish:
https://gist.github.com/johanlantz/7e405581792c6ac6ef287a80661b4b45


BR

Johan



On 25/04/2017, 17:34, "pjsip on behalf of Oren Barash" <pjsip-bounces@xxxxxxxxxxxxxxx on behalf of oren.elbitsystems@xxxxxxxxx> wrote:

>Hello,
>
>I am trying to integrate AMR-WB/16000 into my project.
>
>When an incoming INVITE contains 8000 and 16000 codecs rtpmaps (e.g. PCMU/8000 & AMR-WB/16000)
>it will also contains two telephone-event rtpmaps for 8000 and 16000.
>
>The behavior I get is that PjSIP will always answer with telephone-event/8000.
>After some digging in the code it looks hard coded in “endpoint.c” (pjmedia).
>
>Is there a way to change the above behaviour ?
>
>Thanks,
>Oren
>_______________________________________________
>Visit our blog: http://blog.pjsip.org
>
>pjsip mailing list
>pjsip@xxxxxxxxxxxxxxx
>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux