*CLI> dial agente [New Thread -1218274384 (LWP 10336)] [New Thread -1218540624 (LWP 10337)] *CLI> Mar 28 11:42:46 DEBUG[10314]: pbx.c:1567 pbx_extension_helper: Launching 'Answer' -- Executing Answer("OSS/dsp", "") in new stack << Console call has been answered >> Mar 28 11:42:46 DEBUG[10314]: pbx.c:1567 pbx_extension_helper: Launching 'AgentLogin' -- Executing AgentLogin("OSS/dsp", "1001") in new stack Mar 28 11:42:46 DEBUG[10314]: channel.c:1826 ast_set_write_format: Set channel OSS/dsp to write format gsm -- Playing 'agent-loginok' (language 'en') Mar 28 11:42:46 DEBUG[10314]: app_queue.c:380 changethread: Device 'OSS/dsp' changed to state '4' Mar 28 11:42:46 DEBUG[10314]: app_queue.c:408 changethread: Device 'OSS/dsp' changed to state '4' [Thread -1218274384 (LWP 10336) exited] Urgent handler Urgent handler Mar 28 11:42:46 DEBUG[10314]: sched.c:221 sched_settime: Request to schedule in the past?!?! Mar 28 11:42:47 DEBUG[10314]: channel.c:1826 ast_set_write_format: Set channel OSS/dsp to write format slin Mar 28 11:42:47 DEBUG[10314]: channel.c:1859 ast_set_read_format: Set channel OSS/dsp to read format slin Mar 28 11:42:47 DEBUG[10314]: channel.c:1826 ast_set_write_format: Set channel OSS/dsp to write format slin Mar 28 11:42:47 DEBUG[10314]: channel.c:1826 ast_set_write_format: Set channel OSS/dsp to write format slin -- Started music on hold, class 'default', on OSS/dsp == Agent '1001' logged in (format slin/slin) Mar 28 11:42:47 DEBUG[10314]: chan_agent.c:1045 check_availability: Checking availability of '1001' [New Thread -1218274384 (LWP 10338)] Mar 28 11:42:47 DEBUG[10314]: app_queue.c:380 changethread: Device 'Agent/1001' changed to state '0' Mar 28 11:42:47 DEBUG[10314]: app_queue.c:408 changethread: Device 'Agent/1001' changed to state '0' Urgent handler [Thread -1218274384 (LWP 10338) exited] Mar 28 11:42:47 DEBUG[10314]: res_musiconhold.c:509 monmp3thread: Read 184 bytes of audio while expecting 1600 Mar 28 11:42:47 DEBUG[10314]: channel.c:1486 ast_read: Auto-deactivating generator Mar 28 11:42:47 DEBUG[10314]: channel.c:1826 ast_set_write_format: Set channel OSS/dsp to write format slin -- Stopped music on hold on OSS/dsp Urgent handler Program received signal SIGINT, Interrupt. [Switching to Thread -1208117568 (LWP 10314)] 0xffffe410 in __kernel_vsyscall () (gdb) thread apply all bt Thread 18 (Thread -1218540624 (LWP 10337)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08069330 in ast_waitfor_nandfds (c=0xb75e16a8, n=1, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb75e16a4) at channel.c:1096 #3 0x0806a41f in ast_safe_sleep_conditional (chan=0x8139978, ms=945, cond=0xb7e4cfa0 , data=0x814ba70) at channel.c:1165 #4 0xb7e54900 in __login_exec (chan=0x8139978, data=0x8139978, callbackmode=0) at chan_agent.c:1826 #5 0x0808754e in pbx_exec (c=0x8139978, app=0x814b618, data=0xb75e6080, newstack=1) at pbx.c:505 #6 0x0808b099 in pbx_extension_helper (c=0x8139978, con=0x0, context=0x8139adc "console", exten=0x8139bd0 "agente", priority=2, label=0x0, callerid=0x0, action=1) at pbx.c:1587 #7 0x0808cbae in ast_spawn_extension (c=0x8139978, context=0x8139adc "console", exten=0x8139bd0 "agente", priority=2, callerid=0x0) at pbx.c:2176 #8 0x0808d094 in ast_pbx_run (c=0x8139978) at pbx.c:2238 #9 0x0808ddc9 in pbx_thread (data=0x8139978) at pbx.c:2419 #10 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #11 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 16 (Thread -1216128080 (LWP 10333)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de22d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6 #2 0x4de22b83 in sleep () from /lib/tls/libc.so.6 #3 0xb783822f in scan_thread (unused=0x0) at pbx_spool.c:327 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 15 (Thread -1215845456 (LWP 10332)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de22d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6 #2 0x4de22b83 in sleep () from /lib/tls/libc.so.6 #3 0xb78c7365 in process_precache (ign=0x0) at pbx_dundi.c:2131 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 14 (Thread -1215579216 (LWP 10331)): ---Type to continue, or q to quit--- #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08054426 in ast_io_wait (ioc=0x815dcf8, howlong=1000) at io.c:254 #3 0xb78c7113 in network_thread (ignore=0x0) at pbx_dundi.c:2091 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 13 (Thread -1215149136 (LWP 10330)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08054426 in ast_io_wait (ioc=0x815c2b8, howlong=1000) at io.c:254 #3 0xb792de74 in do_monitor (data=0x0) at chan_skinny.c:2754 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 12 (Thread -1214805072 (LWP 10329)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08054426 in ast_io_wait (ioc=0x8154c50, howlong=1000) at io.c:254 #3 0xb79dcd87 in do_monitor (data=0x0) at chan_sip.c:9213 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 11 (Thread -1214075984 (LWP 10328)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de585c1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb7a2cac0 in ast_select (nfds=19, rfds=0xb7a2a3d0, wfds=0xb7a2a350, efds=0x0, tvp=0x0) at channel.h:966 #3 0xb7a2c8d4 in sound_thread (unused=0x0) at chan_oss.c:301 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 10 (Thread -1213576272 (LWP 10327)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08054426 in ast_io_wait (ioc=0x8158d38, howlong=1000) at io.c:254 #3 0xb7ab2386 in do_monitor (data=0x0) at chan_mgcp.c:3431 ---Type to continue, or q to quit--- #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 9 (Thread -1213142096 (LWP 10325)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x08054426 in ast_io_wait (ioc=0x814cdf8, howlong=1000) at io.c:254 #3 0xb7b3244b in network_thread (ignore=0x0) at chan_iax2.c:7711 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 8 (Thread -1210819664 (LWP 10324)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0xb7dc5e67 in do_monitor (data=0x0) at chan_zap.c:6090 #3 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #4 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 7 (Thread -1209795664 (LWP 10323)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de585c1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb7e44643 in ast_select (nfds=0, rfds=0xb7e3f3d0, wfds=0x0, efds=0xb7e3f350, tvp=0x0) at channel.h:966 #3 0xb7e44437 in do_monitor (data=0x0) at chan_phone.c:998 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 6 (Thread -1209226320 (LWP 10322)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de585c1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb7ef22bf in do_parking_thread (ignore=0x0) at channel.h:966 #3 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #4 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 5 (Thread -1208747088 (LWP 10320)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de22d86 in __nanosleep_nocancel () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- #2 0x4de22b83 in sleep () from /lib/tls/libc.so.6 #3 0xb7f42628 in spawn_mp3 (class=0x8129700) at res_musiconhold.c:386 #4 0xb7f428f9 in monmp3thread (data=0x8129700) at res_musiconhold.c:452 #5 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #6 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 4 (Thread -1208452176 (LWP 10319)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de585c1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb7f907d7 in ast_select (nfds=0, rfds=0xb7f873d0, wfds=0x0, efds=0xb7f87350, tvp=0x0) at channel.h:966 #3 0xb7f9058c in do_monitor (data=0x0) at chan_modem.c:655 #4 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #5 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 3 (Thread -1208120400 (LWP 10318)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4de55f74 in poll () from /lib/tls/libc.so.6 #2 0x080b8dd5 in listener (unused=0x0) at asterisk.c:339 #3 0x4dfe03ae in start_thread () from /lib/tls/libpthread.so.0 #4 0x4de5fb6e in clone () from /lib/tls/libc.so.6 Thread 1 (Thread -1208117568 (LWP 10314)): #0 0xffffe410 in __kernel_vsyscall () #1 0x4dfe550b in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0x080d4899 in read_char (el=0x811d6d8, cp=0xbffff4ab "") at read.c:301 #3 0x080d493a in el_getc (el=0x811d6d8, cp=0xbffff4ab "") at read.c:347 #4 0x080d47b0 in read_getcmd (el=0x811d6d8, cmdnum=0xfffffe00
, ch=0xbffff4ab "") at read.c:243 #5 0x080d4a7b in el_gets (el=0x811d6d8, nread=0xbffff62c) at read.c:443 #6 0x080bd8f7 in main (argc=2, argv=0xbffff904) at asterisk.c:2002 (gdb)