Michel Zenone wrote:
Hi!

Is this possible to make asterisk follow the dial plan after executing
VoicemailMain?

Happens by default, unless the caller hangs up of course.

; Give voicemail at extension 3509
exten => 3509,1,SetVar(LOOP=1)
exten => 3509,2,Answer
exten => 3509,3,Wait(.5)
exten => 3509,4,GotoIf($[X${RDNIS} = X]?5:10)
exten => 3509,5,VoicemailMain
exten => 3509,6,Wait(.5)
exten => 3509,7,GotoIf($[${LOOP} = 3]?11:8)
exten => 3509,8,SetVar(LOOP=$[${LOOP} + 1])
exten => 3509,9,Goto(5)
exten => 3509,10,VoiceMail(u${RDNIS})
exten => 3509,11,Hangup


_______________________________________________
--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