[Asterisk-Users] Calling voicemail from external phone.

Sherwood McGowan madprofzero at yahoo.com
Thu Sep 29 03:37:09 MST 2005


You want something like this:

exten=_+1NXXNXXXXXX,1,SIPDtmfMode(inband)
exten=_+1NXXNXXXXXX,2,Wait(4)
exten=_+1NXXNXXXXXX,3,Playback(please-enter-your)
exten=_+1NXXNXXXXXX,4,Background(ha/mailbox)
exten=_+1NXXNXXXXXX,5,DigitTimeout,5
exten=_+1NXXNXXXXXX,6,ResponseTimeout,10
exten=_+1NXXNXXXXXX,7,WaitExten(10)
exten=_+1NXXNXXXXXX,8,Goto(2)

exten=_1NXXNXXXXXX,1,VERBOSE(1|${DATETIME} -- Remote Voicemail Access for
${EXTEN} from ${CALLERIDNUM})
exten=_1NXXNXXXXXX,2,VoicemailMain(${EXTEN})
exten=_1NXXNXXXXXX,3,Hangup

exten=_NXXNXXXXXX,1,VERBOSE(1|${DATETIME} -- Remote Voicemail Access for
${EXTEN} from ${CALLERIDNUM})
exten=_NXXNXXXXXX,2,SetVar(EXT=1${EXTEN})
exten=_NXXNXXXXXX,3,VoicemailMain(${EXT})
exten=_NXXNXXXXXX,4,Hangup

exten=i,1,Playback(please-try-again)
exten=i,2,Goto(${NUM},2)

The DTMFMode force is something that our system wants, and the VERBOSE
messages are just for my system's readout so I can watch the output in
realtime. Also, the pattern matching will probably only work if you change
it, as my system has several thousand dids, so I use full numbers instead of
extension style numbers.

Hope this was helpful,
SKM 

->-----Original Message-----
->From: asterisk-users-bounces at lists.digium.com 
->[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
->Arne Morten Johansen
->Sent: Thursday, September 29, 2005 4:43 AM
->To: Asterisk Users Mailing List - Non-Commercial Discussion
->Subject: [Asterisk-Users] Calling voicemail from external phone.
->
->Hey. 
->
->How would I set up my dialplan if a user wants to call its 
->voicemail from an external phone?
->
->I'm thinking of getting the user to enter its mailbox number.
->
->Something like this:
->
->1. User calls the dedicated voicemail number.
->2. Phone prompts for mailbox number.
->3. Voicemail(${mailboxnr}@context) 
->
-> Thanks.
->
->
->
->_______________________________________________
->--Bandwidth and Colocation sponsored by Easynews.com --
->
->Asterisk-Users mailing list
->Asterisk-Users at lists.digium.com
->http://lists.digium.com/mailman/listinfo/asterisk-users
->To UNSUBSCRIBE or update options visit:
->   http://lists.digium.com/mailman/listinfo/asterisk-users
->





More information about the asterisk-users mailing list