Asterisk Inst/Voice Mail
AsteriskInst/VoiceMail ¶
vm_execmain ¶
vm-opts Press 2 to change folders. Press 3 for advanced options. Press zero for mailbox options.
vm_box_exists ¶
#define AST_DECLARE_APP_ARGS(name, arglist) \ struct { \ unsigned int argc; \ char *argv[0]; \ arglist \ } name
#define AST_STANDARD_APP_ARGS(args, parse) \ args.argc = ast_app_separate_args(parse, '|', args.argv, (sizeof(args) - sizeof(args.argc)) / sizeof(args.argv[0]))
Local user routines keep track of which channels are using a given module resource. They can help make removing modules safer, particularly if they're in use at the time they have been requested to be removed
This macro adds a localuser to the list of users and increments the usecount. It expects a variable named chan of type ast_channel in the current scope. This function dynamically allocates memory. If this operation fails, it will cause your function to return -1 to the caller.
This macro removes a localuser from the list of users and decrements the usecount. vmauthenticate ¶
diff ¶
ast_play_and_wait ¶
ast_waitfordigit ¶
misc ¶
get_folder ¶
notify_new_message ¶
static int make_dir(char *dest, int len, char *context, char *ext, char *mailbox) { return snprintf(dest, len, "%s%s/%s/%s", VM_SPOOL_DIR, context, ext, mailbox); } static int make_file(char *dest, int len, char *dir, int num) { return snprintf(dest, len, "%s/msg%04d", dir, num); }
When making applications, always ast_strdupa(data) to a local pointer if you intend to parse the incoming data string.
vm_instructions ¶
vm-opts Press 2 to change folders. Press 3 for advanced options. Press zero for mailbox options.
vm_options ¶
vm-options Press 1 to record your unavailable message. Press 2 to record your busy message. Press 3 to record your name. Press 4 to record your temporary greeting. Press 5 to change your password. Press star to return to the main menu.
vm_intro_en ¶
play_record_review ¶
|
He is truly wise who gains wisdom from another's mishap. |