SetLanguage( )


SetLanguage( ) Sets the channel's language

 SetLanguage(   language   ) 

Sets the channel language to language . This information is used for the syntax in generation of numbers , and to choose a natural language file when available. For example, if language is set to fr and the file demo-congrats is requested to be played , the file fr/demo-congrats will be played if it exists; if not, the normal demo-congrats file will be played.

Always returns .

  exten => s,1,SetLanguage(fr)  exten => s,2,SayNumber(1234)     exten => s,3,Playback(enter-ext-of-person) 



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net