Freeswitch not seeing Register requests
I have set up a second FreeSWITCH box on the same LAN. I have v16018 installed on it and have changed nothing. I configured a Polycom phone to register one of its four lines to this second box, but it does not register. When looking at the console, there is no activity. However, there is SIP activity on the box which I have captured via ngrep. It looks like the phone is sending out REGISTER requests but there is no response. The request on the pastebin repeats forever, with only the timestamp varying. Is the problem that there are two FreeSWITCHes? Any suggestions on how I can make it work? On the original and the new box in vars.xml "external_sip_ip=stun:stun.freeswitch.org" On the original box in vars.xml "external_sip_port=5090" but in the new it is 5080. Do I need to hardcode the external_sip_ip addresses in both boxes? http://pastebin.freeswitch.org/11600 Thanks Lars
On Tue, Dec 22, 2009 at 10:50 AM, Larry Marshall <lcm@marshap.com> wrote:
I have set up a second FreeSWITCH box on the same LAN. I have v16018 installed on it and have changed nothing.
I configured a Polycom phone to register one of its four lines to this second box, but it does not register. When looking at the console, there is no activity. However, there is SIP activity on the box which I have captured via ngrep. It looks like the phone is sending out REGISTER requests but there is no response. The request on the pastebin repeats forever, with only the timestamp varying.
On the new box do "sofia status" - does the internal profile exist?
Is the problem that there are two FreeSWITCHes? Any suggestions on how I can make it work?
On the original and the new box in vars.xml "external_sip_ip=stun: stun.freeswitch.org"
On the original box in vars.xml "external_sip_port=5090" but in the new it is 5080.
Do I need to hardcode the external_sip_ip addresses in both boxes?
http://pastebin.freeswitch.org/11600
Thanks Lars
Yes, the internal profile exists. Name Type Data State ============================================================================ ===================== internal profile sip:mod_sofia@192.168.10.25:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) external profile sip:mod_sofia@192.168.10.25:5080 RUNNING (0) example.com gateway sip:joeuser@example.com NOREG 192.168.10.25 alias internal ALIASED ============================================================================ ===================== 3 profiles 1 alias From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Tuesday, December 22, 2009 11:15 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch not seeing Register requests On Tue, Dec 22, 2009 at 10:50 AM, Larry Marshall <lcm@marshap.com> wrote: I have set up a second FreeSWITCH box on the same LAN. I have v16018 installed on it and have changed nothing. I configured a Polycom phone to register one of its four lines to this second box, but it does not register. When looking at the console, there is no activity. However, there is SIP activity on the box which I have captured via ngrep. It looks like the phone is sending out REGISTER requests but there is no response. The request on the pastebin repeats forever, with only the timestamp varying. On the new box do "sofia status" - does the internal profile exist? Is the problem that there are two FreeSWITCHes? Any suggestions on how I can make it work? On the original and the new box in vars.xml "external_sip_ip=stun:stun.freeswitch.org" On the original box in vars.xml "external_sip_port=5090" but in the new it is 5080. Do I need to hardcode the external_sip_ip addresses in both boxes? http://pastebin.freeswitch.org/11600 Thanks Lars
On Tue, Dec 22, 2009 at 11:46 AM, Lars Zeb <larclap@yahoo.com> wrote:
Yes, the internal profile exists.
Name Type Data State
=================================================================================================
internal profile sip:mod_sofia@192.168.10.25:5060 RUNNING (0)
internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
external profile sip:mod_sofia@192.168.10.25:5080 RUNNING (0)
example.com gateway sip:joeuser@example.com<sip%3Ajoeuser@example.com> NOREG
192.168.10.25 alias internal ALIASED
=================================================================================================
3 profiles 1 alias
I would do a sanity check at this point: put this box and one phone on a completely separate network with nothing else and see what happens. -MC
If your seeing the trafic in ngrep bit not in sip trace in Sofia when enabled, your firewall is blocking the traffic Mike On Dec 22, 2009, at 5:20 PM, Michael Collins <msc@freeswitch.org> wrote:
On Tue, Dec 22, 2009 at 11:46 AM, Lars Zeb <larclap@yahoo.com> wrote: Yes, the internal profile exists.
Name Type Data State
=== === === === === === === === === ======================================================================
internal profile sip:mod_sofia@192.168.10.25:5060 RUNNING (0)
internal-ipv6 profile sip:mod_sofia@[:: 1]:5060 RUNNING (0)
external profile sip:mod_sofia@192.168.10.25:5080 RUNNING (0)
example.com gateway sip:joeuser@example.com NOREG
192.168.10.25 alias internal ALIASED
=== === === === === === === === === ======================================================================
3 profiles 1 alias
I would do a sanity check at this point: put this box and one phone on a completely separate network with nothing else and see what happens. -MC _______________________________________________ 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
Mike, You were right. I turned iptables off and the phone registered. Thanks so much, Lars From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Tuesday, December 22, 2009 8:39 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch not seeing Register requests If your seeing the trafic in ngrep bit not in sip trace in Sofia when enabled, your firewall is blocking the traffic Mike On Dec 22, 2009, at 5:20 PM, Michael Collins <msc@freeswitch.org> wrote: On Tue, Dec 22, 2009 at 11:46 AM, Lars Zeb <larclap@yahoo.com> wrote: Yes, the internal profile exists. Name Type Data State ============================================================================ ===================== internal profile sip:mod_sofia@192.168.10.25:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) external profile sip:mod_sofia@192.168.10.25:5080 RUNNING (0) example.com gateway sip:joeuser@example.com <mailto:sip%3Ajoeuser@example.com> NOREG 192.168.10.25 alias internal ALIASED ============================================================================ ===================== 3 profiles 1 alias I would do a sanity check at this point: put this box and one phone on a completely separate network with nothing else and see what happens. -MC _______________________________________________ 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
participants (4)
-
Larry Marshall
-
Lars Zeb
-
Michael Collins
-
Michael Jerris