[Freeswitch-users] Transcoding G729 to PCMA fails
Igor Potjevlesch
igor.potjevlesch at gmail.com
Tue Feb 7 15:50:36 MSK 2017
Hi,
I found a working config with the following profile of my leg A:
<param name="inbound-late-negotiation" value="false"/>
<param name="inbound-codec-negotiation" value="generous"/>
<param name="inbound-codec-prefs" value="G729,PCMA,PCMU,101"/>
With or without <X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=true"/> into vars.xml it works.
Regards,
Igor.
De : freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] De la part de Igor Olhovskiy
Envoyé : mardi 7 février 2017 13:30
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Objet : Re: [Freeswitch-users] Transcoding G729 to PCMA fails
Without knowing your vars.xml, profile settings (if multiple - both) and dialplan - no.
Regards, Igor
On 6 февр. 2017 г., 17:50 +0200, Igor Potjevlesch < <mailto:igor.potjevlesch at gmail.com> igor.potjevlesch at gmail.com>, wrote:
Hello,
Someone would have an idea on this issue?
Regards,
Igor.
De : Igor Potjevlesch [ <mailto:igor.potjevlesch at gmail.com> mailto:igor.potjevlesch at gmail.com]
Envoyé : vendredi 3 février 2017 17:37
À : 'FreeSWITCH Users Help' < <mailto:freeswitch-users at lists.freeswitch.org> freeswitch-users at lists.freeswitch.org>
Objet : RE: [Freeswitch-users] Transcoding G729 to PCMA fails
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 at lists.freeswitch.org <mailto: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:48
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at 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 at gmail.com <mailto: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> [mailto: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 <mailto: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 <mailto: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.
_____
<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 <mailto: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 <mailto: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
_____
<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 <mailto: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 <mailto: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
_____
<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>
_____
<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:
<mailto:consulting at freeswitch.org> consulting at freeswitch.org
<http://www.freeswitchsolutions.com> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
<http://www.freeswitch.org> http://www.freeswitch.org
<http://confluence.freeswitch.org> http://confluence.freeswitch.org
<http://www.cluecon.com> http://www.cluecon.com
FreeSWITCH-users mailing list
<mailto:FreeSWITCH-users at lists.freeswitch.org> FreeSWITCH-users at lists.freeswitch.org
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
<http://www.freeswitch.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170207/48783024/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list