I have tried several versions of Asterisk with this same problem. I have set up Voicemail with SMDI off of a T1. Whether leaving a voicemail or checking voicemail after the user ends the call Asterisk dies altogether. I don’t see anything in the logs even with debug set. I did do an strace and got this:
stat64("/etc/asterisk/extconfig.conf", {st_mode=S_IFREG|0644, st_size=1657, …}) = 0
open("/etc/asterisk/extconfig.conf", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1657, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6fff000
read(4, “;\n; Static and realtime external”…, 4096) = 1657
read(4, “”, 4096) = 0
close(4) = 0
munmap(0xf6fff000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/asterisk.ctl"}, 110) = -1 ECONNREFUSED (Connection refused)
close(4) = 0
unlink("/var/run/asterisk.pid") = 0
open("/var/run/asterisk.pid", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, …}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6fff000
write(4, “3488\n”, 5) = 5
close(4) = 0
munmap(0xf6fff000, 4096) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6ff4708) = 3489
exit_group(0)
I’m not really sure how to read an strace but it looks like it dies right after reading the extconfig.conf . Any help would be greatly appreciated.
I’m currently trying version 1.6.0.3.