[asterisk-commits] eliel: trunk r160562 - /trunk/apps/app_minivm.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 3 11:48:47 CST 2008


Author: eliel
Date: Wed Dec  3 11:48:47 2008
New Revision: 160562

URL: http://svn.digium.com/view/asterisk?view=rev&rev=160562
Log:
- Add <variable /> tags when naming a channel variable.
- Add <filename /> tags when naming a filename.
- Simplify the xml formatting putting some enters.

Modified:
    trunk/apps/app_minivm.c

Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=160562&r1=160561&r2=160562
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Wed Dec  3 11:48:47 2008
@@ -198,17 +198,21 @@
 					<argument name="gain">
 						<para>Amount of gain to use</para>
 					</argument>
-					<para>Use the specified amount of gain when recording the voicemail message.  The units are whole-number decibels (dB).</para>
+					<para>Use the specified amount of gain when recording the voicemail message.
+					The units are whole-number decibels (dB).</para>
 				</option>
 			</optionlist>
 		</parameter>
 	</syntax>
 	<description>
-		<para>his application is part of the Mini-Voicemail system, configured in minivm.conf</para>
+		<para>This application is part of the Mini-Voicemail system, configured in <filename>minivm.conf</filename></para>
 		<para>MiniVM records audio file in configured format and forwards message to e-mail and pager.</para>
 		<para>If there's no user account for that address, a temporary account will be used with default options.</para>
-		<para>The recorded file name and path will be stored in MINIVM_FILENAME and the duration of the message will be stored in MINIVM_DURATION</para>
-		<para>Note: If the caller hangs up after the recording, the only way to send the message and clean up is to execute in the <literal>h</literal> extension.  The application will exit if any of the following DTMF digits are received and the requested extension exist in the current context.</para>
+		<para>The recorded file name and path will be stored in <variable>MINIVM_FILENAME</variable> and the duration
+		of the message will be stored in <variable>MINIVM_DURATION</variable></para>
+		<note><para>If the caller hangs up after the recording, the only way to send the message and clean up is to
+		execute in the <literal>h</literal> extension. The application will exit if any of the following DTMF digits
+		are received and the requested extension exist in the current context.</para></note>
 		<variablelist>
 			<variable name="MINIVM_RECORD_STATUS">
 				<para>This is the status of the record operation</para>
@@ -219,7 +223,6 @@
 		</variablelist>
 	</description>
 </application>
-
 <application name="MinivmGreet" language="en_US">
 	<synopsis>
 		Play Mini-Voicemail prompts.
@@ -250,7 +253,8 @@
 	<description>
 		<para>This application is part of the Mini-Voicemail system, configured in minivm.conf.</para>
 		<para>MinivmGreet() plays default prompts or user specific prompts for an account.</para>
-		<para>Busy and unavailable messages can be choosen, but will be overridden if a temporary message exists for the account.</para>
+		<para>Busy and unavailable messages can be choosen, but will be overridden if a temporary
+		message exists for the account.</para>
 		<variablelist>
 			<variable name="MINIVM_GREET_STATUS">
 				<para>This is the status of the greeting playback.</para>
@@ -261,7 +265,6 @@
 		</variablelist>
 	</description>
 </application>
-
 <application name="MinivmNotify" language="en_US">
 	<synopsis>
 		Notify voicemail owner about new messages.
@@ -285,9 +288,13 @@
 	</syntax>
 	<description>
 		<para>This application is part of the Mini-Voicemail system, configured in minivm.conf.</para>
-		<para>MiniVMnotify forwards messages about new voicemail to e-mail and pager.  If there's no user account for that address, a temporary account will be used with default options (set in minivm.conf).</para>
-		<para>If the channel variable MVM_COUNTER is set, this will be used in the message file name and available in the template for the message.</para>
-		<para>If no template is given, the default email template will be used to send email and default pager template to send paging message (if the user account is configured with a paging address.</para>
+		<para>MiniVMnotify forwards messages about new voicemail to e-mail and pager. If there's no user
+		account for that address, a temporary account will be used with default options (set in
+		<filename>minivm.conf</filename>).</para>
+		<para>If the channel variable <variable>MVM_COUNTER</variable> is set, this will be used in the message
+		file name and available in the template for the message.</para>
+		<para>If no template is given, the default email template will be used to send email and default pager
+		template to send paging message (if the user account is configured with a paging address.</para>
 		<variablelist>
 			<variable name="MINIVM_NOTIFY_STATUS">
 				<para>This is the status of the notification attempt</para>
@@ -297,10 +304,9 @@
 		</variablelist>
 	</description>
 </application>
-
 <application name="MinivmDelete" language="en_US">
 	<synopsis>
-		Delete Mini-Voicemail voicemail messages
+		Delete Mini-Voicemail voicemail messages.
 	</synopsis>
 	<syntax>
 		<parameter name="filename" required="true">
@@ -308,7 +314,7 @@
 		</parameter>
 	</syntax>
 	<description>
-		<para>This application is part of the Mini-Voicemail system, configured in minivm.conf.</para>
+		<para>This application is part of the Mini-Voicemail system, configured in <filename>minivm.conf</filename>.</para>
 		<para>It deletes voicemail file set in MVM_FILENAME or given filename.</para>
 		<variablelist>
 			<variable name="MINIVM_DELETE_STATUS">
@@ -351,8 +357,9 @@
 		</parameter>
 	</syntax>
 	<description>
-		<para>This application is part of the Mini-Voicemail system, configured in minivm.conf.</para>
-		<para>Use this application to record account specific audio/video messages for busy, unavailable and temporary messages.</para>
+		<para>This application is part of the Mini-Voicemail system, configured in <filename>minivm.conf</filename>.</para>
+		<para>Use this application to record account specific audio/video messages for busy, unavailable
+		and temporary messages.</para>
 		<para>Account specific directories will be created if they do not exist.</para>
 		<variablelist>
 			<variable name="MINIVM_ACCMESS_STATUS">
@@ -364,7 +371,6 @@
 		</variablelist>
 	</description>
 </application>
-
 <application name="MinivmMWI" language="en_US">
 	<synopsis>
 		Send Message Waiting Notification to subscriber(s) of mailbox.
@@ -389,8 +395,9 @@
 		</parameter>
 	</syntax>
 	<description>
-		<para>This application is part of the Mini-Voicemail system, configured in minivm.conf.</para>
-		<para>MinivmMWI is used to send message waiting indication to any devices whose channels have subscribed to the mailbox passed in the first parameter.</para>
+		<para>This application is part of the Mini-Voicemail system, configured in <filename>minivm.conf</filename>.</para>
+		<para>MinivmMWI is used to send message waiting indication to any devices whose channels have
+		subscribed to the mailbox passed in the first parameter.</para>
 	</description>
 </application>
 ***/




More information about the asterisk-commits mailing list