did your IP change on your nic?
We have code in there to detect an IP change and restart the profile.


On Wed, Oct 8, 2008 at 6:28 AM, Jonas Gauffin <jonas.gauffin@gmail.com> wrote:
Hello

Today Freeswitch restarted the profiles, and I don't know why.

2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_profiles() Reload XML [Success]
2008-10-08 09:44:49 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock outbound
2008-10-08 09:44:49 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread
2008-10-08 09:44:49 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock outbound
2008-10-08 09:44:49 [WARNING] sofia.c:1478 config_sofia() Invald IP 0.0.0.0 replaced with XXXXXXXXXXX
2008-10-08 09:44:49 [WARNING] sofia.c:1487 config_sofia() Invald IP 0.0.0.0 replaced with XXXXXXXXXXX
2008-10-08 09:44:49 [NOTICE] sofia.c:1871 config_sofia() Started Profile outbound [sofia_reg_outbound]
2008-10-08 09:44:49 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for outbound
2008-10-08 09:44:49 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: outbound
2008-10-08 09:44:49 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock nat
2008-10-08 09:44:49 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread
2008-10-08 09:44:49 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock nat
2008-10-08 09:44:49 [NOTICE] sofia.c:1871 config_sofia() Started Profile nat [sofia_reg_nat]
2008-10-08 09:44:49 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for nat
2008-10-08 09:44:49 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: nat
2008-10-08 09:44:50 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock default
2008-10-08 09:44:50 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread
2008-10-08 09:44:50 [DEBUG] switch_odbc.c:95 switch_odbc_handle_disconnect() Disconnected 0 from [gate]
2008-10-08 09:44:50 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock default
2008-10-08 09:44:50 [NOTICE] sofia.c:1861 config_sofia() Adding Alias [XXXXXXXXXXX] for profile [default]
2008-10-08 09:44:50 [NOTICE] sofia.c:1861 config_sofia() Adding Alias [mydomain.com] for profile [default]
2008-10-08 09:44:50 [NOTICE] sofia.c:1871 config_sofia() Started Profile default [sofia_reg_default]
2008-10-08 09:44:50 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for default
2008-10-08 09:44:50 [DEBUG] switch_odbc.c:145 switch_odbc_handle_connect() Connecting gate
2008-10-08 09:44:50 [DEBUG] switch_odbc.c:182 switch_odbc_handle_connect() Connected to [gate]
2008-10-08 09:44:50 [INFO] sofia_glue.c:2751 sofia_glue_init_sql() Connected ODBC DSN: gate
2008-10-08 09:44:50 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: default
2008-10-08 09:53:29 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_profiles() Reload XML [Success]

And since FS couldn't start the default profile again, everything stopped working. Anyone knows why this happened?

//Jonas

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@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