I'm having the following problem:


I call into my Asterisk box (RedHat Linux 9.0, 1 Digium X100P card) to access voicemail. After dialing the appropriate extension I get voicemail, am presented with the user's unavailable message, and can leave a message normally.

The problem comes when I press "#" to end the recording, at which point I am told "Your message has been saved." Then there is a long lag of about 20 seconds of silence, during which Asterisk does not respond to DTMF at all, before I am finally dropped back into the priority list for the extension, which in this case is a simple "Goodbye" <hangup.>

Any idea why this long lag after message-recording termination is happening? I'd like Asterisk to hang up immediately after the incoming caller terminates their VM recording.

Thanks,

Sam
-------------

Here's the relevant portion of my extensions.conf file, plus output from the Asterisk CLI:

[local]
;
; We start with what to do when a call first comes in.
;
;exten => s,1,Wait,1                    ; Wait a second, just for fun
exten => s,1,Answer                     ; Answer the line
exten => s,2,DigitTimeout(2)    ; Set Digit Timeout to 2 seconds
exten => s,3,ResponseTimeout(5)         ; Set Response Timeout to 5 seconds
exten => s,4,BackGround(VY-ThanksForCalling); Play VY intro message (daytime)
;exten => s,5,Goto(s,4)
exten => i,1,Playback(invalid)          ; "That's not valid, try again"
exten => i,2,Goto(s,4)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
exten => 2,1,Voicemail(u1000)
exten => 5,1,Directory(VYStaff)
exten => 7,1,ResponseTimeout(1)
exten => 7,2,Voicemail(u70)             <-LONG PAUSE COMES HERE
exten => 7,3,Playback(vm-goodbye)
exten => 7,4,Hangup

Asterisk CLI output:
-- Set Response Timeout to 1
-- Executing VoiceMail("Zap/1-1", "u70") in new stack
== Parsing '/etc/asterisk/voicemail.conf': Found
-- Playing 'vm/70/unavail'
-- Playing 'vm-intro'
-- Playing 'beep'
-- Recording to /var/spool/asterisk/vm/70/INBOX/msg0006
-- User ended message by pressing #
-- Playing 'vm-msgsaved'
== Parsing '/etc/asterisk/voicemail.conf': Found <--LONG PAUSE COMES HERE
-- Executing Playback("Zap/1-1", "vm-goodbye") in new stack
-- Playing 'vm-goodbye'
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (incoming, 7, 4) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to