On Mon, Jul 23, 2012 at 10:55:54AM +0300, נפתלי מאיר wrote:> It`s not will to be: ; "one - thousand - two - hundred - *and* - thirty -
> 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')
>
> 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@xxxxxxxxxx
+972-50-7952406 mailto:tzafrir.cohen@xxxxxxxxxx
http://www.xorcom.com iax:guest@xxxxxxxxxxxxxxxx/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
--
_____________________________________________________________________
-- 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
[Gnu Gatekeeper] [IETF Sipping] [Info Cyrus] [ALSA User] [Fedora Linux Users] [DCCP] [Gimp] [100% Free Online Dating] [Yosemite News] [Arts & Crafts] [Yosemite Photos] [Deep Creek Hot Springs] [Yosemite Campsites] [ISDN Cause Codes]
![]() |
![]() |