Reply To: Problem with dynamic queue

VitalPBX Community Support General Discussion Problem with dynamic queue Reply To: Problem with dynamic queue

    lukasd2
    Participant
    Up
    0
    Down
    Hello Lukasd2, When you add the agent to the queue and have the type set to dynamic, don’t forget to save and apply changes. What is the version of VitalPBX you are running and can you give more details on this loop you are experiencing? Does it say “You are not a Dynamic Member”, or what is the behavior it is presenting?

    Thanks for the reply, the command does not return anything, but here I put the verbose from asterisk cli.

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    > 0x7fe89c005f80 -- Strict RTP learning after remote address set to: 10.150.5.114:5096
    -- Executing [*52@cos-all:1] NoOp("SIP/155-00000003", "More than on digit pattern") in new stack
    -- Executing [*52@cos-all:2] Gosub("SIP/155-00000003", "s,1(*52)") in new stack
    -- Executing [s@cos-all:1] Set("SIP/155-00000003", "EXTENSION=*52") in new stack
    -- Executing [s@cos-all:2] NoOp("SIP/155-00000003", "Dialing *52 from 155") in new stack
    -- Executing [s@cos-all:3] Gosub("SIP/155-00000003", "sub-set-global-vars,s,1(cb7ac84e35ecddfc,*52,parking-1)") in new stack
    -- Executing [s@sub-set-global-vars:1] NoOp("SIP/155-00000003", "Setting Global Vars") in new stack
    -- Executing [s@sub-set-global-vars:2] Set("SIP/155-00000003", "TENANT_PATH=cb7ac84e35ecddfc") in new stack
    -- Executing [s@sub-set-global-vars:3] Set("SIP/155-00000003", "PREFIX=") in new stack
    -- Executing [s@sub-set-global-vars:4] Set("SIP/155-00000003", "__PICKUPMARK=*52") in new stack
    -- Executing [s@sub-set-global-vars:5] Set("SIP/155-00000003", "__PARKINGLOT=parking-1") in new stack
    -- Executing [s@sub-set-global-vars:6] Set("SIP/155-00000003", "__DYNAMIC_FEATURES=custom-features") in new stack
    -- Executing [s@sub-set-global-vars:7] Set("SIP/155-00000003", "ICALL=no") in new stack
    -- Executing [s@sub-set-global-vars:8] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:4] Gosub("SIP/155-00000003", "sub-set-call-vars,s,1(cb7ac84e35ecddfc,*52,1,cos-all,ARS-all)") in new stack
    -- Executing [s@sub-set-call-vars:1] NoOp("SIP/155-00000003", "Setting Call Vars") in new stack
    -- Executing [s@sub-set-call-vars:2] Set("SIP/155-00000003", "_TENANT=cb7ac84e35ecddfc") in new stack
    -- Executing [s@sub-set-call-vars:3] Set("SIP/155-00000003", "_CALL_DESTINATION=*52") in new stack
    -- Executing [s@sub-set-call-vars:4] Set("SIP/155-00000003", "_COS_ID=1") in new stack
    -- Executing [s@sub-set-call-vars:5] Set("SIP/155-00000003", "_COS_NAME=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:6] Set("SIP/155-00000003", "__TRANSFER_CONTEXT=cos-all") in new stack
    -- Executing [s@sub-set-call-vars:7] Set("SIP/155-00000003", "_ARS=ARS-all") in new stack
    -- Executing [s@sub-set-call-vars:8] Set("SIP/155-00000003", "CDR(tenant)=vitalpbx") in new stack
    -- Executing [s@sub-set-call-vars:9] Set("SIP/155-00000003", "CDR(destination)=*52") in new stack
    -- Executing [s@sub-set-call-vars:10] Set("SIP/155-00000003", "__CALLID=1595874354.6") in new stack
    -- Executing [s@sub-set-call-vars:11] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:5] Gosub("SIP/155-00000003", "sub-construct-cid,s,1") in new stack
    -- Executing [s@sub-construct-cid:1] NoOp("SIP/155-00000003", "Building CID") in new stack
    -- Executing [s@sub-construct-cid:2] Set("SIP/155-00000003", "_CALL_SOURCE=155") in new stack
    -- Executing [s@sub-construct-cid:3] Set("SIP/155-00000003", "_CS=155") in new stack
    -- Executing [s@sub-construct-cid:4] GotoIf("SIP/155-00000003", "0?return") in new stack
    -- Executing [s@sub-construct-cid:5] Gosub("SIP/155-00000003", "sub-get-device-tree,s,1") in new stack
    -- Executing [s@sub-get-device-tree:1] NoOp("SIP/155-00000003", "Configuring Device Tree") in new stack
    -- Executing [s@sub-get-device-tree:2] Set("SIP/155-00000003", "DEV_TECHNOLOGY=SIP") in new stack
    -- Executing [s@sub-get-device-tree:3] GosubIf("SIP/155-00000003", "0?s-local,1") in new stack
    -- Executing [s@sub-get-device-tree:4] GotoIf("SIP/155-00000003", "0?return") in new stack
    -- Executing [s@sub-get-device-tree:5] GotoIf("SIP/155-00000003", "0?pjsip") in new stack
    -- Executing [s@sub-get-device-tree:6] GotoIf("SIP/155-00000003", "0?:digital") in new stack
    -- Goto (sub-get-device-tree,s,12)
    -- Executing [s@sub-get-device-tree:12] Set("SIP/155-00000003", "DEV_USER=155") in new stack
    -- Executing [s@sub-get-device-tree:13] Set("SIP/155-00000003", "INTERFACE=SIP/155") in new stack
    -- Executing [s@sub-get-device-tree:14] Set("SIP/155-00000003", "DEV_TREE=devices/SIP/155") in new stack
    -- Executing [s@sub-get-device-tree:15] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@sub-construct-cid:6] GotoIf("SIP/155-00000003", "0?return") in new stack
    -- Executing [s@sub-construct-cid:7] Set("SIP/155-00000003", "_CALL_SOURCE=155") in new stack
    -- Executing [s@sub-construct-cid:8] Set("SIP/155-00000003", "_CS=155") in new stack
    -- Executing [s@sub-construct-cid:9] ExecIf("SIP/155-00000003", "1?Set(CALLERID(all)="prueba20" <155>)") in new stack
    -- Executing [s@sub-construct-cid:10] Set("SIP/155-00000003", "_CID_CONSTRUCTED=yes") in new stack
    -- Executing [s@sub-construct-cid:11] NoOp("SIP/155-00000003", "") in new stack
    -- Executing [s@sub-construct-cid:12] Set("SIP/155-00000003", "CDR(source)=155") in new stack
    -- Executing [s@sub-construct-cid:13] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:6] Gosub("SIP/155-00000003", "set-global-tenant-vars,s,1") in new stack
    -- Executing [s@set-global-tenant-vars:1] NoOp("SIP/155-00000003", "Setting Global Vars for vitalpbx Tenant") in new stack
    -- Executing [s@set-global-tenant-vars:2] Set("SIP/155-00000003", "__TENANT_PATH=cb7ac84e35ecddfc") in new stack
    -- Executing [s@set-global-tenant-vars:3] Set("SIP/155-00000003", "__TENANT_PREFIX=") in new stack
    -- Executing [s@set-global-tenant-vars:4] Set("SIP/155-00000003", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack
    -- Executing [s@set-global-tenant-vars:5] Set("SIP/155-00000003", "__FOLLOWME_CONTEXT=ext-followme") in new stack
    -- Executing [s@set-global-tenant-vars:6] Set("SIP/155-00000003", "__HINTS_CONTEXT=extension-hints") in new stack
    -- Executing [s@set-global-tenant-vars:7] Set("SIP/155-00000003", "__DEFAULT_COS=cos-all") in new stack
    -- Executing [s@set-global-tenant-vars:8] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:7] GotoIf("SIP/155-00000003", "0?local-dialing") in new stack
    -- Executing [s@cos-all:8] NoOp("SIP/155-00000003", "Check if is an Emergency Call") in new stack
    -- Executing [s@cos-all:9] GotoIf("SIP/155-00000003", "0?emergency-calls,*52,1") in new stack
    -- Executing [s@cos-all:10] Gosub("SIP/155-00000003", "sub-lockphone-check,s,1") in new stack
    -- Executing [s@sub-lockphone-check:1] NoOp("SIP/155-00000003", "SUB: LOCK PHONE CHECK") in new stack
    -- Executing [s@sub-lockphone-check:2] GotoIf("SIP/155-00000003", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:3] GotoIf("SIP/155-00000003", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:4] GotoIf("SIP/155-00000003", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:5] GotoIf("SIP/155-00000003", "0?unlock") in new stack
    -- Executing [s@sub-lockphone-check:6] GotoIf("SIP/155-00000003", "0?:unlock") in new stack
    -- Goto (sub-lockphone-check,s,12)
    -- Executing [s@sub-lockphone-check:12] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:11] Gosub("SIP/155-00000003", "sub-local-dialing,s,1") in new stack
    -- Executing [s@sub-local-dialing:1] NoOp("SIP/155-00000003", "Trying to determine if is a local extension") in new stack
    -- Executing [s@sub-local-dialing:2] GotoIf("SIP/155-00000003", "0?:return") in new stack
    -- Goto (sub-local-dialing,s,5)
    -- Executing [s@sub-local-dialing:5] Return("SIP/155-00000003", "") in new stack
    -- Executing [s@cos-all:12] GotoIf("SIP/155-00000003", "0?end-call") in new stack
    -- Executing [s@cos-all:13] Goto("SIP/155-00000003", "cos-all-post,*52,1") in new stack
    -- Goto (cos-all-post,*52,1)
    -- Executing [*52@cos-all-post:1] NoOp("SIP/155-00000003", "Queues Login/Logout") in new stack
    -- Executing [*52@cos-all-post:2] Gosub("SIP/155-00000003", "sub-queues-login-logout,s,1") in new stack
    -- Executing [s@sub-queues-login-logout:1] NoOp("SIP/155-00000003", "") in new stack
    -- Executing [s@sub-queues-login-logout:2] Answer("SIP/155-00000003", "") in new stack
    > 0x7fe89c005f80 -- Strict RTP switching to RTP target address 10.150.5.114:5096 as source
    -- Executing [s@sub-queues-login-logout:3] Read("SIP/155-00000003", "CHOOSE,vpbx/vital-agent-login-logout,1,,3,5") in new stack
    -- Accepting a maximum of 1 digits.
    -- <SIP/155-00000003> Playing 'vpbx/vital-agent-login-logout.slin' (language 'es_NI')
    > 0x7fe89c005f80 -- Strict RTP learning complete - Locking on source address 10.150.5.114:5096
    -- User entered nothing, 2 chances left
    -- <SIP/155-00000003> Playing 'vpbx/vital-agent-login-logout.slin' (language 'es_NI')
    -- User entered nothing, 1 chance left
    -- <SIP/155-00000003> Playing 'vpbx/vital-agent-login-logout.slin' (language 'es_NI')

    Directly appears as if the user does not press any key, when in fact press 1 to enter.

    0