|Summary:||ASTERISK-09665: Asterisk is locked in ast_get_channel_by_name_locked call|
|Date Opened:||2007-06-13 02:41:14||Date Closed:||2011-06-07 14:00:20|
In the next escenario ast_get_channel_by_name_locked doesn't return the control: asterisk is locked in that function.
All ocurrs at same second
1. Event Newstate "up" for a zap channel (Zap/7-1) is received in my_app.so from Manager.
2. my_app.so redirects the call with Action Redirect.
3. Event Link is received in my_app.so from Manager.
4. my_app.so call ast_get_channel_by_name_locked( Zap/7-1 )
Asterisk doen't return the channel. It is locked inside this function.
my_app.so only requests ast_get_channel_by_name_locked( Zap/7-1 ) once. I'm sure that the channel Zap/7-1 is locked in other asterisk thread.
|Comments:||By: Russell Bryant (russell) 2007-06-13 10:28:30|
If you would like some helping developing your own module, try the asterisk-dev list. This is not the appropriate place for that discussion ...
By: dmb (dmb) 2007-07-30 10:05:53
I wouldn't like any help in this case. I'm use a function right and in this function asterisk is locked. Only i explain the error.