You will need to record the prompts or better yet have Alison
(theivrvoice.com) do them and release them back to the project.
The configuration assumes a few things:
1 The CallerIdNumber is the correct extension of the person that
will have calls forwarded.
2 A menu option can be used IE 8510 to setup forward to number.
3 The user has an existing VM account.
4 To call out I need to dial 9.
Prompt for read should be:
Please enter the attendent number you will to have calls transferred to
when callers to your mailbox press 0m, floowing by the pund key.
If it is an outside line please prefix number with 9, to cancel dial 999
and press pound.
Exten => 8510,1,Goto(add-my-own-operator,s,1)
[add-my-own-operator]
Exten => s,1,VMAuthenticate(${CALLERID(num)}@context|)
Exten => s,2,Read(FORWARDNUMBER|promt)
Exten => s,3,GotoIf($[${FORWARDNUMBER} = 999]?4:6)
Exten => s,4,Set(DB(attendent/${CALLERID(num)=0)
Exten => s,5,Goto(s-hangup,1)
Exten => s,6,Set(DB(attendent/${CALLERID(num)}=${FORWARDNUMBER})
Exten => s,7,Goto(s-hangup,1)
Exten => s-hangup,1,PlayBack(goodbye)
Exten => s-hangup,2,Hangup
Now place this in a context that your voiucemail uses for extensons.
The a extension is run with the user (caller) presses 0.
Exten => a,1,Set(FORWARDNUMBER=${DB(attendent/${EXTEN})
Exten => a,2,GotoIf($[x${FORWARDNUMBER} = "x"]?3:4)
Exten => a,3,Set(FORWARDNUMBER=0)
Exten => a,4,Dial(Local/${FORWARDNUMBER}@internal)
I have not tested this and this is something that put together in the
spirit of Christmas. If you have any problems let me know....
Alex
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com
> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of
> Iain Barker
> Sent: Monday, December 26, 2005 5:18 PM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] Operator breakout from voicemail
>
> We are in the process of replacing an M1 / Meridian Mail
> system with Asterisk and Comedian Mail.
>
> One of the Meridian features most widely used by our phones
> is the avility to "press 0" to break out of the call during
> the voicemail announcement.
>
> (so that the caller can initiate redirection to a
> pre-configured number, instead of leaving a message.)
>
> i.e. "press 0 now to reach my cellphone, or leave a message
> after the tone"
>
> Can anyone suggest how this can be implemented in Comedian Mail?
>
> The way it works on Meridian Mail currently is that each user
> can configure their own dial-out number.
>
> This is done using the voicemail IVR, to specify the number
> that will be called when 0 is pressed during the voicemail greeting.
>
> I thought of configuring an Asterisk IVR for each user that
> is triggered before voicemail, but then each user would need
> to be manually provisioned by the administrator.
>
> Any ideas?
>
> thanks!
> _______________________________________________
> --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
>