On Mon, Jul 23, 2012 at 10:55:54AM +0300, נפתלי מאיר wrote:
> Hello,
> 
> I use the SayNumber() with variable.
> 
> for example the number 1234 - asterisk play the number without and.
> 
> 
>     -- Executing [888@from-internal:1] Set("SIP/103-0000035d",
> "LANGUAGE=en") in new stack
>     -- Executing [888@from-internal:2] SayNumber("SIP/103-0000035d",
> "1234") in new stack
>     -- <SIP/103-0000035d> Playing 'digits/1.ulaw' (language 'en')
>     -- <SIP/103-0000035d> Playing 'digits/thousand.ulaw' (language 'en')
>     -- <SIP/103-0000035d> Playing 'digits/2.ulaw' (language 'en')
>     -- <SIP/103-0000035d> Playing 'digits/hundred.ulaw' (language 'en')
>     -- <SIP/103-0000035d> Playing 'digits/30.ulaw' (language 'en')
>     -- <SIP/103-0000035d> Playing 'digits/4.ulaw' (language 'en')
> 
> It`s not will to be: ; "one - thousand - two - hundred - *and* - thirty -
> four ??

Asterisk says numbers slightly differently depending on the language.
You would expect that if the language is, say, Hebrew. If the LANGUAGE
is set to 'he' or something that begins with 'he_', you'll get the
'and'.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to