[asterisk-dev] ast_queue_hangup when in a native bridge?

Russell Bryant russell at digium.com
Fri Jun 1 12:37:33 MST 2007


Dan Austin wrote:
> The bad news is that since I wrote and tested the
> patch, something has changed.  When the skinny
> endpoint attempts to end the call with either
> the 'EndCall' softkey or by going on hook, the
> channel appears to hang in ast_queue_hangup()

If it is hanging there, that means another thread has the channel 
locked.  You could enable DEBUG_THREADS, and add some debug code to 
print out who has the channel locked, or attach with gdb to find out.

See the ast_mutex_info structure in include/asterisk/lock.h.  That is 
what is used for an ast_mutex_t when DEBUG_THREADS is enabled.

-- 
Russell Bryant
Software Engineer
Digium, Inc.


More information about the asterisk-dev mailing list