Hi Cameron,<br><br>Why not automatically set the language that should be use at the beginning.<br>Set(LANGUAGE()=nz)<br><br>Hope that helps.<br><br>Best Regards,<br>Joanna<br><br><div><span class="gmail_quote">On 2/28/07,
<b class="gmail_sendername">Moises Silva</b> <<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetLanguage">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+SetLanguage</a><br><br>There you can found how you can get the current language ( the same
<br>used by playback ), so you can set a local variable to the current<br>language and use it instead of the blank value<br><br>Regards<br><br>On 2/26/07, kjcsb <<a href="mailto:kjcsb@yahoo.com">kjcsb@yahoo.com</a>> wrote:
<br>><br>><br>><br>><br>> >it may be a bug, try creating a simple test script with only 2<br>> >extensions, one with playback the other one with background and see<br>> >how it works, also post here the asterisk version you are using.
<br>> Asterisk 1.2.13<br>><br>> exten => 98765,1,Playback(to-listen-to-it)<br>> exten =><br>> 98764,1,Background(to-listen-to-it|m||macro-systemrecording)<br>> exten => 98763,1,Background(to-listen-to-it)
<br>><br>> -- Executing Playback("SIP/112233-09289b40", "to-listen-to-it") in new<br>> stack<br>> -- Playing 'to-listen-to-it' (language 'nz')<br>> -- Executing Hangup("SIP/112233-09289b40", "") in new stack
<br>> == Spawn extension (1100006-2000, h, 1) exited non-zero on<br>> 'SIP/112233-09289b40'<br>> -- Executing BackGround("SIP/112233-09289b40",<br>> "to-listen-to-it|m||macro-systemrecording") in new stack
<br>> -- Playing 'to-listen-to-it' (language '')<br>> -- Executing Hangup("SIP/112233-09289b40", "") in new stack<br>> == Spawn extension (1100006-2000, h, 1) exited non-zero on
<br>> 'SIP/112233-09289b40'<br>> -- Executing BackGround("SIP/112233-09289b40",<br>> "to-listen-to-it") in new stack<br>> -- Playing 'to-listen-to-it' (language 'nz')
<br>> -- Executing Hangup("SIP/112233-09289b40", "") in new stack<br>> == Spawn extension (1100006-2000, h, 1) exited non-zero on<br>> 'SIP/112233-09289b40'<br>><br>> So it seems assume that since I passed a blank language override to the
<br>> Background application, that I want a blank language. Any ideas on how to<br>> get background to use the default language?<br>><br>> Regards<br>><br>> Cameron<br>> ________________________________
<br>> Inbox full of unwanted email? Get leading protection and 1GB storage with<br>> All New Yahoo! Mail.<br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br><br><br>--<br>"Su nombre es GNU/Linux, no solamente Linux, mas info en <a href="http://www.gnu.org">http://www.gnu.org</a>"<br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>