[Asterisk-Users] Exit Voicemail to VoicemailMain?

Doug Kennedy doug at kennedygang.com
Fri Jun 11 10:44:26 MST 2004


Michael Welter wrote:

> I would like to call my own DID number from outside, get into 
> voicemail, and then push '#' to exit into VoicemailMain.  Is there a 
> way to do this?

This works for me, dial '89' while listening to the greeting and
it hops over to voicemailmain.  This would be in your incoming call context.
I've not tried a exten => #,... I suppose it could work too.

exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,Background(/var/spool/asterisk/voicemail/default/21/unavail)
exten => s,4,Voicemail2(s21)
exten => s,5,Congestion
exten => s,6,Hangup

exten => 89,1,Answer
exten => 89,2,VoiceMailMain2(s21)
exten => 89,3,Wait(5)
exten => 89,4,Hangup




More information about the asterisk-users mailing list