Leg A proposes the following codecs in his INVITE: audio 4010 RTP/AVP 18 101 Leg B generated by FS propose PCMA, as expected, in the INVITE: audio 20428 RTP/AVP 8 101 Leg B got 183 with SDP: audio 41666 RTP/AVP 8 101 FS sends CANCEL to Leg B and 488 to the Leg A. The only difference between the INVITE sent to LEG B and his answer into 183, it's the fmtp:101 0-16 versus fmtp:101 0-15. Regards, Igor. De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Ítalo Rossi Envoyé : vendredi 3 février 2017 16:48 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Objet : Re: [Freeswitch-users] Transcoding G729 to PCMA fails 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@gmail.com <mailto:igor.potjevlesch@gmail.com> > escreveu: freeswitch@internal> g729_info G.729A license available => 4 G.729A license allocated => 0 freeswitch@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@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> ] De la part de Ítalo Rossi Envoyé : vendredi 3 février 2017 16:09 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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. _____ <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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _____ <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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus