Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alien

Pages: [1] 2
1
QueueMetrics installation / Re: AsteriskNow
« on: June 25, 2008, 21:29:55 »
Asterisk now is too limited as linux distribution ... the conary update module always crash!!!

Stay with trixbox.  ;)

2
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 25, 2008, 21:27:40 »
how I change that?

Changin the custom dial string?

I have try this and does not work
Local/$SIP$/$OUTNUM$@queuedial/n

3
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 24, 2008, 22:25:19 »
here is queuedial

[queuedial]
exten => _XXX.,1,Set(MY_QUE=${EXTEN:0:3})
exten => _XXX.,2,Set(MY_NUM=${EXTEN:3})
exten => _XXX.,3,Set(MY_AGENT=${CALLERIDNUM})
exten => _XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten => _XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|SIP/user.provider.ent/${MY_NUM}|q-
${MY_QUE}|Agent/${MY_AGENT})
exten => _XXX.,7,Congestion

And there is what happens:

Verbosity was 3 and is now 10
    -- Executing [81230800@from-internal:1] Macro("SIP/27-09dfc990", "user-callerid|SKIPTTL|")              in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/27-09dfc990", "user-callerid: device 27")              in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/27-09dfc990", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/27-09dfc990", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/27-09dfc990", "1|Set|REALCALLERIDNUM=27"             ) in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/27-09dfc990", "REALCALLERIDNUM is 27") in              new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/27-09dfc990", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/27-09dfc990", "AMPUSERCIDNAME=lincoln") in              new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/27-09dfc990", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/27-09dfc990", "AMPUSERCID=27") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/27-09dfc990", "CALLERID(all)="lincoln" <27             >") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/27-09dfc990", "REALCALLERIDNUM=27") in new              stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/27-09dfc990", "0|Set|CHANNEL(language)=             ") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/27-09dfc990", "TTL:  ARG1: SKIPTTL") in n             ew stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/27-09dfc990", "1?continue") in new stac             k
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/27-09dfc990", "Using CallerID "lincoln" <             27>") in new stack
    -- Executing [81230800@from-internal:2] Set("SIP/27-09dfc990", "_NODEST=") in new stack
    -- Executing [81230800@from-internal:3] Macro("SIP/27-09dfc990", "record-enable|27|OUT|") i             n new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/27-09dfc990", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/27-09dfc990", "recordingcheck|20080624-1622             04|1214338924.13") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080624-162204|1214338924.13: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/27-09dfc990", "No recording needed") in ne             w stack
    -- Executing [81230800@from-internal:4] Macro("SIP/27-09dfc990", "dialout-trunk|3|1230800||             ") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/27-09dfc990", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/27-09dfc990", "0|Authenticate|") in new              stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/27-09dfc990", "0?disabletrunk|1") in new              stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/27-09dfc990", "DIAL_NUMBER=1230800") in new              stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/27-09dfc990", "DIAL_TRUNK_OPTIONS=tr") in n             ew stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/27-09dfc990", "GROUP()=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/27-09dfc990", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/27-09dfc990", "0?skipoutcid") in new sta             ck
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/27-09dfc990", "DIAL_TRUNK_OPTIONS=") in ne             w stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/27-09dfc990", "outbound-callerid|3") in              new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/27-09dfc990", "1?start") in new stac             k
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/27-09dfc990", "REALCALLERIDNUM is 27")              in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/27-09dfc990", "1?normcid") in new st             ack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/27-09dfc990", "USEROUTCID=") in new sta             ck
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/27-09dfc990", "EMERGENCYCID=") in new              stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/27-09dfc990", "TRUNKOUTCID=") in new s             tack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/27-09dfc990", "1?trunkcid") in new              stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/27-09dfc990", "1?usercid") in new s             tack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/27-09dfc990", "1?report") in new st             ack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/27-09dfc990", "CallerID set to "linco             ln" <27>") in new stack
    -- Executing [s@macro-dialout-trunk:12] AGI("SIP/27-09dfc990", "fixlocalprefix") in new sta             ck
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/27-09dfc990", "OUTNUM=1230800") in new sta             ck
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/27-09dfc990", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/27-09dfc990", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/27-09dfc990", "dialout-trunk-predial-hoo             k|") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/27-09dfc990", "0?bypass|1") in new stac             k
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/27-09dfc990", "1?customtrunk") in new s             tack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/27-09dfc990", "pre_num=AMP:Local/") in new              stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/27-09dfc990", "the_num=OUTNUM") in new sta             ck
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/27-09dfc990", "post_num=@queuedial/n") in              new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/27-09dfc990", "1?outnum:skipoutnum") in              new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/27-09dfc990", "the_num=1230800") in new st             ack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/27-09dfc990", "Local/1230800@queuedial/n|             300|") in new stack
    -- Called 1230800@queuedial/n
    -- Executing [1230800@queuedial:1] Set("Local/1230800@queuedial-f7bd,2", "QDIALER_QUEUE=q-1             23") in new stack
    -- Executing [1230800@queuedial:2] Set("Local/1230800@queuedial-f7bd,2", "QDIALER_NUMBER=08             00") in new stack
    -- Executing [1230800@queuedial:3] Set("Local/1230800@queuedial-f7bd,2", "QDIALER_AGENT=Age             nt/27") in new stack
    -- Executing [1230800@queuedial:4] Set("Local/1230800@queuedial-f7bd,2", "QDIALER_CHANNEL=S             IP/0800") in new stack
    -- Executing [1230800@queuedial:5] Set("Local/1230800@queuedial-f7bd,2", "QueueName=q-123")              in new stack
    -- Executing [1230800@queuedial:6] MixMonitor("Local/1230800@queuedial-f7bd,2", "Q-q-123-12             14338925.15.WAV|b|") in new stack
    -- Executing [1230800@queuedial:7] Goto("Local/1230800@queuedial-f7bd,2", "qm-queuedial|s|1             ") in new stack
    -- Goto (qm-queuedial,s,1)
    -- Executing [s@qm-queuedial:1] NoOp("Local/1230800@queuedial-f7bd,2", "Outbound call -> A:             Agent/27 N:0800 Q:q-123 Ch:SIP/0800") in new stack
    -- Executing [s@qm-queuedial:2] Set("Local/1230800@queuedial-f7bd,2", "CDR(accountcode)=QDI             ALAGI") in new stack
    -- Executing [s@qm-queuedial:3] Set("Local/1230800@queuedial-f7bd,2", "ST=1214338925") in n             ew stack
    -- Executing [s@qm-queuedial:4] Set("Local/1230800@queuedial-f7bd,2", "GM=QDV-Agent/27") in              new stack
    -- Executing [s@qm-queuedial:5] Set("Local/1230800@queuedial-f7bd,2", "GLOBAL(QDV-Agent/27)             =U") in new stack
  == Setting global variable 'QDV-Agent/27' to 'U'
    -- Executing [s@qm-queuedial:6] Set("Local/1230800@queuedial-f7bd,2", "GLOBAL(QDV-Agent/27a             ns)=0") in new stack
  == Setting global variable 'QDV-Agent/27ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/1230800@queuedial-f7bd,2", "queuelog|121433892             5|1214338925.15|q-123|Agent/27|ENTERQUEUE|-|0800") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/1230800@queuedial-f7bd,2", "q-123|1214338             925.15|Agent/27|ENTERQUEUE|-|0800|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/1230800@queuedial-f7bd,2", "SIP/0800|30|gM(queu             edial-answer^1214338925.15^QDV-Agent/27^q-123^Agent/27^1214338925)") in new stack
  == Begin MixMonitor Recording Local/1230800@queuedial-f7bd,2
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@qm-queuedial:9] Set("Local/1230800@queuedial-f7bd,2", "CAUSECOMPLETE=") in              new stack
  == Auto fallthrough, channel 'Local/1230800@queuedial-f7bd,2' status is 'CHANUNAVAIL'
    -- Local/1230800@queuedial-f7bd,1 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:28] Goto("SIP/27-09dfc990", "s-CONGESTION|1") in new st             ack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/27-09dfc990", "1?noreport") i             n new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/27-09dfc990", "TRUNK Dial faile             d due to CONGESTION - failing through to other trunks") in new stack
    -- Executing [81230800@from-internal:5] Macro("SIP/27-09dfc990", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/27-09dfc990", "all-circuits-busy-now|noans             wer") in new stack
    -- <SIP/27-09dfc990> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [h@qm-queuedial:1] NoOp("Local/1230800@queuedial-f7bd,2", " "Call exiting: sta             tus U answered at: 0 DS: CHANUNAVAIL"  ") in new stack
    -- Executing [h@qm-queuedial:2] Goto("Local/1230800@queuedial-f7bd,2", "case-U") in new sta             ck
    -- Goto (qm-queuedial,h,4)
    -- Executing [h@qm-queuedial:4] Set("Local/1230800@queuedial-f7bd,2", "WT=0") in new stack
    -- Executing [h@qm-queuedial:5] Macro("Local/1230800@queuedial-f7bd,2", "queuelog|121433892             5|1214338925.15|q-123|Agent/27|ABANDON|1|1|0") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/1230800@queuedial-f7bd,2", "q-123|1214338             925.15|Agent/27|ABANDON|1|1|0") in new stack
    -- Executing [s@qm-queuedial:6] Set("Local/1230800@queuedial-f7bd,2", "GLOBAL(QDV-Agent/27a             ns)=0") in new stack
  == Setting global variable 'QDV-Agent/27ans' to '0'
    -- Executing [s@qm-queuedial:7] Macro("Local/1230800@queuedial-f7bd,2", "queuelog|121433892             5|1214338925.15|q-123|Agent/27|ENTERQUEUE|-|0800") in new stack
    -- Executing [s@macro-queuelog:1] QueueLog("Local/1230800@queuedial-f7bd,2", "q-123|1214338             925.15|Agent/27|ENTERQUEUE|-|0800|") in new stack
    -- Executing [s@qm-queuedial:8] Dial("Local/1230800@queuedial-f7bd,2", "SIP/0800|30|gM(queu             edial-answer^1214338925.15^QDV-Agent/27^q-123^Agent/27^1214338925)") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@qm-queuedial:9] Set("Local/1230800@queuedial-f7bd,2", "CAUSECOMPLETE=") in              new stack
  == End MixMonitor Recording Local/1230800@queuedial-f7bd,2
    -- Executing [s@macro-outisbusy:2] Playback("SIP/27-09dfc990", "pls-try-call-later|noanswer             ") in new stack
    -- <SIP/27-09dfc990> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/27-09dfc990", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/27-09dfc990", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/27-09dfc990", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/27-09dfc990", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/27-09dfc990", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/27-09dfc990", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/27-09dfc990", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-09dfc990' in macro 'h             angupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-09dfc990' in macro 'o             utisbusy'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-09dfc990'
 

4
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 23, 2008, 20:11:03 »
No
I dont know how do this

but I read this
http://forum.queuemetrics.com/index.php?topic=261.0

And I have got this:

-- Executing [81230800@from-internal:1] Macro("SIP/27-093b8758", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/27-093b8758", "user-callerid: device 27") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/27-093b8758", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/27-093b8758", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/27-093b8758", "1|Set|REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/27-093b8758", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/27-093b8758", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/27-093b8758", "AMPUSERCIDNAME=lincoln") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/27-093b8758", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/27-093b8758", "AMPUSERCID=27") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/27-093b8758", "CALLERID(all)="lincoln" <27>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/27-093b8758", "REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/27-093b8758", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/27-093b8758", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/27-093b8758", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/27-093b8758", "Using CallerID "lincoln" <27>") in new stack
    -- Executing [81230800@from-internal:2] Set("SIP/27-093b8758", "_NODEST=") in new stack
    -- Executing [81230800@from-internal:3] Macro("SIP/27-093b8758", "record-enable|27|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/27-093b8758", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/27-093b8758", "recordingcheck|20080623-141004|1214244604.81") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080623-141004|1214244604.81: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/27-093b8758", "No recording needed") in new stack
    -- Executing [81230800@from-internal:4] Macro("SIP/27-093b8758", "dialout-trunk|3|1230800||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/27-093b8758", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/27-093b8758", "0|Authenticate|") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/27-093b8758", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/27-093b8758", "DIAL_NUMBER=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/27-093b8758", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/27-093b8758", "GROUP()=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/27-093b8758", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/27-093b8758", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/27-093b8758", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/27-093b8758", "outbound-callerid|3") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/27-093b8758", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/27-093b8758", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/27-093b8758", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/27-093b8758", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/27-093b8758", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/27-093b8758", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/27-093b8758", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/27-093b8758", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/27-093b8758", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/27-093b8758", "CallerID set to "lincoln" <27>") in new stack
    -- Executing [s@macro-dialout-trunk:12] AGI("SIP/27-093b8758", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/27-093b8758", "OUTNUM=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/27-093b8758", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/27-093b8758", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/27-093b8758", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/27-093b8758", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/27-093b8758", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/27-093b8758", "pre_num=AMP:Local/") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/27-093b8758", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/27-093b8758", "post_num=@queuedial/n") in new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/27-093b8758", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/27-093b8758", "the_num=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/27-093b8758", "Local/1230800@queuedial/n|300|") in new stack
    -- Called 1230800@queuedial/n
  == Spawn extension (queuedial, 1230800, 1) exited non-zero on 'Local/1230800@queuedial-bd07,2'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:28] Goto("SIP/27-093b8758", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/27-093b8758", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/27-093b8758", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing [81230800@from-internal:5] Macro("SIP/27-093b8758", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/27-093b8758", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/27-093b8758> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/27-093b8758", "pls-try-call-later|noanswer") in new stack
    -- <SIP/27-093b8758> Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-093b8758' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-093b8758'

6
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 18, 2008, 19:07:05 »
here is

[queuedial]
exten => _XXX.,1,Set(MY_QUE=${EXTEN:0:3})
exten => _XXX.,2,Set(MY_NUM=${EXTEN:3})
exten => _XXX.,3,Set(MY_AGENT=${CALLERIDNUM})
exten => _XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten =>
_XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|SIP/user.provider.net/${MY_NUM}|q-
${MY_QUE}|Agent/${MY_AGENT})
exten => _XXX.,7,Congestion

I have dial "81230800"  :-\

8 is the prefix like a manual...

Verbosity was 7 and is now 10
    -- Executing [81230800@from-internal:1] Macro("SIP/27-0831f968", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/27-0831f968", "user-callerid: device 27") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/27-0831f968", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/27-0831f968", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/27-0831f968", "1|Set|REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/27-0831f968", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/27-0831f968", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/27-0831f968", "AMPUSERCIDNAME=lincoln") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/27-0831f968", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/27-0831f968", "AMPUSERCID=27") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/27-0831f968", "CALLERID(all)="lincoln" <27>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/27-0831f968", "REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/27-0831f968", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/27-0831f968", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/27-0831f968", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/27-0831f968", "Using CallerID "lincoln" <27>") in new stack
    -- Executing [81230800@from-internal:2] Set("SIP/27-0831f968", "_NODEST=") in new stack
    -- Executing [81230800@from-internal:3] Macro("SIP/27-0831f968", "record-enable|27|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/27-0831f968", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/27-0831f968", "recordingcheck|20080618-130552|1213808752.12") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080618-130552|1213808752.12: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/27-0831f968", "No recording needed") in new stack
    -- Executing [81230800@from-internal:4] Macro("SIP/27-0831f968", "dialout-trunk|1|1230800||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/27-0831f968", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/27-0831f968", "0|Authenticate|") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/27-0831f968", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/27-0831f968", "DIAL_NUMBER=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/27-0831f968", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/27-0831f968", "GROUP()=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/27-0831f968", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/27-0831f968", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/27-0831f968", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/27-0831f968", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/27-0831f968", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/27-0831f968", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/27-0831f968", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/27-0831f968", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/27-0831f968", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/27-0831f968", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/27-0831f968", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/27-0831f968", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/27-0831f968", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/27-0831f968", "CallerID set to "lincoln" <27>") in new stack
    -- Executing [s@macro-dialout-trunk:12] AGI("SIP/27-0831f968", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/27-0831f968", "OUTNUM=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/27-0831f968", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/27-0831f968", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/27-0831f968", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/27-0831f968", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/27-0831f968", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/27-0831f968", "pre_num=AMP:Local/") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/27-0831f968", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/27-0831f968", "post_num=@queuedial/n".") in new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/27-0831f968", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/27-0831f968", "the_num=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/27-0831f968", "Local/1230800@queuedial/n.|300|") in new stack
    -- Called 1230800@queuedial/n.
    -- Executing [1230800@queuedial:1] Set("Local/1230800@queuedial-e3b2,2", "MY_QUE=123") in new stack
    -- Executing [1230800@queuedial:2] Set("Local/1230800@queuedial-e3b2,2", "MY_NUM=0800") in new stack
    -- Executing [1230800@queuedial:3] Set("Local/1230800@queuedial-e3b2,2", "MY_AGENT=") in new stack
    -- Executing [1230800@queuedial:4] NoOp("Local/1230800@queuedial-e3b2,2", "Ag:  N: 0800 Q: 123") in new stack
    -- Executing [1230800@queuedial:5] MixMonitor("Local/1230800@queuedial-e3b2,2", "Q-123-1213808752.14.wav|b|") in new stack
  == Auto fallthrough, channel 'Local/1230800@queuedial-e3b2,2' status is 'UNKNOWN'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:28] Goto("SIP/27-0831f968", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/27-0831f968", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/27-0831f968", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing [81230800@from-internal:5] Macro("SIP/27-0831f968", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/27-0831f968", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/27-0831f968> Playing 'all-circuits-busy-now' (language 'en')
  == Begin MixMonitor Recording Local/1230800@queuedial-e3b2,2
  == End MixMonitor Recording Local/1230800@queuedial-e3b2,2
    -- Executing [s@macro-outisbusy:2] Playback("SIP/27-0831f968", "pls-try-call-later|noanswer") in new stack
    -- <SIP/27-0831f968> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/27-0831f968", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/27-0831f968", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/27-0831f968", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/27-0831f968", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/27-0831f968", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/27-0831f968", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/27-0831f968", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-0831f968' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-0831f968' in macro 'outisbusy'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-0831f968'
trixbox1*CLI>


7
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 16, 2008, 21:06:30 »
I have change the extensions_custom

and make a call

Verbosity was 3 and is now 100
    -- Executing [80800@from-internal:1] Macro("SIP/27-0a03b808", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/27-0a03b808", "user-callerid: device 27") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/27-0a03b808", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/27-0a03b808", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/27-0a03b808", "1|Set|REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/27-0a03b808", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/27-0a03b808", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/27-0a03b808", "AMPUSERCIDNAME=lincoln") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/27-0a03b808", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/27-0a03b808", "AMPUSERCID=27") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/27-0a03b808", "CALLERID(all)="lincoln" <27>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/27-0a03b808", "REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/27-0a03b808", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/27-0a03b808", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/27-0a03b808", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/27-0a03b808", "Using CallerID "lincoln" <27>") in new stack
    -- Executing [80800@from-internal:2] Set("SIP/27-0a03b808", "_NODEST=") in new stack
    -- Executing [80800@from-internal:3] Macro("SIP/27-0a03b808", "record-enable|27|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/27-0a03b808", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/27-0a03b808", "recordingcheck|20080616-153042|1213644642.22") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080616-153042|1213644642.22: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/27-0a03b808", "No recording needed") in new stack
    -- Executing [80800@from-internal:4] Macro("SIP/27-0a03b808", "dialout-trunk|1|0800||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/27-0a03b808", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/27-0a03b808", "0|Authenticate|") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/27-0a03b808", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/27-0a03b808", "DIAL_NUMBER=0800") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/27-0a03b808", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/27-0a03b808", "GROUP()=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/27-0a03b808", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/27-0a03b808", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/27-0a03b808", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/27-0a03b808", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/27-0a03b808", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/27-0a03b808", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/27-0a03b808", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/27-0a03b808", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/27-0a03b808", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/27-0a03b808", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/27-0a03b808", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/27-0a03b808", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/27-0a03b808", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/27-0a03b808", "CallerID set to "lincoln" <27>") in new stack
    -- Executing [s@macro-dialout-trunk:12] AGI("SIP/27-0a03b808", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/27-0a03b808", "OUTNUM=0800") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/27-0a03b808", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/27-0a03b808", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/27-0a03b808", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/27-0a03b808", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/27-0a03b808", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/27-0a03b808", "pre_num=AMP:Local/") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/27-0a03b808", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/27-0a03b808", "post_num=@queuedial/n".") in new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/27-0a03b808", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/27-0a03b808", "the_num=0800") in new stack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/27-0a03b808", "Local/0800@queuedial/n.|300|") in new stack
    -- Called 0800@queuedial/n.
  == Spawn extension (queuedial, 0800, 1) exited non-zero on 'Local/0800@queuedial-df31,2'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:28] Goto("SIP/27-0a03b808", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/27-0a03b808", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/27-0a03b808", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing [80800@from-internal:5] Macro("SIP/27-0a03b808", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/27-0a03b808", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/27-0a03b808> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/27-0a03b808", "pls-try-call-later|noanswer") in new stack
    -- <SIP/27-0a03b808> Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-0a03b808' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-0a03b808'

8
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 12, 2008, 16:17:29 »
-= 1 extension (6 priorities) in 1 context. =-
trixbox1*CLI> show dialplan queuedial
[ Context 'queuedial' created by 'pbx_config' ]
  '_XXX.' =>        1. SetVar(MY_QUE=${EXTEN:0:3})                [pbx_config]
                    2. SetVar(MY_NUM=${EXTEN:3})                  [pbx_config]
                    3. SetVar(MY_AGENT=${CALLERIDNUM})            [pbx_config]
                    4. NoOp(Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}) [pbx_config]
                    5. MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|) [pbx_config]
                    7. Congestion()                               [pbx_config]

9
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 11, 2008, 17:29:00 »
Yes I do.

Connected to Asterisk 1.4.19-1 RPM by vc-rpms@voipconsulting.nl currently running on trixbox1 (pid = 2526)
Verbosity is at least 10
    -- Executing [81230800@from-internal:1] Macro("SIP/27-0908abe0", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/27-0908abe0", "user-callerid: device 27") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/27-0908abe0", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/27-0908abe0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/27-0908abe0", "1|Set|REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/27-0908abe0", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/27-0908abe0", "AMPUSER=27") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/27-0908abe0", "AMPUSERCIDNAME=lincoln") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/27-0908abe0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/27-0908abe0", "AMPUSERCID=27") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/27-0908abe0", "CALLERID(all)="lincoln" <27>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/27-0908abe0", "REALCALLERIDNUM=27") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/27-0908abe0", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/27-0908abe0", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/27-0908abe0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/27-0908abe0", "Using CallerID "lincoln" <27>") in new stack
    -- Executing [81230800@from-internal:2] Set("SIP/27-0908abe0", "_NODEST=") in new stack
    -- Executing [81230800@from-internal:3] Macro("SIP/27-0908abe0", "record-enable|27|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/27-0908abe0", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/27-0908abe0", "recordingcheck|20080611-112650|1213198010.4") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080611-112650|1213198010.4: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/27-0908abe0", "No recording needed") in new stack
    -- Executing [81230800@from-internal:4] Macro("SIP/27-0908abe0", "dialout-trunk|1|1230800||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/27-0908abe0", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/27-0908abe0", "0|Authenticate|") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/27-0908abe0", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/27-0908abe0", "DIAL_NUMBER=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/27-0908abe0", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/27-0908abe0", "GROUP()=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/27-0908abe0", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/27-0908abe0", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/27-0908abe0", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/27-0908abe0", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/27-0908abe0", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/27-0908abe0", "REALCALLERIDNUM is 27") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/27-0908abe0", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/27-0908abe0", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/27-0908abe0", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/27-0908abe0", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/27-0908abe0", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/27-0908abe0", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/27-0908abe0", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/27-0908abe0", "CallerID set to "lincoln" <27>") in new stack
    -- Executing [s@macro-dialout-trunk:12] AGI("SIP/27-0908abe0", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/27-0908abe0", "OUTNUM=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/27-0908abe0", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/27-0908abe0", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/27-0908abe0", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/27-0908abe0", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/27-0908abe0", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/27-0908abe0", "pre_num=AMP:Local/") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/27-0908abe0", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:24] Set("SIP/27-0908abe0", "post_num=@queuedial/n".") in new stack
    -- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/27-0908abe0", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,26)
    -- Executing [s@macro-dialout-trunk:26] Set("SIP/27-0908abe0", "the_num=1230800") in new stack
    -- Executing [s@macro-dialout-trunk:27] Dial("SIP/27-0908abe0", "Local/1230800@queuedial/n.|300|") in new stack
    -- Called 1230800@queuedial/n.
  == Spawn extension (queuedial, 1230800, 1) exited non-zero on 'Local/1230800@queuedial-0666,2'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:28] Goto("SIP/27-0908abe0", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/27-0908abe0", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/27-0908abe0", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing [81230800@from-internal:5] Macro("SIP/27-0908abe0", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/27-0908abe0", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/27-0908abe0> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/27-0908abe0", "pls-try-call-later|noanswer") in new stack
    -- <SIP/27-0908abe0> Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-0908abe0' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-0908abe0'


##############################################

trixbox1*CLI> show dialplan queuemetrics
[ Context 'queuemetrics' created by 'pbx_config' ]
  '10' =>           1. Answer()                                   [pbx_config]
                    2. Wait(10)                                   [pbx_config]
                    3. Hangup()                                   [pbx_config]
  '11' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM_AGENT_CODE: ${QM_AGENT_CODE}" )  [pbx_config]
                    3. NoOp( "QM_EXT_MONITOR: ${QM_EXT_MONITOR}" ) [pbx_config]
                    4. NoOp( "QM_AGENT_EXT: ${QM_AGENT_EXT}" )    [pbx_config]
                    5. ChanSpy(${QM_AGENT_CODE})                  [pbx_config]
                    6. Hangup()                                   [pbx_config]
  '12' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM: Setting call status ${CALLSTATUS} on call ${CALLID} for agent ${AGENTCODE}" ) [pbx_config]
                    3. System( echo "${EPOCH}|${CALLID}|NONE|Agent/${AGENTCODE}|CALLSTATUS|${CALLSTATUS}" >> /var/log/asterisk/queue_log ) [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '20' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM: Logging on Agent/${AGENTCODE} to extension ${AGENT_EXT}@from-internal" ) [pbx_config]
                    3. AgentCallBackLogin(${AGENTCODE}||${AGENT_EXT}@from-internal) [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '21' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM: Logging off Agent/${AGENTCODE}" ) [pbx_config]
                    3. System(asterisk -rx "agent logoff Agent/${AGENTCODE}") [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '22' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM: Pausing Agent/${AGENTCODE} with pause reason ${PAUSEREASON} " ) [pbx_config]
                    3. PauseQueueMember(|Agent/${AGENTCODE})      [pbx_config]
                    4. System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${AGENTCODE}|PAUSEREASON|${PAUSEREASON}" >> /var/log/asterisk/queue_log ) [pbx_config]
                    5. Hangup()                                   [pbx_config]
  '23' =>           1. Answer()                                   [pbx_config]
                    2. NoOp( "QM: Unpausing Agent/${AGENTCODE} " ) [pbx_config]
                    3. UnpauseQueueMember(|Agent/${AGENTCODE})    [pbx_config]
                    4. Hangup()                                   [pbx_config]

-= 7 extensions (30 priorities) in 1 context. =-



10
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 10, 2008, 16:07:13 »
Do you mean a type error?

I have edited the extensions_custom.conf

But I dont have a Zaptel adpter... I have Sip provider trunk.

I have named the trunk sip.provider.net

[queuedial]
exten => _XXX.,1,SetVar(MY_QUE=${EXTEN:0:3})
exten => _XXX.,2,SetVar(MY_NUM=${EXTEN:3})
exten => _XXX.,3,SetVar(MY_AGENT=${CALLERIDNUM})
exten => _XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten =>
_XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|SIP/sip.provider.net/${MY_NUM}|q-
${MY_QUE}|Agent/${MY_AGENT})
exten => _XXX.,7,Congestion

And create a custom like a manual.

But

I want to dial 0800 (yes, is a valid number)
dial 8 1 2 3 0 8 0 0

and this happens:

recordingcheck|20080610-100613|1213106773.100: Outbound recording not enabled
  == Spawn extension (queuedial, 1230800, 1) exited non-zero on 'Local/1230800@queuedial-f9e4,2'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-08474ef0' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/27-08474ef0'

11
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 09, 2008, 22:10:13 »
the firs problem...

the QM manual says

"Enabling outgoing calls in TrixBox
First of all you edit the file /etc/asterisk/extension_custom.conf and append the
following piece of dial plan:
[queuedial]
exten => _XXX.,1,SetVar(MY_QUE=${EXTEN:0:3})
exten => _XXX.,2,SetVar(MY_NUM=${EXTEN:3})
exten => _XXX.,3,SetVar(MY_AGENT=${CALLERIDNUM})
exten => _XXX.,4,NoOp,Ag: ${MY_AGENT} N: ${MY_NUM} Q: ${MY_QUE}
exten => _XXX.,5,MixMonitor(Q-${MY_QUE}-${UNIQUEID}.wav|b|)
exten =>
_XXX.,6,DeadAGI(queueDial.agi|${MY_NUM}|Zap/g0/${MY_NUM}|q-
${MY_QUE}|Agent/${MY_AGENT})
exten => _XXX.,7,Congestion"

I dont have the file /etc/asterisk/extension_custom.conf
just have the file /etc/asterisk/extensions_custom.conf

should I create  ??? ??? ????

12
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 09, 2008, 21:58:30 »
Now callbacklogin 299 is working fine
monitoring and recording incoming calls to queue 200 too  ::) ::) ::)

I will test outgoing now
thanks quemetrics

13
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 09, 2008, 20:57:12 »
I perform a new install of trixbox
update all modules

create two extensions... and one trunk

and now following the topic
http://forum.queuemetrics.com/index.php?topic=276.0

in this moment im downloading the queuemetrics...

lets try again  8)

14
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 05, 2008, 20:09:52 »
But in the queue metrics manual, they say to use "298"... I try that and dont works :o

If I downgrade trixbox, I can fix this problem?
Wha version queue metrics recomend?

15
QueueMetrics installation / Re: QM 1.4 and Trixbox 2.6.1
« on: June 04, 2008, 17:53:23 »
I did e they say to me:

"The call has been deprecated, you may want to revisit it. Also, do keep in mind that FreePBX Queue configurations don't use chan_agent type agents so you would need to do all your agents.conf and queue stuff somewhat manually and you will run into feature issues with things like subsequent call transfers being blocked from going to voicemail, and similar, if you use agents.conf agents."

 ??? ??? ???
What can I do now?

Pages: [1] 2