[Freeswitch-users] Codec negotiation with g729.
Mansi Gupta
mansig130 at gmail.com
Tue Feb 26 08:14:58 UTC 2019
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/
More information about the FreeSWITCH-users
mailing list