Hi again

I'd like to configured my Asterisk to use german sounds for the
"Say"-commands...

I installed the sounds-files and I tried them with
"Playback(de/demo-echodone)" and it works.

Now I tried to add an extension to say the current time:

exten => 24,1,Verbose(2,Time asked by ${CALLERID(num)})
Exten => 24,n,Set(CHANNEL(language)=de)
Exten => 24,n,SayUnixTime()
Exten => 24,n,Hangup

But if I call the "24", it says the time in English...
On the CLI I see:

    -- Executing [24@default:2] Set("SIP/00493511111111-00000003", 
"CHANNEL(language)=de") in new stack
    -- Executing [24@default:3] SayUnixTime("SIP/00493511111111-00000003", "") 
in new stack
    -- <SIP/00493511111111-00000003> Playing 'digits/day-0.gsm' (language 'de')
    -- <SIP/00493511111111-00000003> Playing 'digits/h-14.gsm' (language 'de')
...

So, it seems, it would use the German sounds, but it doesn't...
Has someone an explanation why it works so?

Thanks
Luca Bertoncello
(lucab...@lucabert.de)

-- 
_____________________________________________________________________
-- 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