<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi All,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>FS stopped working when NIC connection bounced.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Q1- Has anyone an explanation of what happened ? <o:p></o:p></p>

<p class=MsoNormal>Q2 - Is there a way to configure FS not to flip to another
IP on a lost network connection. <o:p></o:p></p>

<p class=MsoNormal>Q3 &#8211; Should &nbsp;an IP changed event be logged at a
higher level e.g. [CRITICAL] ?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>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.&nbsp; When it flipped back no SIP connections were restored.&nbsp;
All PBX phones lost registration and my gateways to remote switches did not
recover.&nbsp;&nbsp; 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.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>========== Log extract ========<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [INFO] mod_sofia.c:2785
general_event_handler() IP change detected [172.22.240.156]-&gt;[192.168.1.1]
[]-&gt;[]<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [DEBUG] sofia.c:848
sofia_profile_thread_run() Write lock external<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [NOTICE] sofia.c:857 sofia_profile_thread_run()
Waiting for worker thread<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [INFO] switch_time.c:656
switch_load_timezones() Timezone reloaded 530 definitions<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [DEBUG] sofia.c:848
sofia_profile_thread_run() Write lock internal<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:00:21 [NOTICE] sofia.c:857
sofia_profile_thread_run() Waiting for worker thread<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:11:21 [INFO] mod_sofia.c:2785
general_event_handler() IP change detected [192.168.1.1]-&gt;[172.22.240.156]
[]-&gt;[]<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:11:21 [NOTICE] sofia_glue.c:2923
sofia_glue_restart_all_profiles() Reload XML [Success]<o:p></o:p></p>

<p class=MsoNormal>2009-03-09 21:11:21 [INFO] switch_time.c:656
switch_load_timezones() Timezone reloaded 530 definitions<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>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 <o:p></o:p></p>

<p class=MsoNormal>I tried the CLI with &#8220;sofia status&#8221; this failed
to return anything and the CLI was no longer responsive. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I did a CTR-C just to see what was alive [ VS2008 trapped the
break and I selected continue] <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>2009-03-10 08:58:25 [WARNING] switch_scheduler.c:114
task_thread_loop() Task was executed late by 4 seconds 1 heartbeat (core)<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Still no CLI.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I the killed the FS, restarted and it worked as normal<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>==== <o:p></o:p></p>

<p class=MsoNormal>Background; I&#8217;m testing Freeswitch on Windows XP with Release
1.03 from the source release tar ball, running in VS2008 debug mode. &nbsp;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The PC has two NIC&#8217;s <o:p></o:p></p>

<p class=MsoNormal>1 - 192.168.1.1 static <o:p></o:p></p>

<p class=MsoNormal>2 - 172.22.240.156 DHCP<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;m using Nortel switches CS1K and CS2K for my upstream
gateways and Linksys SPA942 for PBX clients. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;m only using SIP &lt;-&gt; SIP and all sip connections
are via 172.22.240.156, There are no SIP devices on 192.168.1.1.&nbsp;&nbsp; <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>It is unlikely the event was caused by a DHCP lease renew. &nbsp;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>DHCP lease details for 172.22.240.156.<o:p></o:p></p>

<p class=MsoNormal>Lease Obtained. . . . . . . . . . : 09 March 2009 15:27:28<o:p></o:p></p>

<p class=MsoNormal>Lease Expires . . . . . . . . . . : 17 March 2009 15:27:28<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>===<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Regards <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Richard Lamkin<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>PS: I am a new to FS and I am very enthusiastic about it
potential. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o: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. 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
*************************************************************************

</PRE></body>

</html>