I have the following in the dialplan: [macro-systemrecording] exten => s,1,Goto(${ARG1},1) exten => dorecord,1,Record(/tmp/${CALLERID(number)}-ivrrecording:wav) exten => dorecord,n,Wait(1) exten => dorecord,n,Goto(confmenu,1) exten => docheck,1,Playback(/tmp/${CALLERID(number)}-ivrrecording) exten => docheck,n,Wait(1) exten => docheck,n,Goto(confmenu,1) exten => confmenu,1,Background(to-listen-to-it&press-1&to-rerecord-it&press-star|m||macro-systemrecording) exten => confmenu,n,Read(RECRESULT||1|||4) exten => confmenu,n,GotoIf($["x${RECRESULT}"="x*"]?dorecord,1) exten => confmenu,n,GotoIf($["x${RECRESULT}"="x1"]?docheck,1) exten => confmenu,n,Goto(1) exten => 1,1,Goto(docheck,1) exten => *,1,Goto(dorecord,1) exten => t,1,Playback(goodbye) exten => t,n,Hangup exten => i,1,Playback(pm-invalid-option) exten => i,n,Goto(confmenu,1) exten => h,1,Hangup
When this is called the following is shown in the CLI -- Goto (macro-systemrecording,docheck,1) -- Executing Playback("SIP/223344-0928bbb8", "/tmp/2595-ivrrecording") in new stack -- Playing '/tmp/2595-ivrrecording' (language 'nz') -- Executing Wait("SIP/223344-0928bbb8", "1") in new stack -- Executing Goto("SIP/223344-0928bbb8", "confmenu|1") in new stack -- Goto (macro-systemrecording,confmenu,1) -- Executing BackGround("SIP/223344-0928bbb8", "to-listen-to-it&press-1&to-rerecord-it&press-star|m||macro-systemrecording") in new stack -- Playing 'to-listen-to-it' (language '') As can be seen, Playback uses the channel's language 'nz' but BackGround does not. Could anyone advise what I'm doing wrong? Thanks Cameron ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
_______________________________________________ --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