[asterisk-users] file and on SayNumber() app
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Jul 23 05:38:02 CDT 2012
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 at from-internal:1] Set("SIP/103-0000035d",
> "LANGUAGE=en") in new stack
> -- Executing [888 at 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:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list