[Freeswitch-users] FS stopped working when NIC connection bounced.
Anthony Minessale
anthony.minessale at gmail.com
Tue Mar 10 07:23:21 PDT 2009
conf/autoload_configs/sofia.conf.xml
<global_settings>
<param name="log-level" value="0"/>
<!-- <param name="auto-restart" value="false"/> -->
<param name="debug-presence" value="0"/>
</global_settings>
uncomment out the auto-restart.
On Tue, Mar 10, 2009 at 5:26 AM, Richard Lamkin
<Richard.Lamkin at mettoni.com>wrote:
> 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
> *************************************************************************
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at 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/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090310/1e30cebf/attachment-0002.html
More information about the FreeSWITCH-users
mailing list