(gdb) thread apply all bt Thread 45 (process 27375): #0 0x04041cd1 in ?? () from /lib/libpthread.so.0 #1 0x081225ac in read_char (el=0x41d48b0, cp=0xbe81c0ae "\006") at read.c:296 #2 0x081226a9 in ?? () #3 0x08122459 in read_getcmd (el=0x41d48b0, cmdnum=0xbe81c0af "", ch=0xbe81c0ae "\006") at read.c:243 #4 0x081228e0 in ?? () #5 0x0807321c in ?? () #6 0x040a1df8 in __libc_start_main () from /lib/libc.so.6 #7 0x08057da1 in ?? () Thread 44 (process 27377): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x0806ce90 in listener (unused=0x0) at asterisk.c:979 #2 0x081199c6 in dummy_start (data=0x41eef28) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 43 (process 27378): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08119c09 in ast_wait_for_input (fd=8, ms=-1) at utils.c:925 #2 0x080b7c0f in http_root (data=0x0) at http.c:535 #3 0x081199c6 in dummy_start (data=0x42035e8) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 42 (process 27379): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cbc5e in accept_thread (ignore=0x0) at manager.c:2352 #2 0x081199c6 in dummy_start (data=0x4239928) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 41 (process 27380): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x080a2146 in __ast_cond_wait (filename=0x81555d3 "devicestate.c", lineno=375, func=0x8155a4c "do_devstate_changes", cond_name=0x8155a3c "&change_pending", mutex_name=0x8155a60 "&state_changes.lock", cond=0x8183e60, t=0x817a7e8) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x080a1e41 in do_devstate_changes (data=0x0) at devicestate.c:375 #3 0x081199c6 in dummy_start (data=0x42417e8) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 ---Type to continue, or q to quit--- Thread 40 (process 27381): #0 0x04154ef7 in ?? () from /lib/libc.so.6 #1 0x049217cf in agent_check_and_process () from /usr/lib/libnetsnmpagent.so.15 #2 0x0484c2a3 in agent_thread (arg=0x0) at snmp/agent.c:162 #3 0x081199c6 in dummy_start (data=0x43fdb38) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 39 (process 27382): #0 0x04041cd1 in ?? () from /lib/libpthread.so.0 #1 0x04a5a2e7 in monmp3thread (data=0x4455188) at res_musiconhold.c:530 #2 0x081199c6 in dummy_start (data=0x4455820) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 38 (process 27383): #0 0x04041cd1 in ?? () from /lib/libpthread.so.0 #1 0x04a5a2e7 in monmp3thread (data=0x4455bf8) at res_musiconhold.c:530 #2 0x081199c6 in dummy_start (data=0x4457d80) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 37 (process 27386): #0 0x04154ef7 in ?? () from /lib/libc.so.6 #1 0x04b33b8d in ?? () from /usr/lib/asterisk/modules/res_features.so #2 0x04b33b4a in ?? () from /usr/lib/asterisk/modules/res_features.so #3 0x081199c6 in dummy_start (data=0x449a018) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 36 (process 27387): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x453a658, output=0x4bcccd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x453a658) at manager.c:2245 #3 0x080cb8aa in session_do (data=0x453a658) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x453ac80) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 35 (process 27388): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x4553298, output=0x4c18cd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x4553298) at manager.c:2245 ---Type to continue, or q to quit--- #3 0x080cb8aa in session_do (data=0x4553298) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x45538c0) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 34 (process 27389): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x4566a98, output=0x4c54cd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x4566a98) at manager.c:2245 #3 0x080cb8aa in session_do (data=0x4566a98) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x45670c0) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 33 (process 27390): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x45713d0, output=0x4c90cd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x45713d0) at manager.c:2245 #3 0x080cb8aa in session_do (data=0x45713d0) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x45719f8) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 32 (process 27509): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x4dd7aa8, output=0x6168cd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x4dd7aa8) at manager.c:2245 #3 0x080cb8aa in session_do (data=0x4dd7aa8) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x45837b0) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 31 (process 27511): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080cb490 in get_input (s=0x5050248, output=0x552ccd4 "") at manager.c:2208 #2 0x080cb6ea in do_message (s=0x5050248) at manager.c:2245 #3 0x080cb8aa in session_do (data=0x5050248) at manager.c:2270 #4 0x081199c6 in dummy_start (data=0x4ffb540) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 30 (process 27393): #0 0x0411c83c in ?? () from /lib/libc.so.6 ---Type to continue, or q to quit--- #1 0x0411c66e in sleep () from /lib/libc.so.6 #2 0x06a1aabb in scan_thread (unused=0x0) at pbx_spool.c:437 #3 0x081199c6 in dummy_start (data=0x6632978) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 29 (process 27394): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x080bbde2 in ast_io_wait (ioc=0x66bd230, howlong=1000) at io.c:266 #2 0x06b32ccd in do_monitor (data=0x0) at chan_sip.c:15647 #3 0x081199c6 in dummy_start (data=0x66f0580) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 28 (process 27395): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x06bd712a in pri_dchannel (vpri=0x6bf15a0) at chan_zap.c:8503 #2 0x081199c6 in dummy_start (data=0x6851c50) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 27 (process 27396): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x06bd06c2 in do_monitor (data=0x0) at chan_zap.c:6877 #2 0x081199c6 in dummy_start (data=0x6854c30) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 26 (process 27397): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06d103bb in __ast_cond_wait (filename=0x6d211d4 "app_queue.c", lineno=687, func=0x6d22b47 "device_state_thread", cond_name=0x6d22b6e "&device_state.cond", mutex_name=0x6d22b5b "&device_state.lock", cond=0x6d26660, t=0x6d26588) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06d0ff1c in device_state_thread (data=0x0) at app_queue.c:687 #3 0x081199c6 in dummy_start (data=0x68e1220) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 25 (process 27398): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75c6a34, t=0x75c695c) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 ---Type to continue, or q to quit--- #2 0x06e41d51 in iax2_process_thread (data=0x75c58c8) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75c6b28) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 24 (process 27399): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75c8934, t=0x75c885c) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75c77c8) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75c8a28) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 23 (process 27400): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75ca8e4, t=0x75ca80c) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75c9778) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75ca9d8) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 22 (process 27401): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75cbd8c, t=0x75cbcb4) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75cac20) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75cbe80) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 21 (process 27402): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75cdc8c, t=0x75cdbb4) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75ccb20) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75cdd80) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 20 (process 27403): #0 0x06e3c5a7 in socket_process (thread=0x75cead0) at chan_iax2.c:7581 #1 0x06e41e6f in iax2_process_thread (data=0x75cead0) at chan_iax2.c:8365 #2 0x081199c6 in dummy_start (data=0x75cfd30) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 19 (process 27404): #0 0x04041949 in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #1 0x0403d8f8 in _L_mutex_lock_419 () from /lib/libpthread.so.0 #2 0x0403d458 in pthread_mutex_lock () from /lib/libpthread.so.0 #3 0x06e1be2b in __ast_pthread_mutex_lock (filename=0x6e54f94 "chan_iax2.c", lineno=1347, func=0x6e554d5 "find_callno", mutex_name=0x6e5542b "&iaxsl[x]", t=0x6e81a70) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:357 #4 0x06e1e1dd in find_callno (callno=29803, dcallno=0, sin=0x7b23128, new=0, sockfd=73) at chan_iax2.c:1347 #5 0x06e38463 in socket_process (thread=0x75d1808) at chan_iax2.c:6971 #6 0x06e41e6f in iax2_process_thread (data=0x75d1808) at chan_iax2.c:8365 #7 0x081199c6 in dummy_start (data=0x75d2a68) at utils.c:865 #8 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #9 0x0415c03e in clone () from /lib/libc.so.6 Thread 18 (process 27405): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75d4874, t=0x75d479c) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75d3708) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75d4968) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 17 (process 27406): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x06e42a28 in __ast_cond_wait (filename=0x6e54f94 "chan_iax2.c", lineno=8344, func=0x6e58e38 "iax2_process_thread", cond_name=0x6e55299 "&thread->cond", mutex_name=0x6e5528b "&thread->lock", cond=0x75d64ec, t=0x75d6414) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x06e41d51 in iax2_process_thread (data=0x75d5380) at chan_iax2.c:8344 #3 0x081199c6 in dummy_start (data=0x75d65e0) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 16 (process 27407): ---Type to continue, or q to quit--- #0 0x04041949 in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #1 0x0403d8f8 in _L_mutex_lock_419 () from /lib/libpthread.so.0 #2 0x0403d458 in pthread_mutex_lock () from /lib/libpthread.so.0 #3 0x06e1be2b in __ast_pthread_mutex_lock (filename=0x6e54f94 "chan_iax2.c", lineno=1347, func=0x6e554d5 "find_callno", mutex_name=0x6e5542b "&iaxsl[x]", t=0x6e81a70) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:357 #4 0x06e1e1dd in find_callno (callno=29803, dcallno=0, sin=0x7bd7128, new=0, sockfd=73) at chan_iax2.c:1347 #5 0x06e38463 in socket_process (thread=0x75d7280) at chan_iax2.c:6971 #6 0x06e41e6f in iax2_process_thread (data=0x75d7280) at chan_iax2.c:8365 #7 0x081199c6 in dummy_start (data=0x75d84e0) at utils.c:865 #8 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #9 0x0415c03e in clone () from /lib/libc.so.6 Thread 15 (process 27408): #0 0x04041a4c in __lll_mutex_unlock_wake () from /lib/libpthread.so.0 #1 0x0403e9f9 in _L_mutex_unlock_101 () from /lib/libpthread.so.0 #2 0x0403e68e in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0 #3 0x0403e9f0 in pthread_mutex_unlock () from /lib/libpthread.so.0 #4 0x06e1c3b9 in __ast_pthread_mutex_unlock (filename=0x6e54f94 "chan_iax2.c", lineno=8792, func=0x6e59395 "sched_thread", mutex_name=0x6e593a2 "&sched_lock", t=0x6e5d8c0) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:477 #5 0x06e449cb in sched_thread (ignore=0x0) at chan_iax2.c:8792 #6 0x081199c6 in dummy_start (data=0x75d9bd8) at utils.c:865 #7 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #8 0x0415c03e in clone () from /lib/libc.so.6 Thread 14 (process 27409): #0 0x0404201e in recvfrom () from /lib/libpthread.so.0 #1 0x06e3733a in socket_read (id=0x698cc38, fd=73, events=1, cbdata=0x698ca48) at chan_iax2.c:6709 #2 0x080bbeff in ast_io_wait (ioc=0x6958e98, howlong=-1) at io.c:279 #3 0x06e44d8d in network_thread (ignore=0x0) at chan_iax2.c:8860 #4 0x081199c6 in dummy_start (data=0x75d9ed0) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 13 (process 27410): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08071856 in monitor_sig_flags (unused=0x0) at asterisk.c:2524 #2 0x081199c6 in dummy_start (data=0x76c9578) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 12 (process 28971): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08089da2 in ast_waitfor_nandfds (c=0x89d6b24, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x89d6b20) at channel.c:1703 ---Type to continue, or q to quit--- #2 0x0808a0d2 in ast_waitfor_n (c=0x89d6b24, n=2, ms=0x89d6b20) at channel.c:1765 #3 0x08091125 in ast_generic_bridge (c0=0x5663368, c1=0x5333660, config=0x89d71f0, fo=0x89d6f44, rc=0x89d6f40, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3741 #4 0x080924f4 in ast_channel_bridge (c0=0x5663368, c1=0x5333660, config=0x89d71f0, fo=0x89d6f44, rc=0x89d6f40) at channel.c:4065 #5 0x04b3227e in ast_bridge_call (chan=0x5663368, peer=0x5333660, config=0x89d71f0) at res_features.c:1421 #6 0x07da4e85 in dial_exec_full (chan=0x5663368, data=0x89d9f28, peerflags=0x89d7df4, continue_exec=0x0) at app_dial.c:1706 #7 0x07da58ff in dial_exec (chan=0x5663368, data=0x89d9f28) at app_dial.c:1760 #8 0x080d0dcd in pbx_exec (c=0x5663368, app=0x766be38, data=0x89d9f28) at pbx.c:532 #9 0x080d4a8d in pbx_extension_helper (c=0x5663368, con=0x0, context=0x56635a8 "pode-testes", exten=0x56635f8 "5633", priority=34, label=0x0, callerid=0x4237988 "5660", action=E_SPAWN) at pbx.c:1851 #10 0x080d5e19 in ast_spawn_extension (c=0x5663368, context=0x56635a8 "pode-testes", exten=0x56635f8 "5633", priority=34, callerid=0x4237988 "5660") at pbx.c:2306 #11 0x080d6375 in __ast_pbx_run (c=0x5663368) at pbx.c:2408 #12 0x080d71aa in pbx_thread (data=0x5663368) at pbx.c:2623 #13 0x081199c6 in dummy_start (data=0x4528d40) at utils.c:865 #14 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #15 0x0415c03e in clone () from /lib/libc.so.6 Thread 11 (process 28906): #0 0x04041cd1 in ?? () from /lib/libpthread.so.0 #1 0x06bc701e in zt_read (ast=0x57ffd18) at chan_zap.c:4793 #2 0x0808af5d in __ast_read (chan=0x57ffd18, dropaudio=0) at channel.c:2036 #3 0x0808c483 in ast_read (chan=0x57ffd18) at channel.c:2313 #4 0x080911ac in ast_generic_bridge (c0=0x43e9e48, c1=0x57ffd18, config=0x8b39fd0, fo=0x8b39d04, rc=0x8b39d00, bridge_end= {tv_sec = 1204732048, tv_usec = 760842}) at channel.c:3756 #5 0x080924f4 in ast_channel_bridge (c0=0x43e9e48, c1=0x57ffd18, config=0x8b39fd0, fo=0x8b39d04, rc=0x8b39d00) at channel.c:4065 #6 0x04b3227e in ast_bridge_call (chan=0x43e9e48, peer=0x57ffd18, config=0x8b39fd0) at res_features.c:1421 #7 0x07da4e85 in dial_exec_full (chan=0x43e9e48, data=0x8b3cd08, peerflags=0x8b3abd4, continue_exec=0x0) at app_dial.c:1706 #8 0x07da58ff in dial_exec (chan=0x43e9e48, data=0x8b3cd08) at app_dial.c:1760 #9 0x080d0dcd in pbx_exec (c=0x43e9e48, app=0x766be38, data=0x8b3cd08) at pbx.c:532 #10 0x080d4a8d in pbx_extension_helper (c=0x43e9e48, con=0x0, context=0x43ea088 "macro-efetua-externo-fixo", exten=0x43ea0d8 "s", priority=13, label=0x0, callerid=0x4e85a68 "5611", action=E_SPAWN) at pbx.c:1851 #11 0x080d5e19 in ast_spawn_extension (c=0x43e9e48, context=0x43ea088 "macro-efetua-externo-fixo", exten=0x43ea0d8 "s", priority=13, callerid=0x4e85a68 "5611") at pbx.c:2306 #12 0x06a6e10b in _macro_exec (chan=0x43e9e48, data=0x8b41df8, exclusive=0) at app_macro.c:308 #13 0x06a6eeb0 in macro_exec (chan=0x43e9e48, data=0x8b41df8) at app_macro.c:486 #14 0x080d0dcd in pbx_exec (c=0x43e9e48, app=0x665a118, data=0x8b41df8) at pbx.c:532 #15 0x080d4a8d in pbx_extension_helper (c=0x43e9e48, con=0x0, context=0x43ea088 "macro-efetua-externo-fixo", exten=0x43ea0d8 "s", priority=2, label=0x0, callerid=0x4e85a68 "5611", action=E_SPAWN) at pbx.c:1851 #16 0x080d5e19 in ast_spawn_extension (c=0x43e9e48, context=0x43ea088 "macro-efetua-externo-fixo", exten=0x43ea0d8 "s", priority=2, callerid=0x4e85a68 "5611") at pbx.c:2306 #17 0x080d6375 in __ast_pbx_run (c=0x43e9e48) at pbx.c:2408 #18 0x080d730c in ast_pbx_run (c=0x43e9e48) at pbx.c:2664 ---Type to continue, or q to quit--- #19 0x080dd0cb in ast_pbx_outgoing_exten (type=0x546c544 "Zap", format=64, data=0x546c644, timeout=30000, context=0x546ca44 "pode-ddi", exten=0x546c944 "040025700", priority=1, reason=0x8b4431c, sync=2, cid_num=0x546cb48 "5611", cid_name=0x546cc48 "", vars=0x0, account=0x546cd48 "5611", channel=0x0) at pbx.c:5014 #20 0x06a1a412 in attempt_thread (data=0x546c430) at pbx_spool.c:338 #21 0x081199c6 in dummy_start (data=0x4fb06f8) at utils.c:865 #22 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #23 0x0415c03e in clone () from /lib/libc.so.6 Thread 10 (process 27420): #0 0x0403f3b1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0807a12d in __ast_cond_wait (filename=0x814e328 "autoservice.c", lineno=105, func=0x814e544 "autoservice_run", cond_name=0x814e561 "&as_cond", mutex_name=0x814e554 "&aslist.lock", cond=0x8183c60, t=0x81773a8) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:556 #2 0x08079cb9 in autoservice_run (ign=0x0) at autoservice.c:105 #3 0x081199c6 in dummy_start (data=0x4253e20) at utils.c:865 #4 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #5 0x0415c03e in clone () from /lib/libc.so.6 Thread 9 (process 28972): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08089da2 in ast_waitfor_nandfds (c=0x7f41b24, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x7f41b20) at channel.c:1703 #2 0x0808a0d2 in ast_waitfor_n (c=0x7f41b24, n=2, ms=0x7f41b20) at channel.c:1765 #3 0x08091125 in ast_generic_bridge (c0=0x5357a70, c1=0x573e1d0, config=0x7f421f0, fo=0x7f41f44, rc=0x7f41f40, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3741 #4 0x080924f4 in ast_channel_bridge (c0=0x5357a70, c1=0x573e1d0, config=0x7f421f0, fo=0x7f41f44, rc=0x7f41f40) at channel.c:4065 #5 0x04b3227e in ast_bridge_call (chan=0x5357a70, peer=0x573e1d0, config=0x7f421f0) at res_features.c:1421 #6 0x07da4e85 in dial_exec_full (chan=0x5357a70, data=0x7f44f28, peerflags=0x7f42df4, continue_exec=0x0) at app_dial.c:1706 #7 0x07da58ff in dial_exec (chan=0x5357a70, data=0x7f44f28) at app_dial.c:1760 #8 0x080d0dcd in pbx_exec (c=0x5357a70, app=0x766be38, data=0x7f44f28) at pbx.c:532 #9 0x080d4a8d in pbx_extension_helper (c=0x5357a70, con=0x0, context=0x5357cb0 "pode-testes", exten=0x5357d00 "5633", priority=34, label=0x0, callerid=0x4209de8 "5660", action=E_SPAWN) at pbx.c:1851 #10 0x080d5e19 in ast_spawn_extension (c=0x5357a70, context=0x5357cb0 "pode-testes", exten=0x5357d00 "5633", priority=34, callerid=0x4209de8 "5660") at pbx.c:2306 #11 0x080d6375 in __ast_pbx_run (c=0x5357a70) at pbx.c:2408 #12 0x080d71aa in pbx_thread (data=0x5357a70) at pbx.c:2623 #13 0x081199c6 in dummy_start (data=0x44bb648) at utils.c:865 #14 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #15 0x0415c03e in clone () from /lib/libc.so.6 Thread 8 (process 29010): #0 0x0415cfae in send () from /lib/libc.so.6 #1 0x041586a7 in __vsyslog_chk () from /lib/libc.so.6 #2 0x041589db in syslog () from /lib/libc.so.6 ---Type to continue, or q to quit--- #3 0x080c2d07 in ast_log_vsyslog (level=0, file=0x7c5b023 "func_db.c", line=70, function=0x7c5b06f "function_db_read", fmt=0x7c5b0b0 "DB: %s/%s not found in database.\n", args=0x8b78c84 "3\235·\b8\235·\bC*\026\b") at logger.c:681 #4 0x080c2ffc in ast_log (level=0, file=0x7c5b023 "func_db.c", line=70, function=0x7c5b06f "function_db_read", fmt=0x7c5b0b0 "DB: %s/%s not found in database.\n") at logger.c:760 #5 0x07c5aa0d in function_db_read (chan=0x4e8a4c8, cmd=0x8b79d30 "DB", parse=0x8b79d33 "CFIM", buf=0x8b78d20 "", len=4096) at func_db.c:70 #6 0x080d3cd7 in ast_func_read (chan=0x4e8a4c8, function=0x8b79d30 "DB", workspace=0x8b78d20 "", len=4096) at pbx.c:1543 #7 0x080d4110 in pbx_substitute_variables_helper_full (c=0x4e8a4c8, headp=0x4e8a8cc, cp1=0x5f1d4c8 "TEMP=${DB(CFIM/${EXTEN})}", cp2=0x8b7df2d "", count=8186) at pbx.c:1664 #8 0x080d45ec in pbx_substitute_variables_helper (c=0x4e8a4c8, cp1=0x5f1d4c8 "TEMP=${DB(CFIM/${EXTEN})}", cp2=0x8b7df28 "TEMP=", count=8191) at pbx.c:1758 #9 0x080d46ee in pbx_substitute_variables (passdata=0x8b7df28 "TEMP=", datalen=8192, c=0x4e8a4c8, e=0x5f1d580) at pbx.c:1776 #10 0x080d48e4 in pbx_extension_helper (c=0x4e8a4c8, con=0x0, context=0x4e8a708 "pode-testes", exten=0x4e8a758 "5666", priority=1, label=0x0, callerid=0x42fbdb8 "5633", action=E_SPAWN) at pbx.c:1829 #11 0x080d5e19 in ast_spawn_extension (c=0x4e8a4c8, context=0x4e8a708 "pode-testes", exten=0x4e8a758 "5666", priority=1, callerid=0x42fbdb8 "5633") at pbx.c:2306 #12 0x080d6375 in __ast_pbx_run (c=0x4e8a4c8) at pbx.c:2408 #13 0x080d71aa in pbx_thread (data=0x4e8a4c8) at pbx.c:2623 #14 0x081199c6 in dummy_start (data=0x41fec50) at utils.c:865 #15 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #16 0x0415c03e in clone () from /lib/libc.so.6 Thread 7 (process 28816): #0 0x0403f88a in pthread_cond_signal@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x08076c4c in __ast_cond_signal (filename=0x814de2f "audiohook.c", lineno=143, func=0x814e008 "ast_audiohook_write_frame", cond_name=0x814de9f "&audiohook->trigger", cond=0x51a4908) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:495 #2 0x08076c34 in ast_audiohook_write_frame (audiohook=0x51a4830, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x5654ec4) at audiohook.c:143 #3 0x0807876c in audio_audiohook_write_list (chan=0x43ba3d0, audiohook_list=0x44d44f8, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x428e0f4) at audiohook.c:508 #4 0x08078e88 in ast_audiohook_write_list (chan=0x43ba3d0, audiohook_list=0x44d44f8, direction=AST_AUDIOHOOK_DIRECTION_WRITE, frame=0x428e0f4) at audiohook.c:603 #5 0x0808d7fe in ast_write (chan=0x43ba3d0, fr=0x428e0f4) at channel.c:2645 #6 0x0809143a in ast_generic_bridge (c0=0x43ba3d0, c1=0x548c430, config=0x7ff10f0, fo=0x7ff0e24, rc=0x7ff0e20, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3814 #7 0x080924f4 in ast_channel_bridge (c0=0x43ba3d0, c1=0x548c430, config=0x7ff10f0, fo=0x7ff0e24, rc=0x7ff0e20) at channel.c:4065 #8 0x04b3227e in ast_bridge_call (chan=0x43ba3d0, peer=0x548c430, config=0x7ff10f0) at res_features.c:1421 #9 0x07da4e85 in dial_exec_full (chan=0x43ba3d0, data=0x7ff3e28, peerflags=0x7ff1cf4, continue_exec=0x0) at app_dial.c:1706 #10 0x07da58ff in dial_exec (chan=0x43ba3d0, data=0x7ff3e28) at app_dial.c:1760 #11 0x080d0dcd in pbx_exec (c=0x43ba3d0, app=0x766be38, data=0x7ff3e28) at pbx.c:532 #12 0x080d4a8d in pbx_extension_helper (c=0x43ba3d0, con=0x0, context=0x43ba610 "macro-efetua-externo-fixo-semlimite", exten=0x43ba660 "s", priority=9, label=0x0, callerid=0x5803d00 "5631", action=E_SPAWN) at pbx.c:1851 #13 0x080d5e19 in ast_spawn_extension (c=0x43ba3d0, context=0x43ba610 "macro-efetua-externo-fixo-semlimite", exten=0x43ba660 "s", priority=9, callerid=0x5803d00 "5631") at pbx.c:2306 ---Type to continue, or q to quit--- #14 0x06a6e10b in _macro_exec (chan=0x43ba3d0, data=0x7ff8f28, exclusive=0) at app_macro.c:308 #15 0x06a6eeb0 in macro_exec (chan=0x43ba3d0, data=0x7ff8f28) at app_macro.c:486 #16 0x080d0dcd in pbx_exec (c=0x43ba3d0, app=0x665a118, data=0x7ff8f28) at pbx.c:532 #17 0x080d4a8d in pbx_extension_helper (c=0x43ba3d0, con=0x0, context=0x43ba610 "macro-efetua-externo-fixo-semlimite", exten=0x43ba660 "s", priority=2, label=0x0, callerid=0x5803d00 "5631", action=E_SPAWN) at pbx.c:1851 #18 0x080d5e19 in ast_spawn_extension (c=0x43ba3d0, context=0x43ba610 "macro-efetua-externo-fixo-semlimite", exten=0x43ba660 "s", priority=2, callerid=0x5803d00 "5631") at pbx.c:2306 #19 0x080d6375 in __ast_pbx_run (c=0x43ba3d0) at pbx.c:2408 #20 0x080d71aa in pbx_thread (data=0x43ba3d0) at pbx.c:2623 #21 0x081199c6 in dummy_start (data=0x590b848) at utils.c:865 #22 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #23 0x0415c03e in clone () from /lib/libc.so.6 Thread 6 (process 28820): #0 0x0403f622 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0807929c in __ast_cond_timedwait (filename=0x814de2f "audiohook.c", lineno=623, func=0x814e2aa "ast_audiohook_trigger_wait", cond_name=0x814de9f "&audiohook->trigger", mutex_name=0x814de8e "&audiohook->lock", cond=0x51a4908, t=0x51a4830, abstime=0x7fbf2c0) at /usr/src/b040308/asterisk-1.4/include/asterisk/lock.h:627 #2 0x08078f8e in ast_audiohook_trigger_wait (audiohook=0x51a4830) at audiohook.c:623 #3 0x06ad5634 in mixmonitor_thread (obj=0x51a4830) at app_mixmonitor.c:161 #4 0x081199c6 in dummy_start (data=0x4e9bd18) at utils.c:865 #5 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #6 0x0415c03e in clone () from /lib/libc.so.6 Thread 5 (process 28586): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x0806cc6e in netconsole (vconsole=0x818b820) at asterisk.c:928 #2 0x081199c6 in dummy_start (data=0x42cbbc8) at utils.c:865 #3 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #4 0x0415c03e in clone () from /lib/libc.so.6 Thread 4 (process 28974): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08089da2 in ast_waitfor_nandfds (c=0x7e3ab24, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x7e3ab20) at channel.c:1703 #2 0x0808a0d2 in ast_waitfor_n (c=0x7e3ab24, n=2, ms=0x7e3ab20) at channel.c:1765 #3 0x08091125 in ast_generic_bridge (c0=0x5a16a88, c1=0x6029058, config=0x7e3b1f0, fo=0x7e3af44, rc=0x7e3af40, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3741 #4 0x080924f4 in ast_channel_bridge (c0=0x5a16a88, c1=0x6029058, config=0x7e3b1f0, fo=0x7e3af44, rc=0x7e3af40) at channel.c:4065 #5 0x04b3227e in ast_bridge_call (chan=0x5a16a88, peer=0x6029058, config=0x7e3b1f0) at res_features.c:1421 #6 0x07da4e85 in dial_exec_full (chan=0x5a16a88, data=0x7e3df28, peerflags=0x7e3bdf4, continue_exec=0x0) at app_dial.c:1706 #7 0x07da58ff in dial_exec (chan=0x5a16a88, data=0x7e3df28) at app_dial.c:1760 #8 0x080d0dcd in pbx_exec (c=0x5a16a88, app=0x766be38, data=0x7e3df28) at pbx.c:532 #9 0x080d4a8d in pbx_extension_helper (c=0x5a16a88, con=0x0, context=0x5a16cc8 "pode-testes", exten=0x5a16d18 "5633", priority=34, ---Type to continue, or q to quit--- label=0x0, callerid=0x42096a0 "5660", action=E_SPAWN) at pbx.c:1851 #10 0x080d5e19 in ast_spawn_extension (c=0x5a16a88, context=0x5a16cc8 "pode-testes", exten=0x5a16d18 "5633", priority=34, callerid=0x42096a0 "5660") at pbx.c:2306 #11 0x080d6375 in __ast_pbx_run (c=0x5a16a88) at pbx.c:2408 #12 0x080d71aa in pbx_thread (data=0x5a16a88) at pbx.c:2623 #13 0x081199c6 in dummy_start (data=0x4d81610) at utils.c:865 #14 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #15 0x0415c03e in clone () from /lib/libc.so.6 Thread 3 (process 28975): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08089da2 in ast_waitfor_nandfds (c=0x7f05b24, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x7f05b20) at channel.c:1703 #2 0x0808a0d2 in ast_waitfor_n (c=0x7f05b24, n=2, ms=0x7f05b20) at channel.c:1765 #3 0x08091125 in ast_generic_bridge (c0=0x6361e60, c1=0x59d0658, config=0x7f061f0, fo=0x7f05f44, rc=0x7f05f40, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3741 #4 0x080924f4 in ast_channel_bridge (c0=0x6361e60, c1=0x59d0658, config=0x7f061f0, fo=0x7f05f44, rc=0x7f05f40) at channel.c:4065 #5 0x04b3227e in ast_bridge_call (chan=0x6361e60, peer=0x59d0658, config=0x7f061f0) at res_features.c:1421 #6 0x07da4e85 in dial_exec_full (chan=0x6361e60, data=0x7f08f28, peerflags=0x7f06df4, continue_exec=0x0) at app_dial.c:1706 #7 0x07da58ff in dial_exec (chan=0x6361e60, data=0x7f08f28) at app_dial.c:1760 #8 0x080d0dcd in pbx_exec (c=0x6361e60, app=0x766be38, data=0x7f08f28) at pbx.c:532 #9 0x080d4a8d in pbx_extension_helper (c=0x6361e60, con=0x0, context=0x63620a0 "pode-testes", exten=0x63620f0 "5633", priority=34, label=0x0, callerid=0x45b1d90 "5660", action=E_SPAWN) at pbx.c:1851 #10 0x080d5e19 in ast_spawn_extension (c=0x6361e60, context=0x63620a0 "pode-testes", exten=0x63620f0 "5633", priority=34, callerid=0x45b1d90 "5660") at pbx.c:2306 #11 0x080d6375 in __ast_pbx_run (c=0x6361e60) at pbx.c:2408 #12 0x080d71aa in pbx_thread (data=0x6361e60) at pbx.c:2623 #13 0x081199c6 in dummy_start (data=0x52c23a0) at utils.c:865 #14 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #15 0x0415c03e in clone () from /lib/libc.so.6 Thread 2 (process 28995): #0 0x0404018e in pthread_kill () from /lib/libpthread.so.0 #1 0x080cc39e in ?? () #2 0x080892eb in ast_hangup (chan=0x57c8530) at channel.c:1486 #3 0x07da4f8d in dial_exec_full (chan=0x59d49d8, data=0x8b05f28, peerflags=0x8b03df4, continue_exec=0x0) at app_dial.c:1726 #4 0x07da58ff in dial_exec (chan=0x59d49d8, data=0x8b05f28) at app_dial.c:1760 #5 0x080d0dcd in pbx_exec (c=0x59d49d8, app=0x766be38, data=0x8b05f28) at pbx.c:532 #6 0x080d4a8d in pbx_extension_helper (c=0x59d49d8, con=0x0, context=0x59d4c18 "pode-testes", exten=0x59d4c68 "5633", priority=34, label=0x0, callerid=0x4379610 "5660", action=E_SPAWN) at pbx.c:1851 #7 0x080d5e19 in ast_spawn_extension (c=0x59d49d8, context=0x59d4c18 "pode-testes", exten=0x59d4c68 "5633", priority=34, callerid=0x4379610 "5660") at pbx.c:2306 #8 0x080d6375 in __ast_pbx_run (c=0x59d49d8) at pbx.c:2408 #9 0x080d71aa in pbx_thread (data=0x59d49d8) at pbx.c:2623 ---Type to continue, or q to quit--- #10 0x081199c6 in dummy_start (data=0x4d116e0) at utils.c:865 #11 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #12 0x0415c03e in clone () from /lib/libc.so.6 Thread 1 (process 29003): #0 0x04152529 in poll () from /lib/libc.so.6 #1 0x08089da2 in ast_waitfor_nandfds (c=0x8ac6b24, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x8ac6b20) at channel.c:1703 #2 0x0808a0d2 in ast_waitfor_n (c=0x8ac6b24, n=2, ms=0x8ac6b20) at channel.c:1765 #3 0x08091125 in ast_generic_bridge (c0=0x4e7c3c8, c1=0x59726b0, config=0x8ac71f0, fo=0x8ac6f44, rc=0x8ac6f40, bridge_end= {tv_sec = 0, tv_usec = 0}) at channel.c:3741 #4 0x080924f4 in ast_channel_bridge (c0=0x4e7c3c8, c1=0x59726b0, config=0x8ac71f0, fo=0x8ac6f44, rc=0x8ac6f40) at channel.c:4065 #5 0x04b3227e in ast_bridge_call (chan=0x4e7c3c8, peer=0x59726b0, config=0x8ac71f0) at res_features.c:1421 #6 0x07da4e85 in dial_exec_full (chan=0x4e7c3c8, data=0x8ac9f28, peerflags=0x8ac7df4, continue_exec=0x0) at app_dial.c:1706 #7 0x07da58ff in dial_exec (chan=0x4e7c3c8, data=0x8ac9f28) at app_dial.c:1760 #8 0x080d0dcd in pbx_exec (c=0x4e7c3c8, app=0x766be38, data=0x8ac9f28) at pbx.c:532 #9 0x080d4a8d in pbx_extension_helper (c=0x4e7c3c8, con=0x0, context=0x4e7c608 "pode-testes", exten=0x4e7c658 "5666", priority=34, label=0x0, callerid=0x42061c0 "5633", action=E_SPAWN) at pbx.c:1851 #10 0x080d5e19 in ast_spawn_extension (c=0x4e7c3c8, context=0x4e7c608 "pode-testes", exten=0x4e7c658 "5666", priority=34, callerid=0x42061c0 "5633") at pbx.c:2306 #11 0x080d6375 in __ast_pbx_run (c=0x4e7c3c8) at pbx.c:2408 #12 0x080d71aa in pbx_thread (data=0x4e7c3c8) at pbx.c:2623 #13 0x081199c6 in dummy_start (data=0x4de9428) at utils.c:865 #14 0x0403b1b3 in start_thread () from /lib/libpthread.so.0 #15 0x0415c03e in clone () from /lib/libc.so.6