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
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] De la part de Ítalo Rossi
Envoyé : vendredi 3 février 2017 16:09
À : FreeSWITCH Users Help <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.xmlEm sex, 3 de fev de 2017 às 05:53, Igor Potjevlesch <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.
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
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
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.
www.avast.com
Professional FreeSWITCH Consulting Services:
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org