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([EMAIL PROTECTED]|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
