Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated toSVN-branch-10-r383982





Say </h1>


<p>Say a noun in declined form in order to count things


Selects things</p>


<p>Selects and plays the proper singular or plural form of a noun when saying things such as "five calls". English has simple rules for deciding when to say "call" and when to say "calls", but other languages have complicated rules which would be extremely difficult to implement in the Asterisk dialplan language.</p>

The <p>The correct sound file is selected by examining the number <em>number</em> and adding the appropriate suffix to filename<em>filename</em>. If the channel language is English, then the suffix will be either empty or "s". If the channel language is Russian or some other Slavic language, then the suffix will be empty for nominative, "x1" for genative singular, and "x2" for genative plural.</p>

Note <p>Note that combining filename <em>filename</em> with a suffix will not necessarily produce a correctly spelled plural form. For example, SayCountedNoun(2,man) will play the sound file "mans" rather than "men". This behavior is intentional. Since the file name is never seen by the end user, there is no need to implement complicated spelling rules. We simply record the word "men" in the sound file named "mans".</p>

This <p>This application does not automatically answer and should be preceeded by an application such as Answer() or Progress.





<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATASayCountedNoun(number,filename)






<li><code>number</code> - The number of


<li><code>filename</code> - File name stem for the noun that is the the name of the


See Also


<h3>See Also</h3>

<li><ac:link><ri:page ri:content-title="Asterisk 10 Application_SayCountedAdj" /></ac:link></li>
<li><ac:link><ri:page ri:content-title="Asterisk 10 Application_SayNumber


Import Version

This " /></ac:link></li>

<h3>Import Version</h3>

<p>This documentation was imported from Asterisk Version SVN-branch-10-r378689r383982</p>