[asterisk-users] file and on SayNumber() app

נפתלי מאיר nafmaeir at gmail.com
Mon Jul 23 06:05:50 CDT 2012


Thank you guys.

I found say.conf example file with and.

Naftali

On Mon, Jul 23, 2012 at 1:38 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> 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
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120723/960e293b/attachment-0001.htm>


More information about the asterisk-users mailing list