[Freeswitch-users] Codec Negotiation: Codec telephone-event:101:8000:20

Mark Campbell-Smith mcampbellsmith at gmail.com
Tue Jan 5 19:36:25 PST 2010


Hi!

If I try to call out on one of my voip providers I get
INCOMPATIBLE_DESTINATION.  Something is going wrong with codec
negotiation:

2010-01-05 18:57:56.845029 [DEBUG] sofia.c:3845 Remote SDP:
v=0
o=Sippy 257534956 1 IN IP4 80.232.37.178
s=-
t=0 0
m=audio 47904 RTP/AVP 2 101 13
c=IN IP4 213.50.90.3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [G721:2:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [G721:2:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [G721:2:8000:20]/[PCMU:0:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [G721:2:8000:20]/[PCMA:8:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3262 Set 2833 dtmf
payload to 101
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [telephone-event:101:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [telephone-event:101:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [telephone-event:101:8000:20]/[PCMU:0:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [telephone-event:101:8000:20]/[PCMA:8:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [CN:13:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [CN:13:8000:20]/[G726-32:2:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [CN:13:8000:20]/[PCMU:0:8000:20]
2010-01-05 18:57:56.845029 [DEBUG] sofia_glue.c:3306 Audio Codec
Compare [CN:13:8000:20]/[PCMA:8:8000:20]
2010-01-05 18:57:56.845029 [NOTICE] sofia.c:3937 Hangup
sofia/external/020555500 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]

According to their website, the codec they us is G711 a-law or G729.
What codecs have name CN and telephone-event?

How do I get these to match?  I assume the format of the debug output
is: Audio Codec compare [Codec Name:Media Format:Media Name:Rate:RTP
Size?]

Thanks




More information about the FreeSWITCH-users mailing list