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.0replaced with XXXXXXXXXXX 2008-10-08 09:44:49 [WARNING] sofia.c:1487 config_sofia() Invald IP 0.0.0.0replaced 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
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
The box have two NICs with one static ip each. On Wed, Oct 8, 2008 at 2:59 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
according to your log: 2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_profiles() Reload XML [Success] The only 2 things that can trigger that is the FSAPI command: [sofia profile restart all] or if a TRAP event was fired in FS with condition network-address-change The latter is done by endlessly scanning for the main ip on the box both v4 and v6 if either changes it triggers the event. Does this happen constantly or just once? On Wed, Oct 8, 2008 at 8:06 AM, Jonas Gauffin <jonas.gauffin@gmail.com>wrote:
The box have two NICs with one static ip each.
On Wed, Oct 8, 2008 at 2:59 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
It have happened once on that server, and once on another one which uses DHCP (but the IP have not changed since I installed the server). On Wed, Oct 8, 2008 at 3:15 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
according to your log: 2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_ profiles() Reload XML [Success]
The only 2 things that can trigger that is the FSAPI command: [sofia profile restart all] or if a TRAP event was fired in FS with condition network-address-change
The latter is done by endlessly scanning for the main ip on the box both v4 and v6 if either changes it triggers the event.
Does this happen constantly or just once?
On Wed, Oct 8, 2008 at 8:06 AM, Jonas Gauffin <jonas.gauffin@gmail.com>wrote:
The box have two NICs with one static ip each.
On Wed, Oct 8, 2008 at 2:59 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
Is it possible to disable this check? On Wed, Oct 8, 2008 at 3:24 PM, Jonas Gauffin <jonas.gauffin@gmail.com>wrote:
It have happened once on that server, and once on another one which uses DHCP (but the IP have not changed since I installed the server).
On Wed, Oct 8, 2008 at 3:15 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
according to your log: 2008-10-08 09:44:49 [NOTICE] sofia_glue.c:2634 sofia_glue_restart_all_ profiles() Reload XML [Success]
The only 2 things that can trigger that is the FSAPI command: [sofia profile restart all] or if a TRAP event was fired in FS with condition network-address-change
The latter is done by endlessly scanning for the main ip on the box both v4 and v6 if either changes it triggers the event.
Does this happen constantly or just once?
On Wed, Oct 8, 2008 at 8:06 AM, Jonas Gauffin <jonas.gauffin@gmail.com>wrote:
The box have two NICs with one static ip each.
On Wed, Oct 8, 2008 at 2:59 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
Well. My case is that the IPs have not changed, and still FS tried to restart the profiles (and failed, which rendered the system useless). My servers will not change IPs, but if they do, I know about it and can restart the profiles manually. On Fri, Oct 17, 2008 at 10:23 AM, Brian West <brian@freeswitch.org> wrote:
Their might be cases this is suboptimal but have you seen such a case yet? If we don't bounce then the profiles won't work if the ip is yanks out from under it.
/b
On Oct 17, 2008, at 12:00 AM, Jonas Gauffin wrote:
Is it possible to disable this check?
_______________________________________________ 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
Can you help narrow down what is going on to trigger it when it really doesn't take place? /b On Oct 17, 2008, at 1:27 AM, Jonas Gauffin wrote:
Well. My case is that the IPs have not changed, and still FS tried to restart the profiles (and failed, which rendered the system useless). My servers will not change IPs, but if they do, I know about it and can restart the profiles manually.
I got two dedicated FS servers and it have happened once on each server. One server got two static ips (two nics) and one with dhcp (only one nic, the ip have never been changed). I have no clue to why FS tried to restart the profiles, and I really do not want it to happen again. Turning of the feature would be excellent for me. On Fri, Oct 17, 2008 at 10:31 AM, Brian West <brian@freeswitch.org> wrote:
Can you help narrow down what is going on to trigger it when it really doesn't take place?
/b
On Oct 17, 2008, at 1:27 AM, Jonas Gauffin wrote:
Well. My case is that the IPs have not changed, and still FS tried to restart the profiles (and failed, which rendered the system useless). My servers will not change IPs, but if they do, I know about it and can restart the profiles manually.
_______________________________________________ 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
The DHCP interface must have changed... /b On Oct 17, 2008, at 1:39 AM, Jonas Gauffin wrote:
I got two dedicated FS servers and it have happened once on each server. One server got two static ips (two nics) and one with dhcp (only one nic, the ip have never been changed).
I have no clue to why FS tried to restart the profiles, and I really do not want it to happen again. Turning of the feature would be excellent for me.
On the server with two static ips then? On Fri, Oct 17, 2008 at 10:49 AM, Brian West <brian@freeswitch.org> wrote:
The DHCP interface must have changed...
/b
On Oct 17, 2008, at 1:39 AM, Jonas Gauffin wrote:
I got two dedicated FS servers and it have happened once on each server. One server got two static ips (two nics) and one with dhcp (only one nic, the ip have never been changed).
I have no clue to why FS tried to restart the profiles, and I really do not want it to happen again. Turning of the feature would be excellent for me.
_______________________________________________ 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
participants (3)
-
Anthony Minessale
-
Brian West
-
Jonas Gauffin