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

Nestor A Diaz nestor at tiendalinux.com
Wed Feb 29 02:11:03 MSK 2012


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




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