Douglas Garstang wrote:
Crikey. I can't get this to work!

[foo]
exten => 556,1,Answer
exten => 556,n,Voicemail([EMAIL PROTECTED])

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."


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to