[asterisk-users] Playback uses channel's language, background doesn't

kjcsb kjcsb at yahoo.com
Wed Feb 28 18:40:42 MST 2007


>http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetLanguage

>There you can found how you can get the current language ( the same
>used by playback ), so you can set a local variable to the current
>language and use it instead of the blank value

This works:
exten => 98764,1,Background(to-listen-to-it|m|${LANGUAGE()}|macro-systemrecording)

Wiki updated.

Thanks

Cameron


		
___________________________________________________________ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070228/0af3b844/attachment.htm


More information about the asterisk-users mailing list