diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 8b68294bec..afbd9dc2ea 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -400,6 +400,99 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
subscribed to the mailbox passed in the first parameter.
+
+
+ Reads or sets counters for MiniVoicemail message.
+
+
+
+ If account is given and it exists, the counter is specific for the account.
+ If account is a domain and the domain directory exists, counters are specific for a domain.
+
+
+ The name of the counter is a string, up to 10 characters.
+
+
+ The counters never goes below zero. Valid operands for changing the value of a counter when assigning a value are:
+
+ Increment by value.
+ Decrement by value.
+ Set to value.
+
+
+
+
+ The operation is atomic and the counter is locked while changing the value. The counters are stored as text files in the minivm account directories. It might be better to use realtime functions if you are using a database to operate your Asterisk.
+
+
+ [MinivmRecord]
+ [MinivmGreet]
+ [MinivmNotify]
+ [MinivmDelete]
+ [MinivmAccMess]
+ [MinivmMWI]
+ [MINIVMACCOUNT]
+
+
+
+
+ Gets MiniVoicemail account information.
+
+
+
+
+ Valid items are:
+
+
+ Path to account mailbox (if account exists, otherwise temporary mailbox).
+
+
+ 1 is static Minivm account exists, 0 otherwise.
+
+
+ Full name of account owner.
+
+
+ Email address used for account.
+
+
+ Email template for account (default template if none is configured).
+
+
+ Pager template for account (default template if none is configured).
+
+
+ Account code for the voicemail account.
+
+
+ Pin code for voicemail account.
+
+
+ Time zone for voicemail account.
+
+
+ Language for voicemail account.
+
+
+ Channel variable value (set in configuration for account).
+
+
+
+
+
+
+
+
+ [MinivmRecord]
+ [MinivmGreet]
+ [MinivmNotify]
+ [MinivmDelete]
+ [MinivmAccMess]
+ [MinivmMWI]
+ [MINIVMCOUNTER]
+
+
+
***/
#ifndef TRUE
@@ -3361,41 +3454,13 @@ static struct ast_cli_entry cli_minivm[] = {
static struct ast_custom_function minivm_counter_function = {
.name = "MINIVMCOUNTER",
- .synopsis = "Reads or sets counters for MiniVoicemail message",
- .syntax = "MINIVMCOUNTER(:name[:operand])",
.read = minivm_counter_func_read,
.write = minivm_counter_func_write,
- .desc = "Valid operands for changing the value of a counter when assigning a value are:\n"
- "- i Increment by value\n"
- "- d Decrement by value\n"
- "- s Set to value\n"
- "\nThe counters never goes below zero.\n"
- "- The name of the counter is a string, up to 10 characters\n"
- "- If account is given and it exists, the counter is specific for the account\n"
- "- If account is a domain and the domain directory exists, counters are specific for a domain\n"
- "The operation is atomic and the counter is locked while changing the value\n"
- "\nThe counters are stored as text files in the minivm account directories. It might be better to use\n"
- "realtime functions if you are using a database to operate your Asterisk\n",
};
static struct ast_custom_function minivm_account_function = {
.name = "MINIVMACCOUNT",
- .synopsis = "Gets MiniVoicemail account information",
- .syntax = "MINIVMACCOUNT(:item)",
.read = minivm_account_func_read,
- .desc = "Valid items are:\n"
- "- path Path to account mailbox (if account exists, otherwise temporary mailbox)\n"
- "- hasaccount 1 if static Minivm account exists, 0 otherwise\n"
- "- fullname Full name of account owner\n"
- "- email Email address used for account\n"
- "- etemplate E-mail template for account (default template if none is configured)\n"
- "- ptemplate Pager template for account (default template if none is configured)\n"
- "- accountcode Account code for voicemail account\n"
- "- pincode Pin code for voicemail account\n"
- "- timezone Time zone for voicemail account\n"
- "- language Language for voicemail account\n"
- "- Channel variable value (set in configuration for account)\n"
- "\n",
};
/*! \brief Load mini voicemail module */