Hi all,

 

After several day’s working, it seems the inbound call to registered phone works now. However, it seems only works when I am using residential broadband and 3G connection. I am using X-lite to test. It works in residential broadband (behind NAT) and 3G connection (using public address). When I register in my office, both SIP phone and X-lite not work….is it NAT problem? I am using Juniper Netscreen SSG5 as company firewall and ALG SIP enabled. How can I solve?

 

All my FS interfaces are public IP address.

 

2010-07-30 13:47:24.618375 [NOTICE] switch_channel.c:675 New Channel sofia/external/29022420@203.194.134.80 [742059ca-f58d-4396-b9d5-dd5399beb192]

2010-07-30 13:47:24.618375 [DEBUG] sofia.c:4200 Channel sofia/external/29022420@203.194.134.80 entering state [received][100]

2010-07-30 13:47:24.618375 [DEBUG] sofia.c:4211 Remote SDP:

v=0

o=CiscoSystemsSIP-GW-UserAgent 7488 5150 IN IP4 203.194.134.80

s=SIP Call

c=IN IP4 203.194.134.80

t=0 0

m=audio 17044 RTP/AVP 0 19

c=IN IP4 203.194.134.80

a=rtpmap:0 PCMU/8000

a=rtpmap:19 CN/8000

a=ptime:20

 

2010-07-30 13:47:24.618375 [DEBUG] sofia_glue.c:3359 Activate Buggy RFC2833 Mode!

2010-07-30 13:47:24.618375 [DEBUG] sofia_glue.c:3671 Audio Codec Compare [PCMU:0:8000:20]/[G722:9:8000:20]

2010-07-30 13:47:24.618375 [DEBUG] sofia_glue.c:3671 Audio Codec Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/external/29022420@203.194.134.80) Running State Change CS_NEW

2010-07-30 13:47:24.618375 [DEBUG] sofia_glue.c:2376 Set Codec sofia/external/29022420@203.194.134.80 PCMU/8000 20 ms 160 samples

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:320 (sofia/external/29022420@203.194.134.80) State NEW

2010-07-30 13:47:24.618375 [DEBUG] sofia.c:4357 (sofia/external/29022420@203.194.134.80) State Change CS_NEW -> CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/external/29022420@203.194.134.80 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/external/29022420@203.194.134.80) Running State Change CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/external/29022420@203.194.134.80) State INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:83 sofia/external/29022420@203.194.134.80 SOFIA INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:117 (sofia/external/29022420@203.194.134.80) State Change CS_INIT -> CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/external/29022420@203.194.134.80 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/external/29022420@203.194.134.80) State INIT going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/external/29022420@203.194.134.80) Running State Change CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/external/29022420@203.194.134.80) State ROUTING

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:140 sofia/external/29022420@203.194.134.80 SOFIA ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:77 sofia/external/29022420@203.194.134.80 Standard ROUTING

2010-07-30 13:47:24.618375 [INFO] mod_dialplan_xml.c:331 Processing 29022420->31754101 in context public

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->conference_demo] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [conference_demo] destination_number(31754101) =~ /85234720001/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->unloop] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->outside_call] continue=true

Dialplan: sofia/external/29022420@203.194.134.80 Absolute Condition [outside_call]

Dialplan: sofia/external/29022420@203.194.134.80 Action set(outside_call=true)

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->call_debug] continue=true

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->public_extensions] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [public_extensions] destination_number(31754101) =~ /^(10[01][0-9])$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->IVR_demo] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (PASS) [IVR_demo] context(public) =~ /public/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [IVR_demo] destination_number(31754101) =~ /^023128(\d{11})$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->IVR_demo_inbound] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (PASS) [IVR_demo_inbound] context(public) =~ /public/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [IVR_demo_inbound] destination_number(31754101) =~ /29022400/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->inbound01] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [inbound01] destination_number(31754101) =~ /^12081231234$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->NWT_DID_31754101] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (PASS) [NWT_DID_31754101] destination_number(31754101) =~ /31754101/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Action bridge(sofia/internal/31754101%203.194.134.81)

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:119 (sofia/external/29022420@203.194.134.80) State Change CS_ROUTING -> CS_EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/external/29022420@203.194.134.80 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/external/29022420@203.194.134.80) State ROUTING going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/external/29022420@203.194.134.80) Running State Change CS_EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:348 (sofia/external/29022420@203.194.134.80) State EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:233 sofia/external/29022420@203.194.134.80 SOFIA EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:157 sofia/external/29022420@203.194.134.80 Standard EXECUTE

EXECUTE sofia/external/29022420@203.194.134.80 set(outside_call=true)

2010-07-30 13:47:24.618375 [DEBUG] mod_dptools.c:817 sofia/external/29022420@203.194.134.80 SET [outside_call]=[true]

EXECUTE sofia/external/29022420@203.194.134.80 bridge(sofia/internal/31754101%203.194.134.81)

2010-07-30 13:47:24.618375 [NOTICE] switch_channel.c:675 New Channel sofia/internal/31754101 [5f646b3c-d6e4-4755-8b46-ac7971bbc15e]

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:3695 (sofia/internal/31754101) State Change CS_NEW -> CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/31754101) State INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:83 sofia/internal/31754101 SOFIA INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:117 (sofia/internal/31754101) State Change CS_INIT -> CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/31754101) State INIT going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/31754101) State ROUTING

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:140 sofia/internal/31754101 SOFIA ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/31754101) State Change CS_ROUTING -> CS_CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/31754101) State ROUTING going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] sofia.c:4200 Channel sofia/internal/31754101 entering state [calling][0]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:360 (sofia/internal/31754101) State CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:360 (sofia/internal/31754101) State CONSUME_MEDIA going to sleep

emo_inbound] context(public) =~ /public/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [IVR_demo_inbound] destination_number(31754101) =~ /29022400/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->inbound01] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (FAIL) [inbound01] destination_number(31754101) =~ /^12081231234$/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 parsing [public->NWT_DID_31754101] continue=false

Dialplan: sofia/external/29022420@203.194.134.80 Regex (PASS) [NWT_DID_31754101] destination_number(31754101) =~ /31754101/ break=on-false

Dialplan: sofia/external/29022420@203.194.134.80 Action bridge(sofia/internal/31754101%203.194.134.81)

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:119 (sofia/external/29022420@203.194.134.80) State Change CS_ROUTING -> CS_EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/external/29022420@203.194.134.80 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/external/29022420@203.194.134.80) State ROUTING going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/external/29022420@203.194.134.80) Running State Change CS_EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:348 (sofia/external/29022420@203.194.134.80) State EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:233 sofia/external/29022420@203.194.134.80 SOFIA EXECUTE

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:157 sofia/external/29022420@203.194.134.80 Standard EXECUTE

EXECUTE sofia/external/29022420@203.194.134.80 set(outside_call=true)

2010-07-30 13:47:24.618375 [DEBUG] mod_dptools.c:817 sofia/external/29022420@203.194.134.80 SET [outside_call]=[true]

EXECUTE sofia/external/29022420@203.194.134.80 bridge(sofia/internal/31754101%203.194.134.81)

2010-07-30 13:47:24.618375 [NOTICE] switch_channel.c:675 New Channel sofia/internal/31754101 [5f646b3c-d6e4-4755-8b46-ac7971bbc15e]

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:3695 (sofia/internal/31754101) State Change CS_NEW -> CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_INIT

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/31754101) State INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:83 sofia/internal/31754101 SOFIA INIT

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:117 (sofia/internal/31754101) State Change CS_INIT -> CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:338 (sofia/internal/31754101) State INIT going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/31754101) State ROUTING

2010-07-30 13:47:24.618375 [DEBUG] mod_sofia.c:140 sofia/internal/31754101 SOFIA ROUTING

2010-07-30 13:47:24.618375 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/31754101) State Change CS_ROUTING -> CS_CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] switch_core_session.c:1022 Send signal sofia/internal/31754101 [BREAK]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:341 (sofia/internal/31754101) State ROUTING going to sleep

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:314 (sofia/internal/31754101) Running State Change CS_CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] sofia.c:4200 Channel sofia/internal/31754101 entering state [calling][0]

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:360 (sofia/internal/31754101) State CONSUME_MEDIA

2010-07-30 13:47:24.618375 [DEBUG] switch_core_state_machine.c:360 (sofia/internal/31754101) State CONSUME_MEDIA going to sleep

 

Thanks

 

Raymond