VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jonas.gauffin at gmail... Guest
|
Posted: Wed Oct 08, 2008 6:32 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Wed Oct 08, 2008 8:03 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Wed Oct 08, 2008 8:09 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: |
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Wed Oct 08, 2008 8:22 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: |
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Wed Oct 08, 2008 8:26 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: |
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Fri Oct 17, 2008 2:09 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
Is it possible to disable this check?
On Wed, Oct 8, 2008 at 3:24 PM, Jonas Gauffin <jonas.gauffin@gmail.com (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: | 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 (anthony.minessale@gmail.com)> wrote:
Quote: | 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 (jonas.gauffin@gmail.com)> wrote:
Quote: |
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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Oct 17, 2008 3:30 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Oct 17, 2008 3:38 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Fri Oct 17, 2008 3:40 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Fri Oct 17, 2008 3:49 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
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 (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Oct 17, 2008 3:56 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
The DHCP interface must have changed...
/b
On Oct 17, 2008, at 1:39 AM, Jonas Gauffin wrote:
Quote: | 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 |
|
Back to top |
|
|
jonas.gauffin at gmail... Guest
|
Posted: Fri Oct 17, 2008 4:02 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
On the server with two static ips then?
On Fri, Oct 17, 2008 at 10:49 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Oct 17, 2008 4:04 am Post subject: [Freeswitch-users] Freeswitch restarting profiles |
|
|
Hrm I misread that... maybe you can whip up a patch for this in
mod_sofia to ignore the SWITCH_EVENT_TRAP that indicates a network
address change?
/b
On Oct 17, 2008, at 1:53 AM, Jonas Gauffin wrote:
Quote: | On the server with two static ips then?
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|