One-Touch Voicemail
With
this feature added to your Asterisk server, the voicemail password prompt
will be skipped when dialing *97 directly from the extension. A password is
still required when accessing a voicemail account remotely via *98. Users
like this feature, and it is particularly convenient in the Hospitality
industry for hotel/motel room phones.
By
John Johnson 8/31/2012
|
In /etc/asterisk/extensions_custom.conf add the following at the bottom of the file with at
least one blank line separating it from the preceding lines:
[one-touch-vm]
exten =>
*97,1,Answer
exten =>
*97,n,Wait(1)
exten =>
*97,n,Macro(user-callerid,)
exten =>
*97,n,Macro(get-vmcontext,${AMPUSER})
exten =>
*97,n,VoiceMailMain(${AMPUSER}@${VMCONTEXT},s)
exten =>
*97,n,Hangup
|
While still editing
/etc/asterisk/extensions_custom.conf find the existing
“from-internal-custom” context (probably toward the top of the file) it will
generally look like this:
[from-internal-custom]
exten =>
1234,1,Playback(demo-congrats)
; extensions can dial 1234
exten =>
1234,2,Hangup()
exten =>
h,1,Hangup()
include => agentlogin
include =>
conferences
include =>
calendar-event
include =>
weather-wakeup
And add this line to the bottom
of it making sure to leave at least one blank line separating your addition
and the next entries in the file:
include =>
one-touch-vm
This adds the new custom
context to the dialplan.
|