[asterisk-users] When does voicemail authentication take place?

Luki lugosoft at gmail.com
Fri Nov 24 16:33:32 MST 2006


> 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


More information about the asterisk-users mailing list