[asterisk-commits] kmoore: branch kmoore/say_alpha_tweaks r397428 - /team/kmoore/say_alpha_tweak...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 22 11:59:41 CDT 2013
Author: kmoore
Date: Thu Aug 22 11:59:38 2013
New Revision: 397428
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397428
Log:
Fix documentation
Modified:
team/kmoore/say_alpha_tweaks/main/pbx.c
Modified: team/kmoore/say_alpha_tweaks/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/say_alpha_tweaks/main/pbx.c?view=diff&rev=397428&r1=397427&r2=397428
==============================================================================
--- team/kmoore/say_alpha_tweaks/main/pbx.c (original)
+++ team/kmoore/say_alpha_tweaks/main/pbx.c Thu Aug 22 11:59:38 2013
@@ -506,30 +506,38 @@
Say Alpha.
</synopsis>
<syntax>
+ <parameter name="casetype" required="true" >
+ <enumlist>
+ <enum name="a">
+ <para>Case sensitive (all) pronunciation.
+ (Ex: SayAlphaCase(a,aBc); - lowercase a uppercase b lowercase c).</para>
+ </enum>
+ <enum name="l">
+ <para>Case sensitive (lower) pronunciation.
+ (Ex: SayAlphaCase(l,aBc); - lowercase a b lowercase c).</para>
+ </enum>
+ <enum name="n">
+ <para>Case insensitive pronunciation. Equivalent to SayAlpha.
+ (Ex: SayAlphaCase(n,aBc) - a b c).</para>
+ </enum>
+ <enum name="u">
+ <para>Case sensitive (upper) pronunciation.
+ (Ex: SayAlphaCase(u,aBc); - a uppercase b c).</para>
+ </enum>
+ </enumlist>
+ </parameter>
<parameter name="string" required="true" />
- <parameter name="casetype">
- <optionlist>
- <option name="i">
- <para>Case insensitive pronunciation.
- (Ex: SayAlpha(aBc,i) - a b c).</para>
- </option>
- <option name="s">
- <para>Case sensitive pronunciation.
- (Ex: SayAlpha(aBc,s); - a uppercase b c).</para>
- </option>
- </optionlist>
- </parameter>
</syntax>
<description>
<para>This application will play the sounds that correspond to the letters of the
given <replaceable>string</replaceable>. Optionally, a <replaceable>casetype</replaceable> may be
- specified. This will be used for case-insensitive or case-sensitive pronunciations.
- No option given will default to normal operation of case insensitive.</para>
+ specified. This will be used for case-insensitive or case-sensitive pronunciations.</para>
</description>
<see-also>
<ref type="application">SayDigits</ref>
<ref type="application">SayNumber</ref>
<ref type="application">SayPhonetic</ref>
+ <ref type="application">SayAlpha</ref>
<ref type="function">CHANNEL</ref>
</see-also>
</application>
More information about the asterisk-commits
mailing list