Thanks Anthony, that works J.

 

From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: 28 October 2009 17:54
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Network cable disconnection

 

edit conf/autoload_configs/sofia.conf.xml and uncomment the auto-restart=false line
<param name="auto-restart" value="false"/>

On Wed, Oct 28, 2009 at 12:42 PM, Suneel Papineni <Suneel.Papineni@mettoni.com> wrote:

Hi,

 

I have configured FreeSwitch and played it by making calls. Every thing went fine. Then I tried to see what happens if network cable is unplugged. Freeswitch shown an error saying ping failed to the gateway and IP address is changed to local system IP. After sometime network cable plugged back in and in another 30 seconds freeswitch has shown it got the IP of gateway and changed back from local IP to gateway IP. After that when I tried to make calls, calls are not going through. Even there is no log displayed in Freeswitch. Please find below the logs...

 

freeswitch@QA360BASExp> 2009-10-28 16:46:13.156250 [WARNING] sofia.c:2814 Ping failed ihub-trunk

2009-10-28 16:46:13.234375 [INFO] mod_sofia.c:3160 IP change detected [192.168.12.10]->[192.168.20.138] []->[]

2009-10-28 16:46:13.265625 [NOTICE] sofia_glue.c:3444 Reload XML [Success]

2009-10-28 16:46:13.265625 [INFO] switch_time.c:661 Timezone reloaded 0 definitions

2009-10-28 16:46:14.156250 [NOTICE] sofia.c:921 Waiting for worker thread

2009-10-28 16:46:14.156250 [NOTICE] sofia_glue.c:3505 deleted gateway ihub-trunk

2009-10-28 16:46:14.156250 [NOTICE] sofia_reg.c:2122 Added gateway 'ihub-trunk' to profile 'TrunkExternal'

2009-10-28 16:46:14.156250 [NOTICE] sofia.c:2767 Started Profile TrunkExternal [sofia_reg_TrunkExternal]

2009-10-28 16:46:14.156250 [ERR] sofia.c:805 Error Creating SIP UA for profile: TrunkExternal

2009-10-28 16:46:14.156250 [NOTICE] sofia_glue.c:3505 deleted gateway ihub-trunk

2009-10-28 16:46:53.234375 [INFO] mod_sofia.c:3160 IP change detected [192.168.20.138]->[192.168.12.10] []->[]

2009-10-28 16:46:53.281250 [NOTICE] sofia_glue.c:3444 Reload XML [Success]

2009-10-2816:46:53.281250 [INFO] switch_time.c:661 Timezone reloaded 0 definitions

 

--After this there were no messages

 

Calls went through if I reload freeswitch.

 

Another surprise thing is I checked for the active ports in the system before and after cable unplugged. Port 5060 disappeared after cable is plugged out. This doesn’t display even after cable is plugged back in.

 

Thanks & Regards

Suneel

 

 

*************************************************************************
Please consider the environment before printing this e-mail
*************************************************************************
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
 
Mettoni Ltd
Registered in England and Wales: 4485956
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400

*************************************************************************
Please consider the environment before printing this e-mail
*************************************************************************
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

Mettoni Ltd
Registered in England and Wales: 4485956
9400 Garsington Road, Oxford Business Park, Oxford, OX4 2HN
*************************************************************************