[asterisk-dev] chan_skinny - call to turned off phone causes deadlock (r43208)

Pavel Jezek pavel.jezek at i.cz
Tue Sep 19 02:50:24 MST 2006


if it can help, here is output from coredump, that probably relate to my 
report about asterisk deadlock when calling to skinny phone (7920) that 
is not available ...


(gdb) bt full
#0  0xbfffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7d37fc0 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#2  0xb7d39851 in abort () from /lib/i686/libc.so.6
No symbol table info available.
#3  0xb7d6d41b in __fsetlocking () from /lib/i686/libc.so.6
No symbol table info available.
#4  0xb7d74dad in mallopt () from /lib/i686/libc.so.6
No symbol table info available.
#5  0xb7d74f33 in free () from /lib/i686/libc.so.6
No symbol table info available.
#6  0xb7921dd8 in iax2_destroy (callno=17) at chan_iax2.c:1780
        frame = {data = 0xb796a0b8, ts = -1224610408, ms = -1208552815, 
type = 3080102072, next = 0x4487, prev = 0xb7921b0b}
        pvt = Variable "pvt" is not available.






Pavel Jezek wrote:
> Hello,
> I'm using 7920 registered to current asterisk svn version,
> it working fine, but when I turn off phone, asterisk doesn't correctly 
> handle unregister proces
> when I call to this phone, I can hear normal ringback and asterisk 
> deadlocks,
> "stop now" does nothing, I must kill asterisk process.
> I can see active call in "show channels" output, but without any 
> details, like:
>
> ipbx*CLI> show channels verbose
> Channel              Context              Extension        Prio 
> State   Application  Data                      CallerID        
> Duration Accountcode BridgedTo
> 0 active channels
> 3 active calls
>
>
>
>
> normal status, phone ON and registered
> ipbx*CLI> skinny show devices
> Name                 DeviceId         IP              Type            
> R NL
> -------------------- ---------------- --------------- --------------- 
> - --
> PJ                   SEP000D288E664B  193.179.xxx.xxx  7920            
> Y  1
>
>
>
> after turning phone OFF:
>
> ipbx*CLI>
> [Sep 18 22:50:22] WARNING[14186]: chan_skinny.c:4048 get_input: read() 
> returned error: Connection reset by peer
> [Sep 18 22:50:22] NOTICE[14186]: chan_skinny.c:4132 skinny_session: 
> Skinny Session returned: Connection reset by peer
>
> no IP is OK, but incorrect register status as "Y"?
>
> ipbx*CLI>
> ipbx*CLI> skinny show devices
> Name                 DeviceId         IP              Type            
> R NL
> -------------------- ---------------- --------------- --------------- 
> - --
> PJ                   SEP000D288E664B  0.0.0.0         7920            
> Y  1
>
>
>
> correct status  as "N" after stop/start asterisk
> ipbx*CLI> skinny show devices
> Name                 DeviceId         IP              Type            
> R NL
> -------------------- ---------------- --------------- --------------- 
> - --
> PJ                   SEP000D288E664B                  No Device       
> N  1
>
>
> Asterisk SVN-trunk-r43208
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev


More information about the asterisk-dev mailing list