[Freeswitch-users] Codec negotiation with g729.

Sergey Safarov s.safarov at gmail.com
Tue Feb 26 10:56:31 UTC 2019


Try enable additional logs. This may help

sofia loglevel all 9
sofia global siptrace on



вт, 26 февр. 2019 г. в 12:59, Mansi Gupta <mansig130 at gmail.com>:

> Hello!
> I am trying to make a call using codec g729,but repeatedly i was getting
> the
> error of codec negotiation.However,i have resolved it. Although it offers a
> list of codec with different payloads for the same codec but it does not
> match with other audio codec.I have to match the audio codec g729 with the
> other one.
>
> Here are few relevant lines of the log:
>
> Local SDP:
> v=0
> o=FreeSWITCH 1551144396 1551144397 IN IP4 192.168.1.123
> s=FreeSWITCH
> c=IN IP4 192.168.1.123
> t=0 0
> m=audio 22412 RTP/AVP 0 18 102 9 8 101 104
> a=rtpmap:0 PCMU/8000
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:102 opus/48000/2
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4504 Audio Codec
> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [GSM:3:8000:20:13200:1]/[opus:116:48000:20:0:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [speex:110:8000:20:0:1]/[opus:116:48000:20:0:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [speex:110:8000:20:0:1]/[G722:9:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[opus:116:48000:20:0:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4504 Audio Codec
> Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [iLBC:98:8000:30:0:1]/[opus:116:48000:20:0:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [iLBC:98:8000:30:0:1]/[G722:9:8000:20:64000:1]
> 2019-02-26 02:40:10.077544 [DEBUG] switch_core_media.c:4449 Audio Codec
> Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
>
>
> Can anyone please point,how to resolve it?
> Thanks.
>
>
>
> --
> Sent from: http://freeswitch-users.2379917.n2.nabble.com/
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190226/ddd70ab0/attachment.html>


More information about the FreeSWITCH-users mailing list