Reply To: RE: BLF hint not accesing correct extension

VitalPBX Community Support General Discussion BLF hint not accesing correct extension Reply To: RE: BLF hint not accesing correct extension

    Gary
    Participant
    Up
    0
    Down

    Here is ext 210 pressing button for dnd_201

     

    Connected to Asterisk 16.6.2 currently running on ptpbx (pid = 32583)
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    — Executing [DND_201@cos-all:1] Gosub(“SIP/ptpbx210-0000004f”, “cos-all-init,*66,1”) in new stack
    — Executing [*66@cos-all-init:1] NoOp(“SIP/ptpbx210-0000004f”, “More than on digit pattern”) in new stack
    — Executing [*66@cos-all-init:2] Gosub(“SIP/ptpbx210-0000004f”, “s,1(*66)”) in new stack
    — Executing [s@cos-all-init:1] Set(“SIP/ptpbx210-0000004f”, “EXTENSION=*66”) in new stack
    — Executing [s@cos-all-init:2] NoOp(“SIP/ptpbx210-0000004f”, “Dialing *66 from ptpbx210”) in new stack
    — Executing [s@cos-all-init:3] Gosub(“SIP/ptpbx210-0000004f”, “sub-set-global-vars,s,1(434bf2b48caea25b,*66,parking-1)”) in new stack
    — Executing [s@sub-set-global-vars:1] NoOp(“SIP/ptpbx210-0000004f”, “Setting Global Vars”) in new stack
    — Executing [s@sub-set-global-vars:2] Set(“SIP/ptpbx210-0000004f”, “TENANT_PATH=434bf2b48caea25b”) in new stack
    — Executing [s@sub-set-global-vars:3] Set(“SIP/ptpbx210-0000004f”, “PREFIX=”) in new stack
    — Executing [s@sub-set-global-vars:4] Set(“SIP/ptpbx210-0000004f”, “__PICKUPMARK=*66”) in new stack
    — Executing [s@sub-set-global-vars:5] Set(“SIP/ptpbx210-0000004f”, “__PARKINGLOT=parking-1”) in new stack
    — Executing [s@sub-set-global-vars:6] Set(“SIP/ptpbx210-0000004f”, “__DYNAMIC_FEATURES=custom-features”) in new stack
    — Executing [s@sub-set-global-vars:7] Set(“SIP/ptpbx210-0000004f”, “ICALL=no”) in new stack
    — Executing [s@sub-set-global-vars:8] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:4] Gosub(“SIP/ptpbx210-0000004f”, “sub-set-call-vars,s,1(434bf2b48caea25b,*66,1,cos-all,ARS-all)”) in new stack
    — Executing [s@sub-set-call-vars:1] NoOp(“SIP/ptpbx210-0000004f”, “Setting Call Vars”) in new stack
    — Executing [s@sub-set-call-vars:2] Set(“SIP/ptpbx210-0000004f”, “_TENANT=434bf2b48caea25b”) in new stack
    — Executing [s@sub-set-call-vars:3] Set(“SIP/ptpbx210-0000004f”, “_CALL_DESTINATION=*66”) in new stack
    — Executing [s@sub-set-call-vars:4] Set(“SIP/ptpbx210-0000004f”, “_COS_ID=1”) in new stack
    — Executing [s@sub-set-call-vars:5] Set(“SIP/ptpbx210-0000004f”, “_COS_NAME=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:6] Set(“SIP/ptpbx210-0000004f”, “__TRANSFER_CONTEXT=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:7] Set(“SIP/ptpbx210-0000004f”, “_ARS=ARS-all”) in new stack
    — Executing [s@sub-set-call-vars:8] Set(“SIP/ptpbx210-0000004f”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [s@sub-set-call-vars:9] Set(“SIP/ptpbx210-0000004f”, “CDR(destination)=*66”) in new stack
    — Executing [s@sub-set-call-vars:10] Set(“SIP/ptpbx210-0000004f”, “__CALLID=1586660420.251”) in new stack
    — Executing [s@sub-set-call-vars:11] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:5] Gosub(“SIP/ptpbx210-0000004f”, “sub-construct-cid,s,1”) in new stack
    — Executing [s@sub-construct-cid:1] NoOp(“SIP/ptpbx210-0000004f”, “Building CID”) in new stack
    — Executing [s@sub-construct-cid:2] Set(“SIP/ptpbx210-0000004f”, “_CALL_SOURCE=ptpbx210”) in new stack
    — Executing [s@sub-construct-cid:3] Set(“SIP/ptpbx210-0000004f”, “_CS=ptpbx210”) in new stack
    — Executing [s@sub-construct-cid:4] GotoIf(“SIP/ptpbx210-0000004f”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:5] Gosub(“SIP/ptpbx210-0000004f”, “sub-get-device-tree,s,1”) in new stack
    — Executing [s@sub-get-device-tree:1] NoOp(“SIP/ptpbx210-0000004f”, “Configuring Device Tree”) in new stack
    — Executing [s@sub-get-device-tree:2] Set(“SIP/ptpbx210-0000004f”, “DEV_TECHNOLOGY=SIP”) in new stack
    — Executing [s@sub-get-device-tree:3] GosubIf(“SIP/ptpbx210-0000004f”, “0?s-local,1”) in new stack
    — Executing [s@sub-get-device-tree:4] GotoIf(“SIP/ptpbx210-0000004f”, “0?return”) in new stack
    — Executing [s@sub-get-device-tree:5] GotoIf(“SIP/ptpbx210-0000004f”, “0?pjsip”) in new stack
    — Executing [s@sub-get-device-tree:6] GotoIf(“SIP/ptpbx210-0000004f”, “0?:digital”) in new stack
    — Goto (sub-get-device-tree,s,12)
    — Executing [s@sub-get-device-tree:12] Set(“SIP/ptpbx210-0000004f”, “DEV_USER=ptpbx210”) in new stack
    — Executing [s@sub-get-device-tree:13] Set(“SIP/ptpbx210-0000004f”, “INTERFACE=SIP/ptpbx210”) in new stack
    — Executing [s@sub-get-device-tree:14] Set(“SIP/ptpbx210-0000004f”, “DEV_TREE=devices/SIP/ptpbx210”) in new stack
    — Executing [s@sub-get-device-tree:15] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@sub-construct-cid:6] GotoIf(“SIP/ptpbx210-0000004f”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:7] Set(“SIP/ptpbx210-0000004f”, “_CALL_SOURCE=210”) in new stack
    — Executing [s@sub-construct-cid:8] Set(“SIP/ptpbx210-0000004f”, “_CS=210”) in new stack
    — Executing [s@sub-construct-cid:9] ExecIf(“SIP/ptpbx210-0000004f”, “1?Set(CALLERID(all)=”Gary FanvilX6U” <210>)”) in new stack
    — Executing [s@sub-construct-cid:10] Set(“SIP/ptpbx210-0000004f”, “_CID_CONSTRUCTED=yes”) in new stack
    — Executing [s@sub-construct-cid:11] NoOp(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@sub-construct-cid:12] Set(“SIP/ptpbx210-0000004f”, “CDR(source)=210”) in new stack
    — Executing [s@sub-construct-cid:13] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:6] Gosub(“SIP/ptpbx210-0000004f”, “set-global-tenant-vars,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/ptpbx210-0000004f”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/ptpbx210-0000004f”, “__TENANT_PATH=434bf2b48caea25b”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/ptpbx210-0000004f”, “__TENANT_PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/ptpbx210-0000004f”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/ptpbx210-0000004f”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/ptpbx210-0000004f”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Set(“SIP/ptpbx210-0000004f”, “__DEFAULT_COS=cos-all”) in new stack
    — Executing [s@set-global-tenant-vars:8] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:7] GotoIf(“SIP/ptpbx210-0000004f”, “0?local-dialing”) in new stack
    — Executing [s@cos-all-init:8] NoOp(“SIP/ptpbx210-0000004f”, “Check if is an Emergency Call”) in new stack
    — Executing [s@cos-all-init:9] GotoIf(“SIP/ptpbx210-0000004f”, “0?emergency-calls,*66,1”) in new stack
    — Executing [s@cos-all-init:10] Gosub(“SIP/ptpbx210-0000004f”, “sub-lockphone-check,s,1”) in new stack
    — Executing [s@sub-lockphone-check:1] NoOp(“SIP/ptpbx210-0000004f”, “SUB: LOCK PHONE CHECK”) in new stack
    — Executing [s@sub-lockphone-check:2] GotoIf(“SIP/ptpbx210-0000004f”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:3] GotoIf(“SIP/ptpbx210-0000004f”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:4] GotoIf(“SIP/ptpbx210-0000004f”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:5] GotoIf(“SIP/ptpbx210-0000004f”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:6] GotoIf(“SIP/ptpbx210-0000004f”, “0?:unlock”) in new stack
    — Goto (sub-lockphone-check,s,12)
    — Executing [s@sub-lockphone-check:12] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:11] Gosub(“SIP/ptpbx210-0000004f”, “sub-local-dialing,s,1”) in new stack
    — Executing [s@sub-local-dialing:1] NoOp(“SIP/ptpbx210-0000004f”, “Trying to determine if is a local extension”) in new stack
    — Executing [s@sub-local-dialing:2] GotoIf(“SIP/ptpbx210-0000004f”, “0?:return”) in new stack
    — Goto (sub-local-dialing,s,4)
    — Executing [s@sub-local
    -dialing:4] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@cos-all-init:12] GotoIf(“SIP/ptpbx210-0000004f”, “0?end-call”) in new stack
    — Executing [s@cos-all-init:13] Goto(“SIP/ptpbx210-0000004f”, “cos-all-post,*66,1”) in new stack
    — Goto (cos-all-post,*66,1)
    — Executing [*66@cos-all-post:1] NoOp(“SIP/ptpbx210-0000004f”, “Do Not Disturb – Toggle”) in new stack
    — Executing [*66@cos-all-post:2] Gosub(“SIP/ptpbx210-0000004f”, “sub-dnd-state,s,1”) in new stack
    — Executing [s@sub-dnd-state:1] NoOp(“SIP/ptpbx210-0000004f”, “SUB: DND ENABLED/DISABLED”) in new stack
    — Executing [s@sub-dnd-state:2] Answer(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@sub-dnd-state:3] Set(“SIP/ptpbx210-0000004f”, “DND_OPTION=”) in new stack
    — Executing [s@sub-dnd-state:4] GotoIf(“SIP/ptpbx210-0000004f”, “0?enable_dnd”) in new stack
    — Executing [s@sub-dnd-state:5] GotoIf(“SIP/ptpbx210-0000004f”, “0?disable_dnd”) in new stack
    — Executing [s@sub-dnd-state:6] Wait(“SIP/ptpbx210-0000004f”, “1”) in new stack
    — Executing [s@sub-dnd-state:7] GotoIf(“SIP/ptpbx210-0000004f”, “1?disable_dnd”) in new stack
    — Goto (sub-dnd-state,s,14)
    — Executing [s@sub-dnd-state:14] Set(“SIP/ptpbx210-0000004f”, “DB(434bf2b48caea25b/diversions/210/DND/enable)=no”) in new stack
    — Executing [s@sub-dnd-state:15] Set(“SIP/ptpbx210-0000004f”, “DEVICE_STATE(Custom:DND_210)=NOT_INUSE”) in new stack
    — Executing [s@sub-dnd-state:16] Gosub(“SIP/ptpbx210-0000004f”, “sub-cf-checkall,s,1”) in new stack
    — Executing [s@sub-cf-checkall:1] NoOp(“SIP/ptpbx210-0000004f”, “SUB: CHECK ALL CALL FOWARDING, DND, PERSONAL ASSISTANT AND FOLLOWME”) in new stack
    — Executing [s@sub-cf-checkall:2] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:3] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:4] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:5] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:6] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:7] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:8] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:9] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:10] GotoIf(“SIP/ptpbx210-0000004f”, “0?END”) in new stack
    — Executing [s@sub-cf-checkall:11] Set(“SIP/ptpbx210-0000004f”, “DB(434bf2b48caea25b/diversions/210/has_enable_diversions)=no”) in new stack
    — Executing [s@sub-cf-checkall:12] Return(“SIP/ptpbx210-0000004f”, “”) in new stack
    — Executing [s@sub-dnd-state:17] Set(“SIP/ptpbx210-0000004f”, “DND_ACTION=disable-DND”) in new stack
    — Executing [s@sub-dnd-state:18] Playback(“SIP/ptpbx210-0000004f”, “do-not-disturb&de-activated”) in new stack
    — <SIP/ptpbx210-0000004f> Playing ‘do-not-disturb.ulaw’ (language ‘en’)
    == Extension Changed DND_210[extension-hints] new state Idle for Notify User ptpbx210

    0