[Freeswitch-users] FS stopped working when NIC connection bounced.
Richard Lamkin
Richard.Lamkin at mettoni.com
Tue Mar 10 03:26:22 PDT 2009
Hi All,
FS stopped working when NIC connection bounced.
Q1- Has anyone an explanation of what happened ?
Q2 - Is there a way to configure FS not to flip to another IP on a lost
network connection.
Q3 - Should an IP changed event be logged at a higher level e.g.
[CRITICAL] ?
NIC2 [172.22.240.156] lost connection to LAN then Freeswitch flipped to
NIC1[192.168.1.1]. Then NIC2 restored connection and Freeswitch flipped
back to NIC2. When it flipped back no SIP connections were restored.
All PBX phones lost registration and my gateways to remote switches did
not recover. FS is running but not responding to CLI or SIP. There is
nothing logged in the Windows event viewer at the time of the incident.
Sorry but I was not running Wireshark when this happened.
========== Log extract ========
2009-03-09 21:00:21 [INFO] mod_sofia.c:2785 general_event_handler() IP
change detected [172.22.240.156]->[192.168.1.1] []->[]
2009-03-09 21:00:21 [DEBUG] sofia.c:848 sofia_profile_thread_run() Write
lock external
2009-03-09 21:00:21 [NOTICE] sofia.c:857 sofia_profile_thread_run()
Waiting for worker thread
2009-03-09 21:00:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]
2009-03-09 21:00:21 [INFO] switch_time.c:656 switch_load_timezones()
Timezone reloaded 530 definitions
2009-03-09 21:00:21 [DEBUG] sofia.c:848 sofia_profile_thread_run() Write
lock internal
2009-03-09 21:00:21 [NOTICE] sofia.c:857 sofia_profile_thread_run()
Waiting for worker thread
2009-03-09 21:11:21 [INFO] mod_sofia.c:2785 general_event_handler() IP
change detected [192.168.1.1]->[172.22.240.156] []->[]
2009-03-09 21:11:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]
2009-03-09 21:11:21 [INFO] switch_time.c:656 switch_load_timezones()
Timezone reloaded 530 definitions
There were no more logged events after 2009-03-09 21:11:21. The log file
was checked at 2009-03-10 08:50 . All phones had lost registration
permanently
I tried the CLI with "sofia status" this failed to return anything and
the CLI was no longer responsive.
I did a CTR-C just to see what was alive [ VS2008 trapped the break and
I selected continue]
2009-03-10 08:58:25 [WARNING] switch_scheduler.c:114 task_thread_loop()
Task was executed late by 4 seconds 1 heartbeat (core)
Still no CLI.
I the killed the FS, restarted and it worked as normal
====
Background; I'm testing Freeswitch on Windows XP with Release 1.03 from
the source release tar ball, running in VS2008 debug mode.
The PC has two NIC's
1 - 192.168.1.1 static
2 - 172.22.240.156 DHCP
I'm using Nortel switches CS1K and CS2K for my upstream gateways and
Linksys SPA942 for PBX clients.
I'm only using SIP <-> SIP and all sip connections are via
172.22.240.156, There are no SIP devices on 192.168.1.1.
It is unlikely the event was caused by a DHCP lease renew.
DHCP lease details for 172.22.240.156.
Lease Obtained. . . . . . . . . . : 09 March 2009 15:27:28
Lease Expires . . . . . . . . . . : 17 March 2009 15:27:28
===
Regards
Richard Lamkin
PS: I am a new to FS and I am very enthusiastic about it potential.
*************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. http://www.mettoni.com
Datapulse Ltd (part of the Mettoni Group)
Registered in England and Wales: 4485978
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/92ad4c3f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list