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