[Asterisk-Dev] voicemail cause crash!
Ma Zhiyong
zhiyong.m at gmail.com
Mon May 30 00:40:30 MST 2005
Hi, I use asterisk-1.0.3 and mysql 4 on redhat. make and normal call is OK.
But when I use voicemail. It crash.
Any one can help me?
When voicemail app runs, * crash and no more trace.
May 30 12:40:28 VERBOSE[3772]: -- Executing VoiceMail("SIP/xx",
"uxx") in new stack
Use GDB I found,
gdb asterisk core.XX
....................
#0 0x415d312b in find_user (ivm=0x41c93e0c, context=0x0,
mailbox=0x41c9425c "51292029") at mysql-vm-routines.h:75
75 if
(!strcmp(fields[i].name, "password")) {
(gdb) bt
#0 0x415d312b in find_user (ivm=0x41c93e0c, context=0x0,
mailbox=0x41c9425c "51292029") at mysql-vm-routines.h:75
#1 0x415d4923 in leave_voicemail (chan=0x8166168, ext=0x0, silent=0,
busy=0, unavail=1) at app_voicemail.c:1332
#2 0x415d9636 in vm_exec (chan=0x8166168, data=0x0) at app_voicemail.c:3761
#3 0x08073506 in pbx_exec (c=0x8166168, app=0x810ddb8,
data=0x41c96c6c, newstack=1) at pbx.c:469
#4 0x0807b3ce in pbx_extension_helper (c=0x8166168, context=0x81662c0
"from-sip", exten=0x0, priority=1,
callerid=0x80ffbc0 "\"856\" <856>", action=1096829988) at pbx.c:1277
#5 0x0807551a in ast_pbx_run (c=0x41604c24) at pbx.c:1758
#6 0x0807ba91 in pbx_thread (data=0x0) at pbx.c:1981
#7 0x4002f9b1 in pthread_start_thread () from /lib/i686/libpthread.so.0
More information about the asterisk-dev
mailing list