[asterisk-users] Voicemail Press '0'

Doug Lytle support at drdos.info
Tue Oct 10 09:09:05 MST 2006


Douglas Garstang wrote:
> Crikey. I can't get this to work!
>
> [foo]
> exten => 556,1,Answer
> exten => 556,n,Voicemail(3254101 at default)
>
>   
I believe it needs to be in the same context as your voicemail.  Mine is:

[voice-mail]

exten => s,1,Set(CALLBACK=${DB(vmcallback/${CALLERIDNUM})})
exten => s,2,GotoIf($["${CALLBACK}" = "YES"]?3:4)
exten => s,3,System(/usr/local/bin/vm-callout-delete.sh ${CALLERIDNUM})
exten => s,4,Set(TIMEOUT(response)=15)
exten => s,5,Set(TIMEOUT(digit)=4)
exten => s,6,VoicemailMain(@sip)
exten => s,7,Hangup()

exten => a,1,Goto(incoming,s,2) ; (* pressed to break out of directory, 
goto incoming context)
exten => o,1,Goto(incoming,s,2) ; (Zero pressed for operator, goto 
incoming context)

Doug

-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list