<div dir="ltr">according to your log:<br>2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_<div dir="ltr">profiles() Reload XML [Success]<br><br>The only 2 things that can trigger that is the FSAPI command: [sofia profile restart all]<br>
or if a TRAP event was fired in FS with condition network-address-change<br><br>The latter is done by endlessly scanning for the main ip on the box both v4 and v6<br>if either changes it triggers the event.<br><br>Does this happen constantly or just once?<br>
</div><br><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 8:06 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>&gt;</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 dir="ltr">The box have two NICs with one static ip each.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 2:59 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</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 dir="ltr">did your IP change on your nic?<br>We have code in there to detect an IP change and restart the profile.<br>

<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Oct 8, 2008 at 6:28 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com" target="_blank">jonas.gauffin@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><div dir="ltr">Hello<br><br>Today Freeswitch restarted the profiles, and I don&#39;t know why.<br>


<br>2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_profiles() Reload XML [Success]<br>2008-10-08 09:44:49 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock outbound<br>
2008-10-08 09:44:49 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread<br>2008-10-08 09:44:49 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock outbound<br>2008-10-08 09:44:49 [WARNING] sofia.c:1478 config_sofia() Invald IP <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> replaced with XXXXXXXXXXX<br>



2008-10-08 09:44:49 [WARNING] sofia.c:1487 config_sofia() Invald IP <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> replaced with XXXXXXXXXXX<br>2008-10-08 09:44:49 [NOTICE] sofia.c:1871 config_sofia() Started Profile outbound [sofia_reg_outbound]<br>



2008-10-08 09:44:49 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for outbound<br>2008-10-08 09:44:49 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: outbound<br>2008-10-08 09:44:49 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock nat<br>



2008-10-08 09:44:49 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread<br>2008-10-08 09:44:49 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock nat<br>2008-10-08 09:44:49 [NOTICE] sofia.c:1871 config_sofia() Started Profile nat [sofia_reg_nat]<br>



2008-10-08 09:44:49 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for nat<br>2008-10-08 09:44:49 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: nat<br>2008-10-08 09:44:50 [DEBUG] sofia.c:634 sofia_profile_thread_run() Write lock default<br>



2008-10-08 09:44:50 [NOTICE] sofia.c:641 sofia_profile_thread_run() waiting for worker thread<br>2008-10-08 09:44:50 [DEBUG] switch_odbc.c:95 switch_odbc_handle_disconnect() Disconnected 0 from [gate]<br>2008-10-08 09:44:50 [DEBUG] sofia.c:684 sofia_profile_thread_run() Write unlock default<br>



2008-10-08 09:44:50 [NOTICE] sofia.c:1861 config_sofia() Adding Alias [XXXXXXXXXXX] for profile [default]<br>2008-10-08 09:44:50 [NOTICE] sofia.c:1861 config_sofia() Adding Alias [<a href="http://mydomain.com" target="_blank">mydomain.com</a>] for profile [default]<br>



2008-10-08 09:44:50 [NOTICE] sofia.c:1871 config_sofia() Started Profile default [sofia_reg_default]<br>2008-10-08 09:44:50 [DEBUG] sofia.c:511 sofia_profile_thread_run() Creating agent for default<br>2008-10-08 09:44:50 [DEBUG] switch_odbc.c:145 switch_odbc_handle_connect() Connecting gate<br>



2008-10-08 09:44:50 [DEBUG] switch_odbc.c:182 switch_odbc_handle_connect() Connected to [gate]<br>2008-10-08 09:44:50 [INFO] sofia_glue.c:2751 sofia_glue_init_sql() Connected ODBC DSN: gate<br>2008-10-08 09:44:50 [ERR] sofia.c:541 sofia_profile_thread_run() Error Creating SIP UA for profile: default<br>



2008-10-08 09:53:29 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_profiles() Reload XML [Success]<br><br>And since FS couldn&#39;t start the default profile again, everything stopped working. Anyone knows why this happened?<br>



<br>//Jonas<br></div>
<br></div></div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>


<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>


IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>

<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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></div></div></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>
</div>