[Freeswitch-users] G729B and mod_com_g729

Dan-Cristian Bogos danb.lists at googlemail.com
Thu Dec 9 20:39:00 MSK 2010


Hey Guys,

When using mod_com_g729 I found out that FreeSWITCH is rejecting G729B
in this form. I know about annexa=no parameter, however have seen
quite some UAs sending it in this form. Any work-around I can make
FreeSWITCH accepting it?

My FreeSWITCH version:
FreeSWITCH version: 1.0.head (git-) checked out somewhere in the
middle of October.
mod_com_g729: fsg729-167-installer

Debug of such call:

2010-12-07 13:56:05.371029 [DEBUG] sofia.c:4559 Channel
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 entering state [received][100]
2010-12-07 13:56:05.371029 [DEBUG] switch_core_state_machine.c:318
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Running State Change CS_NEW
2010-12-07 13:56:05.371029 [DEBUG] sofia.c:4570 Remote SDP:
v=0
o=- 24240 28749 IN IP4 1.2.3.4
s=session
c=IN IP4 1.2.3.4
t=0 0
m=audio 35892 RTP/AVP 18 4 56
a=rtpmap:18 G729B/8000
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3
a=rtpmap:56 telephone-event/8000
a=ptime:30
a=nortpproxy:yes
a=nortpproxy:yes
a=direction:active

2010-12-07 13:56:05.371029 [DEBUG] switch_core_state_machine.c:324
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State NEW
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G729B:18:8000:30:8000]/[PCMU:0:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G723:4:8000:30:6300]/[PCMU:0:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [telephone-event:56:8000:30:0]/[PCMU:0:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4455 Set 2833 dtmf
send/recv payload to 56
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G729B:18:8000:30:8000]/[PCMA:8:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G723:4:8000:30:6300]/[PCMA:8:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [telephone-event:56:8000:30:0]/[PCMA:8:8000:20:64000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4455 Set 2833 dtmf
send/recv payload to 56
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G729B:18:8000:30:8000]/[G729:18:8000:20:8000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [G723:4:8000:30:6300]/[G729:18:8000:20:8000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4351 Audio Codec
Compare [telephone-event:56:8000:30:0]/[G729:18:8000:20:8000]
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4455 Set 2833 dtmf
send/recv payload to 56
2010-12-07 13:56:05.371029 [DEBUG] sofia_glue.c:4455 Set 2833 dtmf
send/recv payload to 56
2010-12-07 13:56:05.371029 [DEBUG] switch_channel.c:2457
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Callstate Change DOWN ->
HANGUP
2010-12-07 13:56:05.371029 [NOTICE] sofia.c:4776 Hangup
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 [CS_NEW]
[INCOMPATIBLE_DESTINATION]
2010-12-07 13:56:05.371029 [DEBUG] switch_channel.c:2473 Send signal
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 [KILL]
2010-12-07 13:56:05.371029 [DEBUG] switch_core_session.c:1057 Send
signal sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 [BREAK]
2010-12-07 13:56:05.371971 [DEBUG] switch_core_state_machine.c:318
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Running State Change
CS_HANGUP
2010-12-07 13:56:05.371971 [DEBUG] switch_core_state_machine.c:539
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State HANGUP
2010-12-07 13:56:05.371971 [DEBUG] mod_sofia.c:456 Channel
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 hanging up, cause:
INCOMPATIBLE_DESTINATION
2010-12-07 13:56:05.371971 [DEBUG] mod_sofia.c:518 Responding to
INVITE with: 488
2010-12-07 13:56:05.371971 [DEBUG] switch_core_state_machine.c:46
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 Standard HANGUP, cause:
INCOMPATIBLE_DESTINATION
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:539
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State HANGUP going to sleep
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:337
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State Change CS_HANGUP ->
CS_REPORTING
2010-12-07 13:56:05.372880 [DEBUG] switch_core_session.c:1057 Send
signal sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 [BREAK]
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:318
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Running State Change
CS_REPORTING
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:599
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State REPORTING
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:53
sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 Standard REPORTING, cause:
INCOMPATIBLE_DESTINATION
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:599
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State REPORTING going to
sleep
2010-12-07 13:56:05.372880 [DEBUG] switch_core_state_machine.c:331
(sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) State Change CS_REPORTING ->
CS_DESTROY
2010-12-07 13:56:05.372880 [DEBUG] switch_core_session.c:1057 Send
signal sofia/Ip-Switch.Net/7809163901 at 2.3.4.5 [BREAK]
2010-12-07 13:56:05.372880 [DEBUG] switch_core_session.c:1224 Session
959 (sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Locked, Waiting on
external entities
2010-12-07 13:56:05.372880 [NOTICE] switch_core_session.c:1242 Session
959 (sofia/Ip-Switch.Net/7809163901 at 2.3.4.5) Ended


Ta in advance for any kind of tip!

DanB



More information about the FreeSWITCH-users mailing list