[Freeswitch-users] Early media + T38 in SDP = Codec negotiation error
animal_alpha
3la9l at mail.ru
Wed Aug 16 05:57:09 UTC 2017
Hello everybody. Have some problem with fs.
I've got codec negotiation error when i try use early_media and sdp has T38
pre_answer()
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4504 Audio Codec
Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4504 Audio Codec
Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:101:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:101:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:101:8000:20:0:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:101:8000:20:0:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:97:8000:30:0:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:97:8000:30:0:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:98:8000:30:0:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [iLBC:98:8000:30:0:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [gsm:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [gsm:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [gsm:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [gsm:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [speex:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [speex:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [speex:99:8000:20:0:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [speex:99:8000:20:0:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4504 Audio Codec
Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:100:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:100:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:100:8000:20:0:1]/[G729:18:8000:20:8000:1]
2017-08-16 08:50:36.337346 [DEBUG] switch_core_media.c:4449 Audio Codec
Compare [G729:100:8000:20:0:1]/[G722:9:8000:20:64000:1]
2017-08-16 08:25:36.105410 [DEBUG] switch_core_media.c:4365 Set
telephone-event payload to 96 at 8000
2017-08-16 08:25:36.105410 [DEBUG] switch_core_media.c:3061 Set Codec
sofia/external/4995196123 at 10.34.111.140:5061 PCMA/8000 20 ms 160 samples
64000 bits 1 channels
2017-08-16 08:25:36.105410 [DEBUG] switch_core_codec.c:111
sofia/external/4995196123 at 10.34.111.140:5061 Original read codec set to
PCMA:8
2017-08-16 08:25:36.105410 [DEBUG] switch_core_media.c:4708 Set
telephone-event payload to 96 at 8000
2017-08-16 08:25:36.105410 [DEBUG] switch_core_media.c:4767
sofia/external/123 at 10.34.111.140:5061 Set 2833 dtmf send payload to 96 recv
payload to 96
2017-08-16 08:25:36.105410 [DEBUG] switch_core_media.c:4028
sofia/external/123 at 10.34.111.140:5061 T38 REFUSE on request
2017-08-16 08:25:36.105410 [ERR] mod_sofia.c:2343 CODEC NEGOTIATION ERROR.
SDP:
v=0
o=- 1502861170 1502861170 IN IP4 10.34.111.143
s=-
c=IN IP4 10.34.84.100
t=0 0
m=audio 53628 RTP/AVP 8 0 101 97 98 3 99 18 100 96
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 G729/8000
a=fmtp:101 annexb=yes
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=30
a=rtpmap:3 gsm/8000
a=rtpmap:99 speex/8000
a=fmtp:99 mode=3;vbr=off
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:100 G729/8000
a=fmtp:100 annexb=no
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
m=image 41690 udptl t38
a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
my codecs:
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA,PCMU,G729,G722"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,PCMU,G729,G722"/>
Solution: dont use early media (use execute_on_answer=record_session instead
of application=record_session in my case)
Does not help: t38 ignore, late negotiation=false,
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Early-media-T38-in-SDP-Codec-negotiation-error-tp7596350.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
More information about the FreeSWITCH-users
mailing list