VMAuthenticate works but I didn't find it to have the type of control that I
was looking for such as using custom prompts separate from the voice mail
prompts, controling how many times the user is prompted, etc. I was able to
come up with the exact
solution I was looking for combined with John Kiniston's suggestion for
determining the dialing extension's mailbox:
exten => 1234,1,Answer()
same => n,Set(peer=${SIPCHANINFO(peername)})
same => n,Set(mailbox=${SIPPEER(${peer},mailbox)})
same => n,GotoIf(${MAILBOX_EXISTS(${mailbox})}?vmpass:hangup)
same =>
n(vmpass),Set(vmpass=${CUT(AST_CONFIG(voicemail.conf,default,${mailbox}),\,,1)})
same => n,NoOp(${vmpass})
same => n(hangup),Hangup()
Thank you everyone for your help!
Chet Stevens
[email protected] writes:
>On 06/11/2012 10:34 AM, Chet W. Stevens wrote:
>> I would like to be able to use the dialing extension's voicemail box
>> password to authenticate or as a PIN code in the dialplan. Is there a
>> best method for doing this? I could use AGI scripting but I was hoping
>> there was a built-in dialplan means for doing this. I have used
>> VMAuthenticate but I would like more flexibility than what this offers
>
>What do you need that VMAuthenticate does not offer?
>
>--
>Kevin P. Fleming
>Digium, Inc. | Director of Software Technologies
>Jabber: [email protected] | SIP: [email protected] | Skype: kpfleming
>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
>Check us out at www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users