Call stuck in the queue - Not hangup

Hello,

I have a frequent problem
solves only restarting asterisk…
Sometimes a call is stuck in the queue.

See bellow.

Queue show, before hangup…

Agent/248 (ringinuse disabled) (realtime) (Invalid) has taken no calls yet
Agent/156 (ringinuse disabled) (realtime) (paused) (Not in use) has taken no calls yet
Agent/213 (ringinuse disabled) (realtime) (Unavailable) has taken no calls yet
Agent/247 (ringinuse disabled) (realtime) (Invalid) has taken no calls yet
Callers:
1. SIP/TRUNKVOIP-0000372d (wait: 1626:05, prio: 0)

Command hangup request…

[root@np-pbx ~]# asterisk -rx "hangup request SIP/SONAVOIP-0000372d"
Requested Hangup on channel ‘SIP/SONAVOIP-0000372d’

Queue show, after hangup…

Agent/248 (ringinuse disabled) (realtime) (Invalid) has taken no calls yet
Agent/156 (ringinuse disabled) (realtime) (paused) (Not in use) has taken no calls yet
Agent/213 (ringinuse disabled) (realtime) (Unavailable) has taken no calls yet
Agent/247 (ringinuse disabled) (realtime) (Invalid) has taken no calls yet
Callers:
1. SIP/TRUNKVOIP-0000372d (wait: 1626:21, prio: 0)
2. SIP/TRUNKVOIP-0000c7b9 (wait: 0:08, prio: 0)

Hangup has no effect… :frowning:

Also,
One of the agents in this queue will not receive any more call… only after restart.

Anyone had a similar case?
Is there a solution?

Thanks…

(Sorry my english).

Upgrade from: version unspecied, to: latest version. If the problem is still there, build with thread debugging enabled and run core show locks when the queue entry stalls.

Hi David, thanks for reply.

I’m using the latest version, but it happens with all others.

I enabled thread debug and I could follow the problem occurring, in one of my servers.

See bellow…

[root@vm_dev callcenter]# asterisk -rx "queue show 10003"
10003 has 2 calls (max 2) in ‘leastrecent’ strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
Agent/109 (ringinuse disabled) (dynamic) (Unavailable) has taken no calls yet
Agent/102 (ringinuse disabled) (realtime) (Not in use) has taken no calls yet
Callers:
1. Local/002125211749@from-internal-00000067;1 (wait: 26:35, prio: 0)
2. Local/002124010032@from-internal-00000069;1 (wait: 26:35, prio: 0)

One agent is iddle on queue… but not delivery the call…
On “extensions.ael” the queue command limit waiting in 120 seconds… note the time is over 20 minutes.

Queue command used…
Queue(${EXTEN},tT,120);

When I try hangup command on Cli it locks…
I believe that because the debug is enabled.

The result of “core show locks”…

[root@vm_dev callcenter]# asterisk -rx “core show locks

=======================================================================
=== 11.12.0
=== Currently Held Locks

===
=== <lock#> (): (times locked)

=== Thread ID: 0x7f1f9ba2c700 (do_devstate_changes started at [ 750] devicestate.c ast_device_state_engine_init())
=== —> Lock #0 (astobj2.c): MUTEX 1087 internal_ao2_callback c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x44874a]
/usr/sbin/asterisk(__ao2_callback_data+0x31) [0x448891]
/usr/sbin/asterisk(ast_channel_get_by_name_prefix+0x3b) [0x4765cb]
/usr/sbin/asterisk() [0x4aaa06]
/usr/sbin/asterisk() [0x4ab139]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== —> Waiting for Lock #1 (channel.c): MUTEX 1475 ast_channel_by_name_cb chan 0x7f1e901336d0 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x46ee15]
/usr/sbin/asterisk() [0x44832e]
/usr/sbin/asterisk(__ao2_callback_data+0x31) [0x448891]
/usr/sbin/asterisk(ast_channel_get_by_name_prefix+0x3b) [0x4765cb]
/usr/sbin/asterisk() [0x4aaa06]
/usr/sbin/asterisk() [0x4ab139]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: channel.c line 3889 (__ast_read)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f3629d700 (iax2_process_thread started at [12609] chan_iax2.c start_network_thread())
=== —> Lock #0 (chan_iax2.c): MUTEX 3037 __find_callno &iaxsl[x] 0x7f1f3e9674b8 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/lib/asterisk/modules/chan_iax2.so(+0x29946) [0x7f1f3e670946]
/usr/lib/asterisk/modules/chan_iax2.so(+0x27fe0) [0x7f1f3e66efe0]
/usr/lib/asterisk/modules/chan_iax2.so(+0x3432b) [0x7f1f3e67b32b]
/usr/lib/asterisk/modules/chan_iax2.so(+0x422b8) [0x7f1f3e6892b8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f36221700 (iax2_process_thread started at [12609] chan_iax2.c start_network_thread())
=== —> Tried and failed to get Lock #0 (chan_iax2.c): MUTEX 1297 iax2_lock_owner iaxs[callno]->owner 0x7f1e901336d0 (0)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_trylock+0x85) [0x4f1675]
/usr/lib/asterisk/modules/chan_iax2.so(+0xfe9e) [0x7f1f3e656e9e]
/usr/lib/asterisk/modules/chan_iax2.so(+0x38cee) [0x7f1f3e67fcee]
/usr/lib/asterisk/modules/chan_iax2.so(+0x42722) [0x7f1f3e689722]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f34cd1700 (handle_tcptls_connection started at [ 734] tcptls.c ast_tcptls_server_root())
=== —> Waiting for Lock #0 (astobj2.c): MUTEX 1293 internal_ao2_iterator_next iter->c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f34fb9700 (fast_originate started at [ 4545] manager.c action_originate())
=== —> Waiting for Lock #0 (astobj2.c): MUTEX 1085 internal_ao2_callback c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f35491700 (pbx_thread started at [ 6868] pbx.c ast_pbx_start())
=== —> Waiting for Lock #0 (channel.c): MUTEX 6903 ast_do_masquerade channels 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f99193700 (pbx_thread started at [ 6868] pbx.c ast_pbx_start())
=== —> Lock #0 (channel.c): MUTEX 3889 __ast_read chan 0x7f1e901336d0 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x4850b0]
/usr/lib/asterisk/modules/app_dial.so(+0x644e) [0x7f1f980d844e]
/usr/lib/asterisk/modules/app_dial.so(+0xb0a5) [0x7f1f980dd0a5]
/usr/lib/asterisk/modules/app_dial.so(+0xcef6) [0x7f1f980deef6]
/usr/sbin/asterisk(pbx_exec+0x125) [0x523aa5]
/usr/sbin/asterisk() [0x531029]
/usr/sbin/asterisk() [0x5353a5]
/usr/sbin/asterisk() [0x536b9b]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f34c55700 (pbx_thread started at [ 6868] pbx.c ast_pbx_start())
=== —> Waiting for Lock #0 (channel.c): MUTEX 6903 ast_do_masquerade channels 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f35589700 (pbx_thread started at [ 6868] pbx.c ast_pbx_start())
=== —> Waiting for Lock #0 (channel.c): MUTEX 6903 ast_do_masquerade channels 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f35779700 (pbx_thread started at [ 6868] pbx.c ast_pbx_start())
=== —> Waiting for Lock #0 (channel.c): MUTEX 6903 ast_do_masquerade channels 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f3550d700 (fast_originate started at [ 4545] manager.c action_originate())
=== —> Waiting for Lock #0 (astobj2.c): MUTEX 899 internal_ao2_link c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f34b5d700 (netconsole started at [ 1486] asterisk.c listener())
=== —> Lock #0 (cli.c): RDLOCK 2589 __ast_cli_generator &(&helpers)->lock 0x813d70 (2)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_rwlock_rdlock+0x82) [0x4f2f22]
/usr/sbin/asterisk() [0x4952df]
/usr/lib/asterisk/modules/res_clialiases.so(+0x17ea) [0x7f1f4a7cc7ea]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== —> Waiting for Lock #1 (astobj2.c): MUTEX 1087 internal_ao2_callback c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=== Thread ID: 0x7f1f349e9700 (netconsole started at [ 1486] asterisk.c listener())
=== —> Lock #0 (cli.c): RDLOCK 2589 __ast_cli_generator &(&helpers)->lock 0x813d70 (2)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_rwlock_rdlock+0x82) [0x4f2f22]
/usr/sbin/asterisk() [0x4952df]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== —> Waiting for Lock #1 (astobj2.c): MUTEX 1293 internal_ao2_iterator_next iter->c 0x2705690 (1)
/usr/sbin/asterisk(ast_bt_get_addresses+0xe) [0x4f622e]
/usr/sbin/asterisk(__ast_pthread_mutex_lock+0x86) [0x4f4546]
/usr/sbin/asterisk() [0x447b2a]
/usr/sbin/asterisk(ast_complete_channels+0x88) [0x491258]
/usr/sbin/asterisk() [0x495248]
/usr/lib/asterisk/modules/res_clialiases.so(+0x1703) [0x7f1f4a7cc703]
/usr/sbin/asterisk() [0x495248]
/usr/sbin/asterisk(ast_cli_generatornummatches+0x53) [0x497093]
/usr/sbin/asterisk() [0x497139]
/usr/sbin/asterisk(ast_cli_command_full+0x156) [0x494d46]
/usr/sbin/asterisk(ast_cli_command_multiple_full+0x78) [0x494f78]
/usr/sbin/asterisk() [0x4407c8]
/usr/sbin/asterisk() [0x57959b]
/lib64/libpthread.so.0() [0x3b4a6079d1]
/lib64/libc.so.6(clone+0x6d) [0x3b49ee8b6d]
=== — ---> Locked Here: astobj2.c line 1087 (internal_ao2_callback)
=== -------------------------------------------------------------------

=======================================================================

I have more than 30 servers with Asterisk/Callcenter (1.8 and 11)…
And It occurs with all some of them very frequently

Thanks…

You have a deadlock between thread 0x7f1f99193700 and thread 0x7f1f9ba2c700. Unfortunately, you seem to have stripped the debug symbols from your Asterisk modules, so you don’t have enough to raise a bug report.

Hm…
What I need do to enable “debug symbols”…
Any option in the build?

It looks like you did enable them in the build and then ran strip on the modules directory. I’m fairly sure that the thread debug code can find the symbols, if they are there, but it is a while since I last used it in anger.

If you have got symbols, but it failed to find them, you may be able to translate the file offsets into subroutines using gdb, but you’ll have to work out the details for yourself.

The most you can expect, in the short term is a an understanding of what is going wrong, and therefore possibly how to avoid it. Locking problems are difficult to fix safely.

This might be similar to the bug:

IAX hits maxcallnumber limit of 2048 with only one concurrent channel
issues.asterisk.org/jira/browse … ent-224584

In the bug attachments (dead_show_locks.txt), there is similar deadlocks.

To enable debug symbols, I usually use development build. Don’t know if there is better solution or not.

I use ./configre --enable-dev-mode

Then I select required compiler flags from the menu using command make menuselect then select Compiler Flags.

Hi guys,

Thanks for the replies
I could not solve this problem using the Asterisk 11.

So, I installed Ast 12 or Ast 13. Using, the same way as before
and It’s working well, without calls stucking on the queues.
(never happened after migrate to Ast 12/13). \o/

I think that the changes in the new releases, like Bridge API and the end of chan_sip, contributed to this doesn’t happen more.

Thanks all.
Regards.