Virtual Queue Plus Penalty Rules Not Applying

I have the Virtual Queue Plus module installed and tested the Penalty rules for the queue before moving the system. At the time it worked. After the move the rules don’t seem to be applying. The scope isn’t expanding to catch new phones if a call isn’t answered.

Suggestions?

Has anything been changed during the move?

Versions would be helpful as well as logs of calls.

The only changes have been location, ip address, and some firewall rules.

I am running PBX in a Flash Green with the following versions.
PIAF Installed Version = 2.0.6.5 under HARDWARE
FreePBX Version = 2.11.0.38
Running Asterisk Version = 11.8.1

For testing I have a queue setup with extentions 150 and 117 with penalties of 1 and 4 respectively. The queue pentalty change rules from queuerules_additional.conf
[2]
penaltychange => 0,2,0
penaltychange => 15,5,0

Extention 150 rings but 117 doesn’t. I do have ring all strategy on the queue.

I am having trouble attaching/linking the asterisk log. I can email to those that are interested.

Thank you

Logs

    -- Called SIP/dvnspbx/XXXX140
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [XXXXXXX140@from-trunk-sip-dvnspbx:1] Set("SIP/dvnspbx-00000dd4", "GROUP()=OUT_2") in new stack
    -- Executing [XXXXXXX140@from-trunk-sip-dvnspbx:2] Goto("SIP/dvnspbx-00000dd4", "from-trunk,XXXXXXX140,1") in new stack
    -- Goto (from-trunk,XXXXXXX140,1)
    -- Executing [XXXXXXX140@from-trunk:1] Set("SIP/dvnspbx-00000dd4", "__FROM_DID=XXXXXXX140") in new stack
    -- Executing [XXXXXXX140@from-trunk:2] Gosub("SIP/dvnspbx-00000dd4", "app-blacklist-check,s,1()") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/dvnspbx-00000dd4", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/dvnspbx-00000dd4", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/dvnspbx-00000dd4", "") in new stack
    -- Executing [XXXXXXX140@from-trunk:3] Set("SIP/dvnspbx-00000dd4", "CDR(did)=XXXXXXX140") in new stack
    -- Executing [XXXXXXX140@from-trunk:4] ExecIf("SIP/dvnspbx-00000dd4", "0 ?Set(CALLERID(name)=XXXXXX3867)") in new stack
    -- Executing [XXXXXXX140@from-trunk:5] Set("SIP/dvnspbx-00000dd4", "CHANNEL(musicclass)=default") in new stack
    -- Executing [XXXXXXX140@from-trunk:6] Set("SIP/dvnspbx-00000dd4", "__MOHCLASS=default") in new stack
    -- Executing [XXXXXXX140@from-trunk:7] Set("SIP/dvnspbx-00000dd4", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [XXXXXXX140@from-trunk:8] Set("SIP/dvnspbx-00000dd4", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [XXXXXXX140@from-trunk:9] Goto("SIP/dvnspbx-00000dd4", "ext-queues,140,1") in new stack
    -- Goto (ext-queues,140,1)
    -- Executing [140@ext-queues:1] Macro("SIP/dvnspbx-00000dd4", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/dvnspbx-00000dd4", "TOUCH_MONITOR=1408021000.7494") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/dvnspbx-00000dd4", "AMPUSER=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/dvnspbx-00000dd4", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/dvnspbx-00000dd4", "1?Set(REALCALLERIDNUM=XXXXXXX867)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/dvnspbx-00000dd4", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/dvnspbx-00000dd4", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/dvnspbx-00000dd4", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/dvnspbx-00000dd4", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/dvnspbx-00000dd4", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/dvnspbx-00000dd4", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/dvnspbx-00000dd4", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/dvnspbx-00000dd4", "CALLERID(number)=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/dvnspbx-00000dd4", "CALLERID(name)=DAVINCI NET SVC") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/dvnspbx-00000dd4", "CDR(cnum)=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/dvnspbx-00000dd4", "CDR(cnam)=DAVINCI NET SVC") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/dvnspbx-00000dd4", "CHANNEL(language)=en") in new stack
    -- Executing [140@ext-queues:2] Answer("SIP/dvnspbx-00000dd4", "") in new stack
    -- Executing [140@ext-queues:3] Macro("SIP/dvnspbx-00000dd4", "blkvm-set,reset") in new stack
    -- Executing [s@macro-blkvm-set:1] ExecIf("SIP/dvnspbx-00000dd4", "1?Set(__BLKVM_CHANNEL=SIP/dvnspbx-00000dd4)") in new stack
    -- Executing [s@macro-blkvm-set:2] Set("SIP/dvnspbx-00000dd4", "SHARED(BLKVM,SIP/dvnspbx-00000dd4)=TRUE") in new stack
    -- Executing [s@macro-blkvm-set:3] Set("SIP/dvnspbx-00000dd4", "GOSUB_RETVAL=TRUE") in new stack
    -- Executing [s@macro-blkvm-set:4] MacroExit("SIP/dvnspbx-00000dd4", "") in new stack
    -- Executing [140@ext-queues:4] ExecIf("SIP/dvnspbx-00000dd4", "1?Set(_DIAL_OPTIONS=TtrM(auto-blkvm))") in new stack
    -- Executing [140@ext-queues:5] Set("SIP/dvnspbx-00000dd4", "__NODEST=140") in new stack
    -- Executing [140@ext-queues:6] Set("SIP/dvnspbx-00000dd4", "QCIDPP=") in new stack
    -- Executing [140@ext-queues:7] Set("SIP/dvnspbx-00000dd4", "VQ_CIDPP=") in new stack
    -- Executing [140@ext-queues:8] ExecIf("SIP/dvnspbx-00000dd4", "0?Macro(prepend-cid,)") in new stack
    -- Executing [140@ext-queues:9] Set("SIP/dvnspbx-00000dd4", "QAINFO=") in new stack
    -- Executing [140@ext-queues:10] Set("SIP/dvnspbx-00000dd4", "VQ_AINFO=") in new stack
    -- Executing [140@ext-queues:11] ExecIf("SIP/dvnspbx-00000dd4", "0?Set(__ALERT_INFO=)") in new stack
    -- Executing [140@ext-queues:12] Set("SIP/dvnspbx-00000dd4", "QJOINMSG=") in new stack
    -- Executing [140@ext-queues:13] Set("SIP/dvnspbx-00000dd4", "VQ_JOINMSG=") in new stack
    -- Executing [140@ext-queues:14] Set("SIP/dvnspbx-00000dd4", "QMOH=") in new stack
    -- Executing [140@ext-queues:15] Set("SIP/dvnspbx-00000dd4", "VQ_MOH=") in new stack
    -- Executing [140@ext-queues:16] ExecIf("SIP/dvnspbx-00000dd4", "0?Set(__MOHCLASS=)") in new stack
    -- Executing [140@ext-queues:17] ExecIf("SIP/dvnspbx-00000dd4", "1?Set(CHANNEL(musicclass)=default)") in new stack
    -- Executing [140@ext-queues:18] Set("SIP/dvnspbx-00000dd4", "QRINGOPTS=r") in new stack
    -- Executing [140@ext-queues:19] Set("SIP/dvnspbx-00000dd4", "QRETRY=") in new stack
    -- Executing [140@ext-queues:20] Set("SIP/dvnspbx-00000dd4", "VQ_RETRY=") in new stack
    -- Executing [140@ext-queues:21] Set("SIP/dvnspbx-00000dd4", "QOPTIONS=tr") in new stack
    -- Executing [140@ext-queues:22] Set("SIP/dvnspbx-00000dd4", "VQ_OPTIONS=") in new stack
    -- Executing [140@ext-queues:23] Set("SIP/dvnspbx-00000dd4", "QGOSUB=") in new stack
    -- Executing [140@ext-queues:24] Set("SIP/dvnspbx-00000dd4", "VQ_GOSUB=") in new stack
    -- Executing [140@ext-queues:25] Set("SIP/dvnspbx-00000dd4", "QAGI=") in new stack
    -- Executing [140@ext-queues:26] Set("SIP/dvnspbx-00000dd4", "VQ_AGI=") in new stack
    -- Executing [140@ext-queues:27] Set("SIP/dvnspbx-00000dd4", "QRULE=2") in new stack
    -- Executing [140@ext-queues:28] Set("SIP/dvnspbx-00000dd4", "QRULE=2") in new stack
    -- Executing [140@ext-queues:29] Set("SIP/dvnspbx-00000dd4", "VQ_RULE=") in new stack
    -- Executing [140@ext-queues:30] Set("SIP/dvnspbx-00000dd4", "QPOSITION=") in new stack
    -- Executing [140@ext-queues:31] Set("SIP/dvnspbx-00000dd4", "VQ_POSITION=") in new stack
    -- Executing [140@ext-queues:32] Gosub("SIP/dvnspbx-00000dd4", "sub-record-check,s,1(q,140,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/dvnspbx-00000dd4", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/dvnspbx-00000dd4", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/dvnspbx-00000dd4", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/dvnspbx-00000dd4", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/dvnspbx-00000dd4", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/dvnspbx-00000dd4", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/dvnspbx-00000dd4", "0?q,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/dvnspbx-00000dd4", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/dvnspbx-00000dd4", "NOW=1408021000") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/dvnspbx-00000dd4", "__DAY=14") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/dvnspbx-00000dd4", "__MONTH=08") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/dvnspbx-00000dd4", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/dvnspbx-00000dd4", "__TIMESTR=20140814-075640") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/dvnspbx-00000dd4", "__FROMEXTEN=XXXXXX3867") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/dvnspbx-00000dd4", "__CALLFILENAME=q-140-XXXXXX3867-20140814-075640-1408021000.7494") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/dvnspbx-00000dd4", "q,1") in new stack
    -- Goto (sub-record-check,q,1)
    -- Executing [q@sub-record-check:1] GosubIf("SIP/dvnspbx-00000dd4", "0?recq,1(q,140,XXXXXX3867)") in new stack
    -- Executing [q@sub-record-check:2] Return("SIP/dvnspbx-00000dd4", "") in new stack
    -- Executing [140@ext-queues:33] ExecIf("SIP/dvnspbx-00000dd4", "0?Playback(, )") in new stack
    -- Executing [140@ext-queues:34] QueueLog("SIP/dvnspbx-00000dd4", "140,1408021000.7494,NONE,DID,XXXXXXX140") in new stack
    -- Executing [140@ext-queues:35] Set("SIP/dvnspbx-00000dd4", "QAANNOUNCE=") in new stack
    -- Executing [140@ext-queues:36] Set("SIP/dvnspbx-00000dd4", "VQ_AANNOUNCE=") in new stack
    -- Executing [140@ext-queues:37] Set("SIP/dvnspbx-00000dd4", "QMAXWAIT=45") in new stack
    -- Executing [140@ext-queues:38] Set("SIP/dvnspbx-00000dd4", "VQ_MAXWAIT=") in new stack
    -- Executing [140@ext-queues:39] Set("SIP/dvnspbx-00000dd4", "QUEUENUM=140") in new stack
    -- Executing [140@ext-queues:40] Set("SIP/dvnspbx-00000dd4", "QUEUEJOINTIME=1408021000") in new stack
    -- Executing [140@ext-queues:41] Set("SIP/dvnspbx-00000dd4", "QMIN_PENALTY=") in new stack
    -- Executing [140@ext-queues:42] Set("SIP/dvnspbx-00000dd4", "VQ_MIN_PENALTY=") in new stack
    -- Executing [140@ext-queues:43] ExecIf("SIP/dvnspbx-00000dd4", "0?Set(QUEUE_MIN_PENALTY=)") in new stack
    -- Executing [140@ext-queues:44] Set("SIP/dvnspbx-00000dd4", "QMAX_PENALTY=") in new stack
    -- Executing [140@ext-queues:45] Set("SIP/dvnspbx-00000dd4", "VQ_MAX_PENALTY=") in new stack
    -- Executing [140@ext-queues:46] ExecIf("SIP/dvnspbx-00000dd4", "0?Set(QUEUE_MAX_PENALTY=)") in new stack
    -- Executing [140@ext-queues:47] Set("SIP/dvnspbx-00000dd4", "_CALLER_DEST=") in new stack
    -- Executing [140@ext-queues:48] Set("SIP/dvnspbx-00000dd4", "VQ_CDEST=") in new stack
    -- Executing [140@ext-queues:49] Set("SIP/dvnspbx-00000dd4", "_AGENT_DEST=") in new stack
    -- Executing [140@ext-queues:50] Set("SIP/dvnspbx-00000dd4", "VQ_ADEST=") in new stack
    -- Executing [140@ext-queues:51] Queue("SIP/dvnspbx-00000dd4", "140,tr,,,45,,,,2,") in new stack
    -- Executing [150@from-queue:1] Set("Local/150@from-queue-000007b9;2", "QAGENT=150") in new stack
    -- Executing [150@from-queue:2] Goto("Local/150@from-queue-000007b9;2", "140,1") in new stack
    -- Goto (from-queue,140,1)
    -- Executing [140@from-queue:1] Goto("Local/150@from-queue-000007b9;2", "from-internal,150,1") in new stack
    -- Goto (from-internal,150,1)
    -- Executing [150@from-internal:1] Set("Local/150@from-queue-000007b9;2", "__RINGTIMER=15") in new stack
    -- Executing [150@from-internal:2] Macro("Local/150@from-queue-000007b9;2", "exten-vm,novm,150,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("Local/150@from-queue-000007b9;2", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/150@from-queue-000007b9;2", "TOUCH_MONITOR=1408021000.7496") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Local/150@from-queue-000007b9;2", "AMPUSER=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Local/150@from-queue-000007b9;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,15)
    -- Executing [s@macro-user-callerid:15] GotoIf("Local/150@from-queue-000007b9;2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("Local/150@from-queue-000007b9;2", "__TTL=63") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("Local/150@from-queue-000007b9;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("Local/150@from-queue-000007b9;2", "CALLERID(number)=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:29] Set("Local/150@from-queue-000007b9;2", "CALLERID(name)=DAVINCI NET SVC") in new stack
    -- Executing [s@macro-user-callerid:30] Set("Local/150@from-queue-000007b9;2", "CDR(cnum)=XXXXXX3867") in new stack
    -- Executing [s@macro-user-callerid:31] Set("Local/150@from-queue-000007b9;2", "CDR(cnam)=DAVINCI NET SVC") in new stack
    -- Executing [s@macro-user-callerid:32] Set("Local/150@from-queue-000007b9;2", "CHANNEL(language)=en") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Local/150@from-queue-000007b9;2", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Local/150@from-queue-000007b9;2", "__EXTTOCALL=150") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Local/150@from-queue-000007b9;2", "__PICKUPMARK=150") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Local/150@from-queue-000007b9;2", "RT=") in new stack
[2014-08-14 07:56:40] WARNING[25614][C-00000637]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:6] ExecIf("Local/150@from-queue-000007b9;2", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2014-08-14 07:56:40] WARNING[25614][C-00000637]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
[2014-08-14 07:56:40] WARNING[25614][C-00000637]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:7] ExecIf("Local/150@from-queue-000007b9;2", "0?MacroExit()") in new stack
[2014-08-14 07:56:40] WARNING[25614][C-00000637]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
    -- Executing [s@macro-exten-vm:8] Gosub("Local/150@from-queue-000007b9;2", "sub-record-check,s,1(exten,150,)") in new stack
    -- Executing [s@sub-record-check:1] Set("Local/150@from-queue-000007b9;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("Local/150@from-queue-000007b9;2", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("Local/150@from-queue-000007b9;2", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("Local/150@from-queue-000007b9;2", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("Local/150@from-queue-000007b9;2", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("Local/150@from-queue-000007b9;2", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("Local/150@from-queue-000007b9;2", "1?exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] GotoIf("Local/150@from-queue-000007b9;2", "1?callee") in new stack
    -- Goto (sub-record-check,exten,8)
    -- Executing [exten@sub-record-check:8] GosubIf("Local/150@from-queue-000007b9;2", "0?record,1(exten,150,XXXXXX3867)") in new stack
    -- Executing [exten@sub-record-check:9] Return("Local/150@from-queue-000007b9;2", "") in new stack
    -- Executing [s@macro-exten-vm:9] GotoIf("Local/150@from-queue-000007b9;2", "10?macrodial") in new stack
    -- Goto (macro-exten-vm,s,15)
    -- Executing [s@macro-exten-vm:15] GosubIf("Local/150@from-queue-000007b9;2", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:16] Macro("Local/150@from-queue-000007b9;2", "dial-one,,TtrM(auto-blkvm),150") in new stack
    -- Executing [s@macro-dial-one:1] Set("Local/150@from-queue-000007b9;2", "DEXTEN=150") in new stack
    -- Executing [s@macro-dial-one:2] Set("Local/150@from-queue-000007b9;2", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("Local/150@from-queue-000007b9;2", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("Local/150@from-queue-000007b9;2", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("Local/150@from-queue-000007b9;2", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("Local/150@from-queue-000007b9;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("Local/150@from-queue-000007b9;2", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("Local/150@from-queue-000007b9;2", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("Local/150@from-queue-000007b9;2", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("Local/150@from-queue-000007b9;2", "1?next3:continue") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] ExecIf("Local/150@from-queue-000007b9;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
    -- Executing [s@macro-dial-one:25] GotoIf("Local/150@from-queue-000007b9;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("Local/150@from-queue-000007b9;2", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("Local/150@from-queue-000007b9;2", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("Local/150@from-queue-000007b9;2", "DEVICES=150") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("Local/150@from-queue-000007b9;2", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("Local/150@from-queue-000007b9;2", "0?Set(DEVICES=50)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("Local/150@from-queue-000007b9;2", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("Local/150@from-queue-000007b9;2", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("Local/150@from-queue-000007b9;2", "THISDIAL=SIP/150") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("Local/150@from-queue-000007b9;2", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/150@from-queue-000007b9;2", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/150@from-queue-000007b9;2", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/150@from-queue-000007b9;2", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/150@from-queue-000007b9;2", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/150@from-queue-000007b9;2", "THISPART2=SIP/150") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/150@from-queue-000007b9;2", "0?Set(THISPART2=DAHDI/150)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/150@from-queue-000007b9;2", "NEWDIAL=SIP/150&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/150@from-queue-000007b9;2", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/150@from-queue-000007b9;2", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/150@from-queue-000007b9;2", "THISDIAL=SIP/150") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/150@from-queue-000007b9;2", "") in new stack
    -- Executing [dstring@macro-dial-one:9] Set("Local/150@from-queue-000007b9;2", "DSTRING=SIP/150&") in new stack
    -- Executing [dstring@macro-dial-one:10] Set("Local/150@from-queue-000007b9;2", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:11] GotoIf("Local/150@from-queue-000007b9;2", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("Local/150@from-queue-000007b9;2", "DSTRING=SIP/150") in new stack
    -- Executing [dstring@macro-dial-one:13] Return("Local/150@from-queue-000007b9;2", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("Local/150@from-queue-000007b9;2", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("Local/150@from-queue-000007b9;2", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("Local/150@from-queue-000007b9;2", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("Local/150@from-queue-000007b9;2", "DB(CALLTRACE/150)=XXXXXX3867") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("Local/150@from-queue-000007b9;2", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("Local/150@from-queue-000007b9;2", "D_OPTIONS=TtrM(auto-blkvm)") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("Local/150@from-queue-000007b9;2", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("Local/150@from-queue-000007b9;2", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("Local/150@from-queue-000007b9;2", "1?Set(CHANNEL(musicclass)=default)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("Local/150@from-queue-000007b9;2", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("Local/150@from-queue-000007b9;2", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("Local/150@from-queue-000007b9;2", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("Local/150@from-queue-000007b9;2", "0?usegoto,1") in new stack
    -- SIP/dvnspbx-00000dd3 answered SIP/151-00000dd2
    -- Executing [s@macro-dial-one:38] GotoIf("Local/150@from-queue-000007b9;2", "1?godial") in new stack
    -- Goto (macro-dial-one,s,43)
    -- Executing [s@macro-dial-one:43] Dial("Local/150@from-queue-000007b9;2", "SIP/150,,TtrM(auto-blkvm)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/150
    -- Local/150@from-queue-000007b9;1 is ringing
    -- Local/150@from-queue-000007b9;1 connected line has changed. Saving it until answer for SIP/dvnspbx-00000dd4
    -- Local/150@from-queue-000007b9;1 connected line has changed. Saving it until answer for SIP/dvnspbx-00000dd4
    -- SIP/150-00000dd5 is ringing
    -- Local/150@from-queue-000007b9;1 is ringing
    -- Nobody picked up in 15000 ms
  == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Local/150@from-queue-000007b9;2' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Local/150@from-queue-000007b9;2' in macro 'exten-vm'
  == Spawn extension (from-internal, 150, 2) exited non-zero on 'Local/150@from-queue-000007b9;2'
    -- Executing [h@from-internal:1] Hangup("Local/150@from-queue-000007b9;2", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/150@from-queue-000007b9;2'
    -- Recording automatically stopped after a silence of 10 seconds
    -- <SIP/dvnspbx-00000dd0> Playing 'auth-thankyou.gsm' (language 'en')
    -- Executing [150@from-queue:1] Set("Local/150@from-queue-000007ba;2", "QAGENT=150") in new stack
    -- Executing [150@from-queue:2] Goto("Local/150@from-queue-000007ba;2", "140,1") in new stack
    -- Goto (from-queue,140,1)
    -- Executing [140@from-queue:1] Goto("Local/150@from-queue-000007ba;2", "from-internal,150,1") in new stack
    -- Goto (from-internal,150,1)

ok I have dug a bit more into this but still coming up short on a solution.

In the logs I see this:

   -- Executing [140@ext-queues:26] Set("SIP/dvnspbx-000068bd", "VQ_AGI=") in new stack
-- Executing [140@ext-queues:27] Set("SIP/dvnspbx-000068bd", "QRULE=2") in new stack
-- Executing [140@ext-queues:28] Set("SIP/dvnspbx-000068bd", "QRULE=2") in new stack

So I see my queue rule is getting set.

I see the Pentalty is getting picked up from queue config (not the separate queue penaltiy rules)

   -- Executing [140@ext-queues:41] Set("SIP/dvnspbx-000068bd", "QMIN_PENALTY=0") in new stack
-- Executing [140@ext-queues:42] Set("SIP/dvnspbx-000068bd", "VQ_MIN_PENALTY=") in new stack
-- Executing [140@ext-queues:43] ExecIf("SIP/dvnspbx-000068bd", "1?Set(QUEUE_MIN_PENALTY=0)") in new stack
-- Executing [140@ext-queues:44] Set("SIP/dvnspbx-000068bd", "QMAX_PENALTY=0") in new stack
-- Executing [140@ext-queues:45] Set("SIP/dvnspbx-000068bd", "VQ_MAX_PENALTY=") in new stack
-- Executing [140@ext-queues:46] ExecIf("SIP/dvnspbx-000068bd", "1?Set(QUEUE_MAX_PENALTY=0)") in new stack

And I see the call come in and ring the Penalty 1 strata

   -- Local/150@from-queue-00003801;1 is ringing
-- Local/150@from-queue-00003801;1 connected line has changed. Saving it until answer for SIP/dvnspbx-000068bd
-- Local/150@from-queue-00003801;1 connected line has changed. Saving it until answer for SIP/dvnspbx-000068bd
-- SIP/150-000068be is ringing
-- Local/150@from-queue-00003801;1 is ringing
-- Nobody picked up in 15000 ms

However once we hit the 15seconds it cycles back around and only rings the 1 strata again. It it acting like my second rule change doesn’t take effect which should pick up another extention on strata 4.

So I am trying to figure out if the vqplus module is running correctly and why it isn’t picking up the second rule line to get the next phone to ring after 15 seconds. There was an update in which I have done the update but that hasn’t helped.

Suggestions

I think you are confused on Agent Penalties. I wrote up a whole wiki explaining this as it comes up over and over with app_queue. Please review

http://wiki.freepbx.org/display/FD/lazymembers+patch+to+app_queue

Thank you for that info. I enabled auto pause and lazymembers and almost have the behavor I was aiming for. But only for one phone call. The second phone call into my testing queue the phones didn’t ring at all. A log out and log back in makes that work. So now I am starting to really wonder if I am running the right version of the app_queue and if the VQPlus module is working correctly.

Well VQ Plus is working just fine we know that as we use it daily. As far as right version of app_queue what Distro are you using? What version of the Distro? What version of Asterisk do you have?

And what you just described is because you are using auto pause. As stated it pauses you and leaves you paused until you unpause yourself. I would not use auto pause.

I have tried with out the auto pause and have the original behavor of not getting to the next group of phones.

I am running the following:

PIAF Installed Version = 2.0.6.5 under HARDWARE
FreePBX Version = 2.11.0.38
Running Asterisk Version = 11.8.1
Asterisk Source Version = 11.8.1

CentOS 6.5 (32bit)

VQPlus version 2.11.1.26

OK well then you did not read where we said the FreePBX Distro patched app_queue and its only in the FreePBX Distro. PIAF is not the FreePBX Distro and they have their own install of Asterisk which does not include the patch for lazy members.

VQ Plus works just fine without Lazy Members patch except you will run into the feature of asterisk that is explained that it will not try the next penalty group if someone in a lower group is available to take the call.

ok. Is there a place in which I can download the patch to apply to the source for this feature? I have searched and can’t find it.

The Source of any RPM we build ourselves that is OpenSource can be found here. http://yum.freepbxdistro.org/pbx/SRPMS/