Asterisk - The Open Source Telephony Project  GIT-master-44aef04
Data Fields
ast_vm_functions Struct Reference

Voicemail function table definition. More...

#include <app.h>

Data Fields

ast_copy_recording_to_vm_fncopy_recording_to_vm
 
ast_has_voicemail_fnhas_voicemail
 
ast_inboxcount_fninboxcount
 
ast_inboxcount2_fninboxcount2
 
ast_vm_index_to_foldername_fnindex_to_foldername
 
ast_vm_mailbox_snapshot_create_fnmailbox_snapshot_create
 
ast_vm_mailbox_snapshot_destroy_fnmailbox_snapshot_destroy
 
ast_messagecount_fnmessagecount
 
struct ast_modulemodule
 The module for the voicemail provider. More...
 
const char * module_name
 The name of the module that provides the voicemail functionality. More...
 
unsigned int module_version
 The version of this function table. More...
 
ast_vm_msg_forward_fnmsg_forward
 
ast_vm_msg_move_fnmsg_move
 
ast_vm_msg_play_fnmsg_play
 
ast_vm_msg_remove_fnmsg_remove
 

Detailed Description

Voicemail function table definition.

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 539 of file include/asterisk/app.h.

Field Documentation

◆ copy_recording_to_vm

ast_copy_recording_to_vm_fn* copy_recording_to_vm

Definition at line 556 of file include/asterisk/app.h.

◆ has_voicemail

ast_has_voicemail_fn* has_voicemail

Definition at line 552 of file include/asterisk/app.h.

◆ inboxcount

ast_inboxcount_fn* inboxcount

Definition at line 553 of file include/asterisk/app.h.

◆ inboxcount2

ast_inboxcount2_fn* inboxcount2

Definition at line 554 of file include/asterisk/app.h.

◆ index_to_foldername

ast_vm_index_to_foldername_fn* index_to_foldername

Definition at line 557 of file include/asterisk/app.h.

◆ mailbox_snapshot_create

ast_vm_mailbox_snapshot_create_fn* mailbox_snapshot_create

Definition at line 558 of file include/asterisk/app.h.

◆ mailbox_snapshot_destroy

ast_vm_mailbox_snapshot_destroy_fn* mailbox_snapshot_destroy

Definition at line 559 of file include/asterisk/app.h.

◆ messagecount

ast_messagecount_fn* messagecount

Definition at line 555 of file include/asterisk/app.h.

◆ module

struct ast_module* module

The module for the voicemail provider.

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 550 of file include/asterisk/app.h.

Referenced by __ast_vm_register().

◆ module_name

const char* module_name

The name of the module that provides the voicemail functionality.

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 548 of file include/asterisk/app.h.

Referenced by __ast_vm_register(), ast_vm_unregister(), and unload_module().

◆ module_version

unsigned int module_version

The version of this function table.

Note
If the ABI for this table changes, the module version (VM_MODULE_VERSION) should be incremented.
Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 546 of file include/asterisk/app.h.

Referenced by __ast_vm_register().

◆ msg_forward

ast_vm_msg_forward_fn* msg_forward

Definition at line 562 of file include/asterisk/app.h.

◆ msg_move

ast_vm_msg_move_fn* msg_move

Definition at line 560 of file include/asterisk/app.h.

◆ msg_play

ast_vm_msg_play_fn* msg_play

Definition at line 563 of file include/asterisk/app.h.

◆ msg_remove

ast_vm_msg_remove_fn* msg_remove

Definition at line 561 of file include/asterisk/app.h.


The documentation for this struct was generated from the following file: