rendered paste body[atis@asterisk2 ~]$ asterisk -rx "core show channels concise"
SIP/204.11.200.152-c406a1d0!db_dnis_routing!8708!11!Ring!(None)!!!1208382837.14137!3!23558!(None)
SIP/204.11.200.152-c416a950!db_department_prompt!4!1!Ring!(None)!!7274093152!1208375969.11308!3!30426!(None)
SIP/204.11.200.152-c8062a50!db_ivr!ivr---538!12!Up!(None)!!5133310925!1208371309.8726!3!35064!(None)
Local/28237@default_queue-b1a2,2!db_queue_na!28901!7!Ring!(None)!!5085887800!1208355514.1361!3!50847!(None)
[atis@asterisk2 ~]$ asterisk -rx "core show channels verbose"
Channel Context Extension Prio State Application Data CallerID Duration Accountcode BridgedTo
SIP/204.11.200.152-c db_dnis_routing 8708 11 Ring (None) (None) 06:31:34 1208382837. (None)
SIP/204.11.200.152-c db_department_prompt 4 1 Ring (None) (None) 7274093152 08:26:02 1208375969. (None)
SIP/204.11.200.152-c db_ivr ivr---538 12 Up (None) (None) 5133310925 09:43:20 1208371309. (None)
Local/28237@default_ db_queue_na 28901 7 Ring (None) (None) 5085887800 14:06:23 1208355514. (None)
4 active channels
4 active calls
asterisk2*CLI> core show locks
asterisk2*CLI>
=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 1073985856 (listener started at [ 1063] asterisk.c ast_makesocket())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074231616 (accept_thread started at [ 3046] manager.c init_manager())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074477376 (do_devstate_changes started at [ 386] devicestate.c ast_device_state_engine_init())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074723136 (do_parking_thread started at [ 2458] res_features.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074968896 (network_thread started at [ 2192] pbx_dundi.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075214656 (process_precache started at [ 2193] pbx_dundi.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075460416 (do_monitor started at [15749] chan_sip.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075706176 (do_monitor started at [ 1130] chan_phone.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075951936 (pri_dchannel started at [ 9533] chan_zap.c start_pri())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076197696 (pri_dchannel started at [ 9533] chan_zap.c start_pri())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076443456 (pri_dchannel started at [ 9533] chan_zap.c start_pri())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076689216 (pri_dchannel started at [ 9533] chan_zap.c start_pri())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076934976 (do_monitor started at [ 7027] chan_zap.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077180736 (device_state_thread started at [ 5330] app_queue.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077426496 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077672256 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077918016 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078163776 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078409536 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078655296 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078901056 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079146816 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079392576 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079638336 (iax2_process_thread started at [ 8922] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079884096 (sched_thread started at [ 8932] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080129856 (network_thread started at [ 8933] chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080375616 (scan_thread started at [ 499] pbx_spool.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: 1081112896 (autoservice_run started at [ 210] autoservice.c ast_autoservice_start())
=== -------------------------------------------------------------------
===
=== Thread ID: 1085782336 (pbx_thread started at [ 2658] pbx.c ast_pbx_start())
=== ---> Lock #0 (pbx.c): RDLOCK 6140 ast_rdlock_contexts &conlock 0x771ae0 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 1083078976 (pbx_thread started at [ 2658] pbx.c ast_pbx_start())
=== ---> Lock #0 (pbx.c): RDLOCK 6140 ast_rdlock_contexts &conlock 0x771ae0 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 1094138176 (pbx_thread started at [ 2658] pbx.c ast_pbx_start())
=== ---> Lock #0 (pbx.c): RDLOCK 6140 ast_rdlock_contexts &conlock 0x771ae0 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 1084307776 (pbx_thread started at [ 2658] pbx.c ast_pbx_start())
=== ---> Lock #0 (pbx.c): RDLOCK 6140 ast_rdlock_contexts &conlock 0x771ae0 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 1081850176 (session_do started at [ 2393] manager.c accept_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1096595776 (netconsole started at [ 1005] asterisk.c listener())
=== -------------------------------------------------------------------
===
=======================================================================