conf/autoload_configs/sofia.conf.xml<br><br><br> <global_settings><br> <param name="log-level" value="0"/><br> <!-- <param name="auto-restart" value="false"/> --><br>
<param name="debug-presence" value="0"/><br> </global_settings><br><br><br><br>uncomment out the auto-restart.<br><br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 5:26 AM, Richard Lamkin <span dir="ltr"><<a href="mailto:Richard.Lamkin@mettoni.com">Richard.Lamkin@mettoni.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p>Hi All,</p>
<p> </p>
<p>FS stopped working when NIC connection bounced.</p>
<p> </p>
<p>Q1- Has anyone an explanation of what happened ? </p>
<p>Q2 - Is there a way to configure FS not to flip to another
IP on a lost network connection. </p>
<p>Q3 – Should an IP changed event be logged at a
higher level e.g. [CRITICAL] ?</p>
<p> </p>
<p>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.</p>
<p> </p>
<p>========== Log extract ========</p>
<p> </p>
<p>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]
[]->[]</p>
<p>2009-03-09 21:00:21 [DEBUG] sofia.c:848
sofia_profile_thread_run() Write lock external</p>
<p>2009-03-09 21:00:21 [NOTICE] sofia.c:857 sofia_profile_thread_run()
Waiting for worker thread</p>
<p>2009-03-09 21:00:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]</p>
<p>2009-03-09 21:00:21 [INFO] switch_time.c:656
switch_load_timezones() Timezone reloaded 530 definitions</p>
<p>2009-03-09 21:00:21 [DEBUG] sofia.c:848
sofia_profile_thread_run() Write lock internal</p>
<p>2009-03-09 21:00:21 [NOTICE] sofia.c:857
sofia_profile_thread_run() Waiting for worker thread</p>
<p>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]
[]->[]</p>
<p>2009-03-09 21:11:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]</p>
<p>2009-03-09 21:11:21 [INFO] switch_time.c:656
switch_load_timezones() Timezone reloaded 530 definitions</p>
<p> </p>
<p>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 </p>
<p>I tried the CLI with “sofia status” this failed
to return anything and the CLI was no longer responsive. </p>
<p> </p>
<p>I did a CTR-C just to see what was alive [ VS2008 trapped the
break and I selected continue] </p>
<p> </p>
<p>2009-03-10 08:58:25 [WARNING] switch_scheduler.c:114
task_thread_loop() Task was executed late by 4 seconds 1 heartbeat (core)</p>
<p> </p>
<p>Still no CLI.</p>
<p> </p>
<p>I the killed the FS, restarted and it worked as normal</p>
<p> </p>
<p>==== </p>
<p>Background; I’m testing Freeswitch on Windows XP with Release
1.03 from the source release tar ball, running in VS2008 debug mode. </p>
<p> </p>
<p>The PC has two NIC’s </p>
<p>1 - 192.168.1.1 static </p>
<p>2 - 172.22.240.156 DHCP</p>
<p> </p>
<p>I’m using Nortel switches CS1K and CS2K for my upstream
gateways and Linksys SPA942 for PBX clients. </p>
<p> </p>
<p>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. </p>
<p> </p>
<p>It is unlikely the event was caused by a DHCP lease renew. </p>
<p> </p>
<p>DHCP lease details for 172.22.240.156.</p>
<p>Lease Obtained. . . . . . . . . . : 09 March 2009 15:27:28</p>
<p>Lease Expires . . . . . . . . . . : 17 March 2009 15:27:28</p>
<p> </p>
<p>===</p>
<p> </p>
<p>Regards </p>
<p> </p>
<p>Richard Lamkin</p>
<p> </p>
<p>PS: I am a new to FS and I am very enthusiastic about it
potential. </p>
<p> </p>
<p> </p>
</div>
<pre>*************************************************************************
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. <a href="http://www.mettoni.com" target="_blank">http://www.mettoni.com</a>
Datapulse Ltd (part of the Mettoni Group)
Registered in England and Wales: 4485978
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************
</pre></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>