mmm i still have some doubts :
i did all what was on the manual about tribox :
but it dosent work... i mean
i was using this piece of code:
exten => _7XXXXXXX,1,answer
exten => _7XXXXXXX,n,set(anagent=${AGENTBYCALLERID_${CALLERID(NUMBER)}})
exten => _7XXXXXXX,n,gotoif($["${anagent}"!="")]?marcarag)
exten => _7XXXXXXX,n,goto(from-internal,${EXTEN:1}|)
exten => _7XXXXXXX,n(marcarag),DEADAGI(queueDial.agi|${EXTEN:1}|sip/spa400/${EXTEN:1}|350|Agent/${anagent})
exten => _7XXXXXXX,n,hangup
on QM i got defined queue 350 also on FREEPBX but nothing happend..
and if i remove that peace of code from extension_custom the call gets an error check this out :
Called 3139000@queuedial/n
-- Executing [3139000@queuedial:1] Set("Local/3139000@queuedial-1520,2", "QDIALER_QUEUE=q-313") in new stack
-- Executing [3139000@queuedial:2] Set("Local/3139000@queuedial-1520,2", "QDIALER_NUMBER=9000") in new stack
-- Executing [3139000@queuedial:3] Set("Local/3139000@queuedial-1520,2", "QDIALER_AGENT=Agent/111") in new stack
-- Executing [3139000@queuedial:4] Set("Local/3139000@queuedial-1520,2", "QDIALER_CHANNEL=SIP/9000") in new stack
-- Executing [3139000@queuedial:5] Set("Local/3139000@queuedial-1520,2", "QueueName=q-313") in new stack
-- Executing [3139000@queuedial:6] MixMonitor("Local/3139000@queuedial-1520,2", "Q-q-313-1237062132.544.WAV|b|") in new stack
-- Executing [3139000@queuedial:7] Goto("Local/3139000@queuedial-1520,2", "qm-queuedial|s|1") in new stack
-- Goto (qm-queuedial,s,1)
-- Executing [s@qm-queuedial:1] NoOp("Local/3139000@queuedial-1520,2", "Outbound call -> A:Agent/111 N:9000 Q:q-313 Ch:SIP/9000") in new stack
-- Executing [s@qm-queuedial:2] Set("Local/3139000@queuedial-1520,2", "CDR(accountcode)=QDIALAGI") in new stack
-- Executing [s@qm-queuedial:3] Set("Local/3139000@queuedial-1520,2", "ST=1237062132") in new stack
-- Executing [s@qm-queuedial:4] Set("Local/3139000@queuedial-1520,2", "GM=QDV-Agent/111") in new stack
-- Executing [s@qm-queuedial:5] Set("Local/3139000@queuedial-1520,2", "GLOBAL(QDV-Agent/111)=U") in new stack
== Setting global variable 'QDV-Agent/111' to 'U'
-- Executing [s@qm-queuedial:6] Set("Local/3139000@queuedial-1520,2", "GLOBAL(QDV-Agent/111ans)=0") in new stack
== Setting global variable 'QDV-Agent/111ans' to '0'
-- Executing [s@qm-queuedial:7] Macro("Local/3139000@queuedial-1520,2", "queuelog|1237062132|1237062132.544|q-313|Agent/111|ENTERQUEUE|-|9000") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/3139000@queuedial-1520,2", "q-313|1237062132.544|Agent/111|ENTERQUEUE|-|9000|") in new stack
-- Executing [s@qm-queuedial:8] Dial("Local/3139000@queuedial-1520,2", "SIP/9000|30|gM(queuedial-answer^1237062132.544^QDV-Agent/111^q-313^Agent/111^1237062132)") in new stack
== Begin MixMonitor Recording Local/3139000@queuedial-1520,2
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@qm-queuedial:9] Set("Local/3139000@queuedial-1520,2", "CAUSECOMPLETE=") in new stack
== Auto fallthrough, channel 'Local/3139000@queuedial-1520,2' status is 'CHANUNAVAIL'
-- Local/3139000@queuedial-1520,1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:27] Goto("SIP/111-b7207260", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/111-b7207260", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/111-b7207260", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing [73139000@from-internal:5] Macro("SIP/111-b7207260", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/111-b7207260", "all-circuits-busy-now|noanswer") in new stack
-- Executing [s@macro-outisbusy:2] Playback("SIP/111-b7207260", "pls-try-call-later|noanswer") in new stack
-- Executing [s@macro-outisbusy:3] Macro("SIP/111-b7207260", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/111-b7207260", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/111-b7207260", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/111-b7207260", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/111-b7207260", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/111-b7207260", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/111-b7207260", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/111-b7207260' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/111-b7207260' in macro 'outisbusy'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/111-b7207260'
== End MixMonitor Recording SIP/111-b7207260
-- Executing [h@qm-queuedial:1] NoOp("Local/3139000@queuedial-1520,2", " "Call exiting: status U answered at: 0 DS: CHANUNAVAIL" ") in new stack
-- Executing [h@qm-queuedial:2] Goto("Local/3139000@queuedial-1520,2", "case-U") in new stack
-- Goto (qm-queuedial,h,4)
-- Executing [h@qm-queuedial:4] Set("Local/3139000@queuedial-1520,2", "WT=0") in new stack
-- Executing [h@qm-queuedial:5] Macro("Local/3139000@queuedial-1520,2", "queuelog|1237062132|1237062132.544|q-313|Agent/111|ABANDON|1|1|0") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/3139000@queuedial-1520,2", "q-313|1237062132.544|Agent/111|ABANDON|1|1|0") in new stack
-- Executing [h@qm-queuedial:6] Hangup("Local/3139000@queuedial-1520,2", "") in new stack
== Spawn extension (qm-queuedial, h, 6) exited non-zero on 'Local/3139000@queuedial-1520,2'
== End MixMonitor Recording Local/3139000@queuedial-1520,2
:s