[Freeswitch-users] Transcoding G729 to PCMA fails

Ítalo Rossi italo at freeswitch.org
Fri Feb 3 18:47:43 MSK 2017


You need to match codecs on this leg.

Take a look at the sip trace compare your invite and the 200 ok from the
other side
Em sex, 3 de fev de 2017 às 12:34, Igor Potjevlesch <
igor.potjevlesch at gmail.com> escreveu:

> freeswitch at internal> g729_info
>
> G.729A license available => 4
>
> G.729A license allocated => 0
>
>
>
> freeswitch at internal>
>
>
>
> cat /usr/local/freeswitch/conf/vars.xml
>
> […]
>
>         <X-PRE-PROCESS cmd="set"
> data="media_mix_inbound_outbound_codecs=true"/>
>
> […]
>
>
>
> Everything looks good.
>
>
>
> Interesting logs?? :
>
>
>
> eae53f48-ea25-11e6-bfe9-83829a4c1ffe 2017-02-03 16:32:09.004855 [DEBUG]
> switch_core_media.c:4153 Audio Codec Compare
> [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
>
> eae53f48-ea25-11e6-bfe9-83829a4c1ffe 2017-02-03 16:32:09.004855 [DEBUG]
> switch_core_media.c:4069 Set telephone-event payload to 101 at 8000
>
> eae53f48-ea25-11e6-bfe9-83829a4c1ffe 2017-02-03 16:32:09.004855 [DEBUG]
> switch_core_media.c:4473 sofia/out/<MYNUM>@<MYIP> Set 2833 dtmf send
> payload to 101 recv payload to 101
>
> eae53f48-ea25-11e6-bfe9-83829a4c1ffe 2017-02-03 16:32:09.004855 [ERR]
> mod_sofia.c:2299 CODEC NEGOTIATION ERROR.  SDP:
>
>
>
> Regards,
>
>
>
> Igor.
>
>
>
> *De :* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *De la part de* Ítalo Rossi
> *Envoyé :* vendredi 3 février 2017 16:09
> *À :* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Objet :* Re: [Freeswitch-users] Transcoding G729 to PCMA fails
>
>
>
> What g729_info says?
>
> Also make sure you have media_mix_inbound_outbound_codecs set to true on
> your vars.xml
>
> Em sex, 3 de fev de 2017 às 05:53, Igor Potjevlesch <
> igor.potjevlesch at gmail.com> escreveu:
>
> Hello,
>
>
>
> I don't figure out why I can't make my calls transcoded from PCMA to G729.
>
>
>
> Here is the scenario: I send the call to external interface with G729. The
> call is properly sent to the leg B with PCMA. When the call is pick up by
> leg B, FS sends 488 to leg A after 200K/ACK with leg A.
>
>
>
> The module mod_com_g729 is properly loaded and has channels available.
> Thanks for your advice to diagnose this.
>
>
>
> Regards,
>
>
>
> Igor.
>
>
> ------------------------------
>
> [image: Avast logo]
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
>
>
> ------------------------------
> [image: Avast logo]
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170203/fe3224de/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list