[asterisk-users] Playback uses channel's language,
background doesn't
kjcsb
kjcsb at yahoo.com
Mon Feb 26 21:24:08 MST 2007
>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
___________________________________________________________
What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070226/80a96642/attachment.htm
More information about the asterisk-users
mailing list