[Freeswitch-users] Freeswitch restarting profiles

Jonas Gauffin jonas.gauffin at gmail.com
Wed Oct 8 06:24:06 PDT 2008


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 at 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 at 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 at 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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>>> iax:guest at conference.freeswitch.org/888
>>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>> pstn:213-799-1400
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081008/3eb0de7e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list