[asterisk-users] When does voicemail authentication take place?
jezzzz .
jezonthenet at yahoo.com
Mon Nov 27 18:14:46 MST 2006
Luki, thanks for the response. Could you give me an
example of the use of vmauthenticate in a very short
dialplan?
Thanks
Jez
--- Luki <lugosoft at gmail.com> wrote:
> > res |= ast_register_application(app4,
> vmauthenticate,
> > synopsis_vmauthenticate, descrip_vmauthenticate);
>
> You need to look more closely at the code. This
> snippet registers the
> dial plan application VMAuthenticate so
> vmauthenticate is called
> wherever you use that function in your dial plan.
>
> static char *app4 = "VMAuthenticate";
>
> static char *synopsis_vmauthenticate =
> "Authenticate with Voicemail passwords";
>
> static char *descrip_vmauthenticate =
> " VMAuthenticate([mailbox][@context][|options]):
> This application
> behaves the\n"
> "same way as the Authenticate application, but the
> passwords are taken from\n"
> "voicemail.conf.\n"
> " If the mailbox is specified, only that mailbox's
> password will be
> considered\n"
> "valid. If the mailbox is not specified, the channel
> variable
> AUTH_MAILBOX will\n"
> "be set with the authenticated mailbox.\n\n"
> " Options:\n"
> " s - Skip playing the initial prompts.\n";
>
> --Luki
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com
> --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>
>
http://lists.digium.com/mailman/listinfo/asterisk-users
>
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
More information about the asterisk-users
mailing list