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
Regards
On 2/26/07, kjcsb <[EMAIL PROTECTED]> wrote:
>it may be a bug, try creating a simple test script with only 2
>extensions, one with playback the other one with background and see
>how it works, also post here the asterisk version you are using.
Asterisk 1.2.13
exten => 98765,1,Playback(to-listen-to-it)
exten =>
98764,1,Background(to-listen-to-it|m||macro-systemrecording)
exten => 98763,1,Background(to-listen-to-it)
-- Executing Playback("SIP/112233-09289b40", "to-listen-to-it") in new
stack
-- Playing 'to-listen-to-it' (language 'nz')
-- Executing Hangup("SIP/112233-09289b40", "") in new stack
== Spawn extension (1100006-2000, h, 1) exited non-zero on
'SIP/112233-09289b40'
-- Executing BackGround("SIP/112233-09289b40",
"to-listen-to-it|m||macro-systemrecording") in new stack
-- Playing 'to-listen-to-it' (language '')
-- Executing Hangup("SIP/112233-09289b40", "") in new stack
== Spawn extension (1100006-2000, h, 1) exited non-zero on
'SIP/112233-09289b40'
-- Executing BackGround("SIP/112233-09289b40",
"to-listen-to-it") in new stack
-- Playing 'to-listen-to-it' (language 'nz')
-- Executing Hangup("SIP/112233-09289b40", "") in new stack
== Spawn extension (1100006-2000, h, 1) exited non-zero on
'SIP/112233-09289b40'
So it seems assume that since I passed a blank language override to the
Background application, that I want a blank language. Any ideas on how to
get background to use the default language?
Regards
Cameron
________________________________
Inbox full of unwanted email? Get leading protection and 1GB storage with
All New Yahoo! Mail.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users