[asterisk-users] How to cancel the password check in VoicemailMain()

Mark Michelson mmichelson at digium.com
Wed Sep 19 11:03:18 CDT 2007


rrgv wrote:
> Hi
> in asterisk 1.4, I need to cancel the password check and allow users
> enter in the mailbox without entering password.
>
> I tried this:
>
> exten => 911119,1,Set(LANGUAGE()=es)
> exten => 911119,n,VoicemailMain(${Mailbox}@default,s)
> exten => 911119,n,Hangup
>
> and this:
> exten => 911119,1,Set(LANGUAGE()=es)
> exten => 911119,2,VoicemailMain(s)
> exten => 911119,n,Hangup
>
>
>   
The syntax is a bit off on your VoiceMailMain call. Change it to this 
and see if it helps:

    exten => 911119,n,VoiceMailMain(s${Mailbox}@default)

In other words, put the 's' at the beginning of the argument as opposed 
to a separate option.

Mark Michelson




More information about the asterisk-users mailing list