[asterisk-users] Outside SIP Caller accessing voivemail

Doug Lytle support at drdos.info
Fri Sep 12 04:47:11 CDT 2008


Joseph L. Casale wrote:
> Now that we have voicemail working, people have asked to be able to
> dial in externally and be able to access their voicemail. My dial plan is
>   

You can either setup a context for just checking voice mail or you can 
use the following option under the voice mail application:

core show application voicemail
<snip>

   0 - Jump to the 'o' extension in the current dialplan context.
   * - Jump to the 'a' extension in the current dialplan context.
      This application will set the following channel variable upon 
completion:
        VMSTATUS - This indicates the status of the execution of the 
VoiceMail
               application. The possible values are:
               SUCCESS | USEREXIT | FAILED

So, in your voice mail context you'd have:

exten => a,1,VoiceMailMain(@sip)
exten => a,n,HangUP()

When the user presses the *, they'd be dumped into voice mail main, in 
the sip context.

Doug

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list