Marche toujours pas :-/
extensions.conf:
Code:
exten => 2222,1,NoOp(Pseudo LANGUAGE is ${LANGUAGE})
exten => 2222,n,Set(CHANNEL(language)=fr)
exten => 2222,n,Set(NBR2CALL=0142928100)
;exten => 2222,n,SayNumber(${NBR2CALL})
exten => 2222,n,Playback(num:${NBR2CALL},say)
exten => 2222,n,Hangup
CLI:
Code:
-- Executing [2222@internal:1] NoOp("SIP/xlite-02b20004", "Pseudo LANGUAGE is ") in new stack
-- Executing [2222@internal:2] Set("SIP/xlite-02b20004", "CHANNEL(language)=fr") in new stack
-- Executing [2222@internal:3] Set("SIP/xlite-02b20004", "NBR2CALL=0142928100") in new stack
-- Executing [2222@internal:4] Playback("SIP/xlite-02b20004", "num:0142928100|say") in new stack
-- <SIP/xlite-02b20004> Playing 'digits/hundred' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/40' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/2' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/million' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/9' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/hundred' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/20' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/8' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/thousand' (language 'fr')
-- <SIP/xlite-02b20004> Playing 'digits/hundred' (language 'fr')
-- Executing [2222@internal:5] Hangup("SIP/xlite-02b20004", "") in new stack
== Spawn extension (internal, 2222, 5) exited non-zero on 'SIP/xlite-02b20004'
Soit "142 millions, 928 mille, cent".