[Freeswitch-users] EVENT_TRAP: IP change detected -> no Write unlock -> Error Creating SIP UA for profile: internal

Anthony Minessale anthony.minessale at gmail.com
Wed Feb 29 07:26:26 MSK 2012


it happens when the route to the internet changes to another device.
you an disable this:

edit your sofia profile file internal.xml

and comment this:

<param name="auto-restart" value="true"/>



On Tue, Feb 28, 2012 at 5:11 PM, Nestor A Diaz <nestor at tiendalinux.com> wrote:
> Hi Guys.
>
> Today my standard sip profile decide not to work anymore, in fact it was
> related with the fact i had put some ip alias on the same internal
> network interface a few days ago, by searching the logs, this is what i got:
>
> 2012-02-28 14:50:56.126576 [INFO] mod_sofia.c:5155 EVENT_TRAP: IP change
> detected
> 2012-02-28 14:50:56.126576 [INFO] mod_sofia.c:5156 IP change detected
> []->[] [::1]->[fe80::225:90ff:fe3a:2e1a]
> 2012-02-28 14:50:56.306534 [NOTICE] sofia_glue.c:5295 Reload XML [Success]
> [...]
> 2012-02-28 14:50:57.926576 [DEBUG] sofia.c:2121 Write lock doublenat
> 2012-02-28 14:50:57.926576 [DEBUG] sofia.c:2132 Write unlock doublenat
> [...]
> 2012-02-28 14:50:58.026533 [DEBUG] sofia.c:2121 Write lock internal-ipv6
> 2012-02-28 14:50:58.026533 [DEBUG] sofia.c:2132 Write unlock internal-ipv6
> [...]
> 2012-02-28 14:50:58.026533 [ERR] sofia.c:1916 Error Creating SIP UA for
> profile: internal-ipv6
> [...]
> 2012-02-28 14:50:58.026533 [DEBUG] sofia.c:2121 Write lock internal
>
> but no unlock internal profile and no creating sip ua for profile: internal.
>
> Later final users reported the problem and i tried to start the profile:
>
> $ sofia profile internal start
>
> and i got:
>
> 2012-02-28 17:08:30.586507 [ERR] sofia.c:1916 Error Creating SIP UA for
> profile: internal
>
> So i deactivated the ip aliases and restart freeswitch and everything
> comes to live.
>
> But I suspect a problem with sofia because it wasn't able to unlock the
> internal profile, i checked the status of sofia via command line when
> this happens and there was no sofia internal profile listed.
>
> I don't know how the ip change event was triggered since i added the ip
> alias some days ago, not today when the problem was triggered.
>
> Maybe there will be some bug there.
>
> Slds.
>
> --
> Nestor A. Diaz
> Ingeniero de Sistemas
> Tel. +57 1-485-3020 x 211
> Cel. +57 316-227-3593
> Tel. SIP: sip:211 at tiendalinux.com
> Email/MSN: nestor at tiendalinux.com
> http://www.tiendalinux.com/
> Bogota, Colombia
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list