Hi All, (Git head build last week on centos 5.n) This is a new one for me. Calls IN to the new customer with Cisco phones behind NAT are working, but not outbound! I have not been to the site yet. I am told that they can call out once or twice then have to reboot the phone to dial out. Dialing in continues to work! one person says the phone says "Call merged" another says it say "Request merged" on the phone display! I did see in the logs, that when it works, we get: 2013-02-12 11:09:26.383576 [NOTICE] switch_channel.c:968 New Channel sofia/external/105@<some.domain.com> [51884b2d-6aa2-47fe-b687-8604a4e39a7a] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:415 (sofia/external/105@<some.domain.com>) Running State Change CS_NEW 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:433 (sofia/external/105@<some.domain.com>) State NEW 2013-02-12 11:09:26.413581 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.413581 [DEBUG] sofia.c:1750 detaching session 51884b2d-6aa2-47fe-b687-8604a4e39a7a 2013-02-12 11:09:26.413581 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [3014040914@<some.domain.com>] from ip <phones router ip> 2013-02-12 11:09:26.493574 [DEBUG] sofia.c:1842 Re-attaching to session 51884b2d-6aa2-47fe-b687-8604a4e39a7a And when it fails: 2013-02-12 13:32:26.363343 [NOTICE] switch_channel.c:968 New Channel sofia/external/220@<some.domain.com> [91e9eb64-253c-4604-bdfa-4dd18baae18d] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:415 (sofia/external/220@<some.domain.com>) Running State Change CS_NEW 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:433 (sofia/external/220@<some.domain.com>) State NEW 2013-02-12 13:32:26.383344 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.383344 [DEBUG] sofia.c:1750 detaching session 91e9eb64-253c-4604-bdfa-4dd18baae18d 2013-02-12 13:32:26.383344 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [4104934408@<some.domain.com>] from ip <phones router ip>2 2013-02-12 13:32:36.363085 [WARNING] switch_core_state_machine.c:514 91e9eb64-253c-4604-bdfa-4dd18baae18d sofia/external/220@<some.domain.com> Abandoned 2013-02-12 13:32:36.363085 [DEBUG] switch_channel.c:2994 (sofia/external/220@<some.domain.com>) Callstate Change DOWN -> HANGUP Can anyone shed light on what's happening "at that particular juncture" and how I may go about debugging it? I was thinking FS was not finding a connection through NAT to phone, but then why do incoming calls work? Thanks in advance, Sean
Sounds like a possible NAT issue... But the only way to know that is look at a sip trace and see whats going on that way and maybe even looking from the phones perspective On 2/12/13 2:44 PM, "Sean Devoy" <sdevoy@bizfocused.com> wrote:
Hi All,
(Git head build last week on centos 5.n)
This is a new one for me. Calls IN to the new customer with Cisco phones behind NAT are working, but not outbound!
I have not been to the site yet. I am told that they can call out once or twice then have to reboot the phone to dial out. Dialing in continues to work! one person says the phone says ³Call merged² another says it say ³Request merged² on the phone display!
I did see in the logs, that when it works, we get: 2013-02-12 11:09:26.383576 [NOTICE] switch_channel.c:968 New Channel sofia/external/105@<some.domain.com> [51884b2d-6aa2-47fe-b687-8604a4e39a7a] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:415 (sofia/external/105@<some.domain.com>) Running State Change CS_NEW 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:433 (sofia/external/105@<some.domain.com>) State NEW 2013-02-12 11:09:26.413581 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.413581 [DEBUG] sofia.c:1750 detaching session 51884b2d-6aa2-47fe-b687-8604a4e39a7a 2013-02-12 11:09:26.413581 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [3014040914@<some.domain.com>] from ip <phones router ip> 2013-02-12 11:09:26.493574 [DEBUG] sofia.c:1842 Re-attaching to session 51884b2d-6aa2-47fe-b687-8604a4e39a7a
And when it fails: 2013-02-12 13:32:26.363343 [NOTICE] switch_channel.c:968 New Channel sofia/external/220@<some.domain.com> [91e9eb64-253c-4604-bdfa-4dd18baae18d] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:415 (sofia/external/220@<some.domain.com>) Running State Change CS_NEW 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:433 (sofia/external/220@<some.domain.com>) State NEW 2013-02-12 13:32:26.383344 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.383344 [DEBUG] sofia.c:1750 detaching session 91e9eb64-253c-4604-bdfa-4dd18baae18d 2013-02-12 13:32:26.383344 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [4104934408@<some.domain.com>] from ip <phones router ip>2 2013-02-12 13:32:36.363085 [WARNING] switch_core_state_machine.c:514 91e9eb64-253c-4604-bdfa-4dd18baae18d sofia/external/220@<some.domain.com> Abandoned 2013-02-12 13:32:36.363085 [DEBUG] switch_channel.c:2994 (sofia/external/220@<some.domain.com>) Callstate Change DOWN -> HANGUP
Can anyone shed light on what¹s happening ³at that particular juncture² and how I may go about debugging it?
I was thinking FS was not finding a connection through NAT to phone, but then why do incoming calls work?
Thanks in advance, Sean
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Thanks Ken, I captured a siptrace and started pocking around. Then I got logged into the local lan (logmein). The cisco router has multiple local ip addresses I can login into - odd. Then I noticed the Cisco (which is in Gateway mode) has a WAN address of 10.1.10.10!!! I poked around and found the Comcast Business Router on the other side of the Cisco. Yippee DOUBLE NAT. I chose to just say "NO." Thanks for the answer. Sean From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, February 12, 2013 3:58 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] new site, cant call OUT! Sounds like a possible NAT issue... But the only way to know that is look at a sip trace and see whats going on that way and maybe even looking from the phones perspective On 2/12/13 2:44 PM, "Sean Devoy" <sdevoy@bizfocused.com> wrote: Hi All, (Git head build last week on centos 5.n) This is a new one for me. Calls IN to the new customer with Cisco phones behind NAT are working, but not outbound! I have not been to the site yet. I am told that they can call out once or twice then have to reboot the phone to dial out. Dialing in continues to work! one person says the phone says "Call merged" another says it say "Request merged" on the phone display! I did see in the logs, that when it works, we get: 2013-02-12 11:09:26.383576 [NOTICE] switch_channel.c:968 New Channel sofia/external/105@<some.domain.com> [51884b2d-6aa2-47fe-b687-8604a4e39a7a] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:415 (sofia/external/105@<some.domain.com>) Running State Change CS_NEW 2013-02-12 11:09:26.383576 [DEBUG] switch_core_state_machine.c:433 (sofia/external/105@<some.domain.com>) State NEW 2013-02-12 11:09:26.413581 [DEBUG] switch_core_session.c:975 Send signal sofia/external/105@<some.domain.com> [BREAK] 2013-02-12 11:09:26.413581 [DEBUG] sofia.c:1750 detaching session 51884b2d-6aa2-47fe-b687-8604a4e39a7a 2013-02-12 11:09:26.413581 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [3014040914@<some.domain.com>] from ip <phones router ip> 2013-02-12 11:09:26.493574 [DEBUG] sofia.c:1842 Re-attaching to session 51884b2d-6aa2-47fe-b687-8604a4e39a7a And when it fails: 2013-02-12 13:32:26.363343 [NOTICE] switch_channel.c:968 New Channel sofia/external/220@<some.domain.com> [91e9eb64-253c-4604-bdfa-4dd18baae18d] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:415 (sofia/external/220@<some.domain.com>) Running State Change CS_NEW 2013-02-12 13:32:26.363343 [DEBUG] switch_core_state_machine.c:433 (sofia/external/220@<some.domain.com>) State NEW 2013-02-12 13:32:26.383344 [DEBUG] switch_core_session.c:975 Send signal sofia/external/220@<some.domain.com> [BREAK] 2013-02-12 13:32:26.383344 [DEBUG] sofia.c:1750 detaching session 91e9eb64-253c-4604-bdfa-4dd18baae18d 2013-02-12 13:32:26.383344 [WARNING] sofia_reg.c:1502 SIP auth challenge (INVITE) on sofia profile 'external' for [4104934408@<some.domain.com>] from ip <phones router ip>2 2013-02-12 13:32:36.363085 [WARNING] switch_core_state_machine.c:514 91e9eb64-253c-4604-bdfa-4dd18baae18d sofia/external/220@<some.domain.com> Abandoned 2013-02-12 13:32:36.363085 [DEBUG] switch_channel.c:2994 (sofia/external/220@<some.domain.com>) Callstate Change DOWN -> HANGUP Can anyone shed light on what's happening "at that particular juncture" and how I may go about debugging it? I was thinking FS was not finding a connection through NAT to phone, but then why do incoming calls work? Thanks in advance, Sean _____ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
On Tue, Feb 12, 2013 at 5:19 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Then I noticed the Cisco (which is in Gateway mode) has a WAN address of 10.1.10.10!!! I poked around and found the Comcast Business Router on the other side of the Cisco. Yippee DOUBLE NAT. I chose to just say “NO.”
We just got Comcast business class here. We have static addresses assigned to our account, but the Comcast router/modem does both NAT and regular routing at the same time. It's DHCP server will serve addresses from 10.1.10.10 to 10.1.10.199. That's the Comcast fail safe - if you "forget" to configure your interface to one of the static addresses they give you, and leave it on DHCP, then it will still work. (At least until you try to use VoIP!) -- Steve
When it fails the phone is not getting the 407 triggering it to re-register with the auth info. The abandoned message is when it times out waiting for the 2nd INVITE. Try tracing it from where the phone is. On Tue, Feb 26, 2013 at 12:06 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
On Tue, Feb 12, 2013 at 5:19 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Then I noticed the Cisco (which is in Gateway mode) has a WAN address of 10.1.10.10!!! I poked around and found the Comcast Business Router on the other side of the Cisco. Yippee DOUBLE NAT. I chose to just say “NO.”
We just got Comcast business class here. We have static addresses assigned to our account, but the Comcast router/modem does both NAT and regular routing at the same time. It's DHCP server will serve addresses from 10.1.10.10 to 10.1.10.199. That's the Comcast fail safe - if you "forget" to configure your interface to one of the static addresses they give you, and leave it on DHCP, then it will still work. (At least until you try to use VoIP!)
-- Steve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (4)
-
Anthony Minessale
-
Ken Rice
-
Sean Devoy
-
Steven Schoch