Problem in queue with multi-language


#1

i using chinese and english sound files in my asterisk 1.2.6

i set sip.conf language=cn and extensions.conf Set(LANGUAGE()=cn)
when called in queue try transfer function it will playback en sounds.

CLI Messages:

    -- Executing Macro("SIP/8703-49ea", "common") in new stack
    -- Executing Set("SIP/8703-49ea", "LANGUAGE()=cn") in new stack
    -- Executing Answer("SIP/8703-49ea", "") in new stack
    -- Executing Set("SIP/8703-49ea", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5
    -- Executing Set("SIP/8703-49ea", "TIMEOUT(response)=15") in new stack
    -- Response timeout set to 15
    -- Executing BackGround("SIP/8703-49ea", "welcome") in new stack
    -- Playing 'welcome' (language 'cn')
  == CDR updated on SIP/8703-49ea
    -- Executing Macro("SIP/8703-49ea", "common") in new stack
    -- Executing Set("SIP/8703-49ea", "LANGUAGE()=cn") in new stack
    -- Executing Queue("SIP/8703-49ea", "default1|t|||120") in new stack
    -- Started music on hold, class 'default', on channel 'SIP/8703-49ea'
    -- Called SIP/1001
    -- SIP/1001-8ea5 is ringing
    -- SIP/1001-8ea5 answered SIP/8703-49ea
    -- Stopped music on hold on SIP/8703-49ea
    -- Attempting native bridge of SIP/8703-49ea and SIP/1001-8ea5
    -- Attempting native bridge of SIP/8703-49ea and SIP/1001-8ea5
    -- Started music on hold, class 'default', on channel 'SIP/8703-49ea'
    -- Playing 'pbx-transfer' (language 'en')
    -- Unable to find extension '' in context 'from-sipuser'
    -- Playing 'pbx-invalid' (language 'cn')
    -- Stopped music on hold on SIP/8703-49ea
    -- Attempting native bridge of SIP/8703-49ea and SIP/1001-8ea5

my extensions.conf

[from-siptrunk]
include = app-meetme
include = app-trunk

[app-trunk]
exten => s,1,Macro(common)
exten => s,2,Answer
exten => s,3,Set(TIMEOUT(digit)=${TIMEOUT_DIGIT})
exten => s,4,Set(TIMEOUT(response)=${TIMEOUT_RESPONSE}) 
exten => s,5,Background(welcome)

exten => _XXXX,1,Macro(common)
exten => _XXXX,2,Set(GROUP()=OUTBOUND_GROUP)
exten => _XXXX,3,GotoIf($[${GROUP_COUNT()} > ${CONCURRENT}]?303)
exten => _XXXX,4,dial(SIP/${EXTEN},${RINGTIME},t)
exten => _XXXX,5,Hangup

exten => _XXXX,303,Macro(maxconcalls)

;for queue call
exten => _[0-9]#,1,Macro(common)
exten => _[0-9]#,2,Queue(default${EXTEN:0:1}|t|||120)
exten => _[0-9]#,3,Goto(s,1)
exten => _[0-9],1,Macro(common)
exten => _[0-9],2,Queue(default${EXTEN}|t|||120)
exten => _[0-9],3,Goto(s,1)

exten => i,1,Hangup
exten => t,1,Hangup

my queue.conf

[general]
persistentmemebers=no

[default1]
;-------noset
;musiconhold=default
;announce=queue-xxx
;servicelevel=60
;monitor-format = gsm|wav|wav49
;monitor-join = yes
;eventmemberstatusoff = no
;-------default
context=app_trunk
weight=0
maxlen=0
announce-frequency=30
periodic-announce-frequency=10
announce-holdtime=yes
announce-round-seconds=10
queue-youarenext = queue-youarenext
queue-thereare	= queue-thereare
queue-callswaiting = queue-callswaiting
queue-holdtime = queue-holdtime
queue-minutes = queue-minutes
queue-seconds = queue-seconds
queue-thankyou = queue-thankyou
queue-lessthan = queue-less-than
queue-reporthold = queue-reporthold
periodic-announce = queue-periodic-announce
joinempty = strict
leavewhenempty = yes
eventwhencalled = yes
reportholdtime = no
memberdelay = 0
timeoutrestart = yes
;--------changed
strategy=ringall
timeout=15
retry=5
wrapuptime=15
member => SIP/1001

how can i do?

thanks