On Tuesday 27 January 2009 02:03:37 Johansson Olle E wrote:
> 27 jan 2009 kl. 01.14 skrev Tilghman Lesher:
> > On Monday 26 January 2009 08:21:10 am Danny Nicholas wrote:
> >> Did you read the source for app_voicemail?  Line 239 says you have
> >> to set
> >> locale in the config and have the sound file einE.  Of course an
> >> easier way
> >> would be to locate the 19 day and month files and just replace them
> >> with
> >> German equivalents (assuming that 26 and 2009 sound the same in a
> >> German
> >> pronunciation).
> >
> > You might want to read his message before you start recommending
> > things.  The
> > OP was interested in emails, not message playback.  The language
> > setting only
> > affects prompt playback, not email messages.
>
> Minivoicemail actually has
>   - multiple e-mail formats
>   - locale support so you get the date in local language and format.

Unfortunately, it's using setlocale(3), which is not thread-safe.  Note that
there is a new thread-safe locale interface in POSIX 2008.  See the library
calls newlocale(3), uselocale(3), and freelocale(3).

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to