Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] external users -> gateway *help please*


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
edwardlobo at gmail.com
Guest





PostPosted: Thu Jan 08, 2009 11:42 am    Post subject: [Freeswitch-users] external users -> gateway *help pleas Reply with quote

I have set up an external phone per this example
http://wiki.freeswitch.org/wiki/Example_Offsite_phones
http://wiki.freeswitch.org/wiki/Example_Offsite_phones

I have set up a sip gateway that works with internal phones but does not
work when dialed from external phones.

What am I missing. I would be very appreciative of any help as I have been
struggling with this for the past 2 days and I have searched a lot on the
forum and www but to no avail. I think this is not a NAT or firewall issue
as I can call to internal phones and listen to voice mails on this phone. I
have pasted the log with f8 below:


2009-01-08 12:42:16 [NOTICE] switch_channel.c:565 switch_channel_set_name()
New Channel sofia/doublenat/2001@89.99.119.159:5090
[c8069e9a-dd81-11dd-84ff-d70bc5a4d2b0]
2009-01-08 12:42:16 [DEBUG] sofia.c:4311 sofia_handle_sip_i_invite() Setting
NAT mode based on via received
2009-01-08 12:42:16 [DEBUG] sofia.c:2542 sofia_handle_sip_i_state() Channel
sofia/doublenat/2001@89.99.119.159:5090 entering state [received]
2009-01-08 12:42:16 [DEBUG] sofia.c:2546 sofia_handle_sip_i_state() Remote
SDP:
v=0
o=- 4 2 IN IP4 80.97.216.202
s=CounterPath X-Lite 3.0
c=IN IP4 80.97.216.202
t=0 0
m=audio 32930 RTP/AVP 107 119 100 106 0 105 98 8 101
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 2 : lXwDfm0K ICpugw02 10.0.0.56 32930
a=alt:2 1 : J1ZGgcJa jhlsNlM+ 80.97.216.202 32930

2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32:107:16000]/[PCMU:0:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32:107:16000]/[PCMA:8:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32:107:16000]/[GSM:3:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32-FEC:119:16000]/[PCMU:0:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32-FEC:119:16000]/[PCMA:8:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [BV32-FEC:119:16000]/[GSM:3:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX:100:16000]/[PCMU:0:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX:100:16000]/[PCMA:8:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX:100:16000]/[GSM:3:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX-FEC:106:16000]/[PCMU:0:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX-FEC:106:16000]/[PCMA:8:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [SPEEX-FEC:106:16000]/[GSM:3:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2509 sofia_glue_negotiate_sdp()
Audio Codec Compare [PCMU:0:8000]/[PCMU:0:8000]
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:1670 sofia_glue_tech_set_codec()
Set Codec sofia/doublenat/2001@89.99.119.159:5090 PCMU/8000 20 ms 160
samples
2009-01-08 12:42:16 [DEBUG] sofia_glue.c:2473 sofia_glue_negotiate_sdp() Set
2833 dtmf payload to 101
2009-01-08 12:42:16 [DEBUG] sofia.c:2698 sofia_handle_sip_i_state()
(sofia/doublenat/2001@89.99.119.159:5090) State Change CS_NEW -> CS_INIT
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:807
switch_core_session_signal_state_change() Send signal
sofia/doublenat/2001@89.99.119.159:5090 [BREAK]
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:379
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) Running
State Change CS_INIT
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:444
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
INIT
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:83 sofia_on_init()
sofia/doublenat/2001@89.99.119.159:5090 SOFIA INIT
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:111 sofia_on_init()
(sofia/doublenat/2001@89.99.119.159:5090) State Change CS_INIT -> CS_ROUTING
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:807
switch_core_session_signal_state_change() Send signal
sofia/doublenat/2001@89.99.119.159:5090 [BREAK]
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:444
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
INIT going to sleep
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:379
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) Running
State Change CS_ROUTING
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:447
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
ROUTING
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:130 sofia_on_routing()
sofia/doublenat/2001@89.99.119.159:5090 SOFIA ROUTING
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:64
switch_core_standard_on_routing() sofia/doublenat/2001@89.99.119.159:5090
Standard ROUTING
2009-01-08 12:42:16 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing
2001->00447825299999 in context public
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[public_extensions] destination_number(00447825299999) =~ /^(20[01][0-9])$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[unloop] true() =~ /^true$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[call_debug] false() =~ /^true$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[set_domain] ${domain_name}() =~ /^$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[set_domain] source(mod_sofia) =~ /mod_sofia/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[set_domain] ${sip_req_params}() =~ /domain_name=([A-Z-a-z0-9.]+)/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[public_extensions] destination_number(00447825299999) =~ /^(10[01][0-9])$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[public_did] destination_number(00447825299999) =~ /^(5551212)$/
2009-01-08 12:42:16 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:100
switch_core_standard_on_routing() (sofia/doublenat/2001@89.99.119.159:5090)
State Change CS_ROUTING -> CS_EXECUTE
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:807
switch_core_session_signal_state_change() Send signal
sofia/doublenat/2001@89.99.119.159:5090 [BREAK]
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:447
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
ROUTING going to sleep
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:379
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) Running
State Change CS_EXECUTE
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:454
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
EXECUTE
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/doublenat/2001@89.99.119.159:5090 SOFIA EXECUTE
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:137
switch_core_standard_on_execute() sofia/doublenat/2001@89.99.119.159:5090
Standard EXECUTE
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:152
switch_core_standard_on_execute() sofia/doublenat/2001@89.99.119.159:5090
Execute set(outside_call=true)
2009-01-08 12:42:16 [DEBUG] mod_dptools.c:699 set_function()
sofia/doublenat/2001@89.99.119.159:5090 SET [outside_call]=[true]
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:152
switch_core_standard_on_execute() sofia/doublenat/2001@89.99.119.159:5090
Execute export(domain_name=${sip_req_host})
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:1254
switch_core_session_execute_application()
sofia/doublenat/2001@89.99.119.159:5090 Expanded String
export(domain_name=89.99.119.159)
2009-01-08 12:42:16 [DEBUG] mod_dptools.c:837 export_function() EXPORT
[domain_name]=[89.99.119.159]
2009-01-08 12:42:16 [NOTICE] switch_core_state_machine.c:168
switch_core_standard_on_execute() Hangup
sofia/doublenat/2001@89.99.119.159:5090 [CS_EXECUTE] [NORMAL_CLEARING]
2009-01-08 12:42:16 [DEBUG] switch_channel.c:1494
switch_channel_perform_hangup() Send signal
sofia/doublenat/2001@89.99.119.159:5090 [KILL]
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:807
switch_core_session_signal_state_change() Send signal
sofia/doublenat/2001@89.99.119.159:5090 [BREAK]
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:454
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
EXECUTE going to sleep
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:379
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) Running
State Change CS_HANGUP
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:410
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
HANGUP
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:287 sofia_on_hangup() Channel
sofia/doublenat/2001@89.99.119.159:5090 hanging up, cause: NORMAL_CLEARING
2009-01-08 12:42:16 [DEBUG] mod_sofia.c:361 sofia_on_hangup() Responding to
INVITE with: 480
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:46
switch_core_standard_on_hangup() sofia/doublenat/2001@89.99.119.159:5090
Standard HANGUP, cause: NORMAL_CLEARING
2009-01-08 12:42:16 [DEBUG] switch_core_state_machine.c:410
switch_core_session_run() (sofia/doublenat/2001@89.99.119.159:5090) State
HANGUP going to sleep
2009-01-08 12:42:16 [DEBUG] switch_core_session.c:939
switch_core_session_thread() Session 3
(sofia/doublenat/2001@89.99.119.159:5090) Locked, Waiting on external
entities
2009-01-08 12:42:16 [NOTICE] switch_core_session.c:957
switch_core_session_thread() Session 3
(sofia/doublenat/2001@89.99.119.159:5090) Ended
2009-01-08 12:42:16 [NOTICE] switch_core_session.c:959
switch_core_session_thread() Close Channel
sofia/doublenat/2001@89.99.119.159:5090 [CS_HANGUP]

--
View this message in context: http://www.nabble.com/external-users--%3E-gateway-*help-please*-tp21351221p21351221.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services