[asterisk-dev] Re: asterisk-dev Digest, Vol 30, Issue 33
JR Richardson
jmr.richardson at gmail.com
Wed Jan 17 16:38:54 MST 2007
>
> edit your
> /etc/asterisk/logger.conf
>
> file and add "debug" to the console =>
> line
>
> Then:
> asterisk -r
>
> and at the CLI type:
> logger reload
>
> see if that helps.
> -Brett
I've already looked at the debugging output from the console, nothing
there to indicate the asterisk to mysql transactions.
I attached to the asterisk process with gdb, when dial into
voicemailmain, into the vmbox to change the password, gdb reports
(gdb) continue
Continuing.
[New Thread 20494 (LWP 427)]
[New Thread 21519 (LWP 428)]
[New Thread 22544 (LWP 429)]
[New Thread 23569 (LWP 433)]
When i try to attach to the threads with strace, i get this:
lab1:/etc/asterisk# strace -p 429
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
and ps -ax shows:
428 ? Z 0:00 [asterisk <defunct>]
429 ? Z 0:00 [asterisk <defunct>]
433 ? Z 0:00 [asterisk <defunct>]
427 ? Z 0:00 [asterisk <defunct>]
I know these are new threads called by asterisk, but how do I see what
is going on in the thread/voicemailmain function?
Thanks.
JR
More information about the asterisk-dev
mailing list