[Asterisk-Users] Voicemail 0 for operator call routing

Don Pobanz asterisk at hastingsutilities.com
Tue Feb 21 13:53:11 MST 2006


Paul Tinsley wrote:
> Does anyone know of a way to specify what extension is dialed when 0 is 
> pressed in the voicemail system.  I have a situation where there is more 
> than one secretary and they want the 0 to redirect to the appropriate 
> secretary for the two groups of people.
> So an example would be:
> 555-1234 -> voicemail -> Secretary 1
> 555-1235 -> voicemail -> Secretary 2
> 

You will need to set up two contexts for your phones. If someone dials 
someone who should reach secretary 1 when they 0 out of voicemail, then 
send them to context1. For secretary 2, send them to context2.


[desks]
   exten => 5551234,1,GoTo(context1,5551234,1)
   exten => 5551235,1,GoTo(context2,5551235,1)

[context1]
   exten => 5551234,3,Dial(Zap/10,18,t)
   exten => 5551234,4,Voicemail,us5551234
   exten => 5551234,104,Voicemail,b5551234

   exten => o,1,dial(secretary1)

[context2]
   exten => 5551235,3,Dial(Zap/11,18,t)
   exten => 5551235,4,Voicemail,us5551235
   exten => 5551235,104,Voicemail,b5551235

   exten => o,1,dial(secretary2)

Don Pobanz




More information about the asterisk-users mailing list