[Asterisk-Users] Voicemail doesn't hangup

Ben Bloomberg ben at benbloomberg.com
Wed Sep 24 18:15:50 MST 2003


I'm running the a very recent CVS version of asterisk on an RH9 
machine. My problem is that my x100p takes about 10 seconds to detect a 
hangup. After that it takes about 10 more seconds for the the zaptel 
device to release the line. Here's an example of my console report:

  == Parsing 
'/var/spool/asterisk/voicemail/default/101/INBOX/msg0000.txt':   == 
Parsing '/var/spool/asterisk/voicemail/default/101/INBOX/msg0000.txt': 
Found
     -- Playing '/var/lib/asterisk/sounds/vm-received'
     -- Playing '/var/lib/asterisk/sounds/digits/at'
     -- Playing '/var/lib/asterisk/sounds/digits/8'
     -- Playing '/var/lib/asterisk/sounds/digits/40'
     -- Playing '/var/lib/asterisk/sounds/digits/7'
     -- Playing '/var/lib/asterisk/sounds/digits/p-m'
     -- Playing '/var/spool/asterisk/voicemail/default/101/INBOX/msg0000'
     -- Playing 'vm-repeat'
     -- Playing 'vm-next'
     -- Playing 'vm-deleted'   <<== I hungup here
     -- Playing 'vm-repeat'
     -- Playing 'vm-next'
     -- Playing 'vm-undelete'
     -- Playing 'vm-toforward'
     -- Playing 'vm-savemessage'
   == Spawn extension (default, 105, 1) exited non-zero on 'Zap/1-1'
     -- Hungup 'Zap/1-1'
asterisk*CLI>
==========================
Here's an expample of when someone leaves a message:

  == CDR updated on Zap/1-1
     -- Executing VoiceMail2("Zap/1-1", "u101") in new stack
     -- Playing 'voicemail/default/101/unavail'
     -- Playing 'beep'
     -- x=0, open writing:  
/var/spool/asterisk/voicemail/default/101/INBOX/msg0001 format: wav, 
0x80c72e0
     -- x=1, open writing:  
/var/spool/asterisk/voicemail/default/101/INBOX/msg0001 format: gsm, 
0x80c77a8
(about a ten second delay after actual hangup)
     -- User hung up
(another ten second delay)
   == Spawn extension (vmmenu, 2, 1) exited non-zero on 'Zap/1-1'
     -- Hungup 'Zap/1-1'


As a result I get about 10 seconds of silence on the end of every 
voicemail message, and because my machine has a fairly small hd, this 
can become a problem very quickly. I was wondering if anyone else had 
this problem or a good fix.

Thanks,
-Ben




More information about the asterisk-users mailing list