Reply To: Calls fail using off-hook dialing.

VitalPBX Community Support General Discussion Calls fail using off-hook dialing. Reply To: Calls fail using off-hook dialing.

    rudolfl
    Participant
    Up
    0
    Down
    Thank you Jose,

     

    Here is the log (calling from extension 101)

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    > 0x7fcc50019c40 — Strict RTP learning after remote address set to: 192. 168.1.17:2234
    — Executing [10@cos-all:1] NoOp(“SIP/101-000000b1”, “More than on digit pat tern”) in new stack
    — Executing [10@cos-all:2] Gosub(“SIP/101-000000b1”, “s,1(10)”) in new stac k
    — Executing [s@cos-all:1] Set(“SIP/101-000000b1”, “EXTENSION=10”) in new st ack
    — Executing [s@cos-all:2] NoOp(“SIP/101-000000b1”, “Dialing 10 from 101”) i n new stack
    — Executing [s@cos-all:3] Gosub(“SIP/101-000000b1”, “sub-set-global-vars,s, 1(66564b9f1672d039,10,parking-1)”) in new stack
    — Executing [s@sub-set-global-vars:1] NoOp(“SIP/101-000000b1”, “Setting Glo bal Vars”) in new stack
    — Executing [s@sub-set-global-vars:2] Set(“SIP/101-000000b1”, “TENANT_PATH= 66564b9f1672d039”) in new stack
    — Executing [s@sub-set-global-vars:3] Set(“SIP/101-000000b1”, “PREFIX=”) in new stack
    — Executing [s@sub-set-global-vars:4] Set(“SIP/101-000000b1”, “__PICKUPMARK =10”) in new stack
    — Executing [s@sub-set-global-vars:5] Set(“SIP/101-000000b1”, “__PARKINGLOT =parking-1”) in new stack
    — Executing [s@sub-set-global-vars:6] Set(“SIP/101-000000b1”, “__DYNAMIC_FE ATURES=custom-features”) in new stack
    — Executing [s@sub-set-global-vars:7] Set(“SIP/101-000000b1”, “ICALL=no”) i n new stack
    — Executing [s@sub-set-global-vars:8] Return(“SIP/101-000000b1”, “”) in new stack
    — Executing [s@cos-all:4] Gosub(“SIP/101-000000b1”, “sub-set-call-vars,s,1( 66564b9f1672d039,10,1,cos-all,ARS-all)”) in new stack
    — Executing [s@sub-set-call-vars:1] NoOp(“SIP/101-000000b1”, “Setting Call Vars”) in new stack
    — Executing [s@sub-set-call-vars:2] Set(“SIP/101-000000b1”, “_TENANT=66564b 9f1672d039”) in new stack
    — Executing [s@sub-set-call-vars:3] Set(“SIP/101-000000b1”, “_CALL_DESTINAT ION=10”) in new stack
    — Executing [s@sub-set-call-vars:4] Set(“SIP/101-000000b1”, “_COS_ID=1”) in new stack
    — Executing [s@sub-set-call-vars:5] Set(“SIP/101-000000b1”, “_COS_NAME=cos- all”) in new stack
    — Executing [s@sub-set-call-vars:6] Set(“SIP/101-000000b1”, “__TRANSFER_CON TEXT=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:7] Set(“SIP/101-000000b1”, “_ARS=ARS-all”) in new stack
    — Executing [s@sub-set-call-vars:8] Set(“SIP/101-000000b1”, “CDR(tenant)=vi talpbx”) in new stack
    — Executing [s@sub-set-call-vars:9] Set(“SIP/101-000000b1”, “CDR(destinatio n)=10”) in new stack
    — Executing [s@sub-set-call-vars:10] Set(“SIP/101-000000b1”, “__CALLID=1591 578315.424”) in new stack
    — Executing [s@sub-set-call-vars:11] Return(“SIP/101-000000b1”, “”) in new stack
    — Executing [s@cos-all:5] Gosub(“SIP/101-000000b1”, “sub-construct-cid,s,1” ) in new stack
    — Executing [s@sub-construct-cid:1] NoOp(“SIP/101-000000b1”, “Building CID” ) in new stack
    — Executing [s@sub-construct-cid:2] Set(“SIP/101-000000b1”, “_CALL_SOURCE=1 01”) in new stack
    — Executing [s@sub-construct-cid:3] Set(“SIP/101-000000b1”, “_CS=101”) in n ew stack
    — Executing [s@sub-construct-cid:4] GotoIf(“SIP/101-000000b1”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:5] Gosub(“SIP/101-000000b1”, “sub-get-devi ce-tree,s,1”) in new stack
    — Executing [s@sub-get-device-tree:1] NoOp(“SIP/101-000000b1”, “Configuring Device Tree”) in new stack
    — Executing [s@sub-get-device-tree:2] Set(“SIP/101-000000b1”, “DEV_TECHNOLO GY=SIP”) in new stack
    — Executing [s@sub-get-device-tree:3] GosubIf(“SIP/101-000000b1”, “0?s-loca l,1”) in new stack
    — Executing [s@sub-get-device-tree:4] GotoIf(“SIP/101-000000b1”, “0?return” ) in new stack
    — Executing [s@sub-get-device-tree:5] GotoIf(“SIP/101-000000b1”, “0?pjsip”) in new stack
    — Executing [s@sub-get-device-tree:6] GotoIf(“SIP/101-000000b1”, “0?:digita l”) in new stack
    — Goto (sub-get-device-tree,s,12)
    — Executing [s@sub-get-device-tree:12] Set(“SIP/101-000000b1”, “DEV_USER=10 1”) in new stack
    — Executing [s@sub-get-device-tree:13] Set(“SIP/101-000000b1”, “INTERFACE=S IP/101”) in new stack
    — Executing [s@sub-get-device-tree:14] Set(“SIP/101-000000b1”, “DEV_TREE=de vices/SIP/101”) in new stack
    — Executing [s@sub-get-device-tree:15] Return(“SIP/101-000000b1”, “”) in ne w stack
    — Executing [s@sub-construct-cid:6] GotoIf(“SIP/101-000000b1”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:7] Set(“SIP/101-000000b1”, “_CALL_SOURCE=1 01”) in new stack
    — Executing [s@sub-construct-cid:8] Set(“SIP/101-000000b1”, “_CS=101”) in n ew stack
    — Executing [s@sub-construct-cid:9] ExecIf(“SIP/101-000000b1”, “1?Set(CALLE RID(all)=”Rudolf” <101>)”) in new stack
    — Executing [s@sub-construct-cid:10] Set(“SIP/101-000000b1”, “_CID_CONSTRUC TED=yes”) in new stack
    — Executing [s@sub-construct-cid:11] NoOp(“SIP/101-000000b1”, “”) in new st ack
    — Executing [s@sub-construct-cid:12] Set(“SIP/101-000000b1”, “CDR(source)=1 01”) in new stack
    — Executing [s@sub-construct-cid:13] Return(“SIP/101-000000b1”, “”) in new stack
    — Executing [s@cos-all:6] Gosub(“SIP/101-000000b1”, “set-global-tenant-vars ,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/101-000000b1”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/101-000000b1”, “__TENANT_ PATH=66564b9f1672d039”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/101-000000b1”, “__TENANT_ PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/101-000000b1”, “__QUEUE_A GENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/101-000000b1”, “__FOLLOWM E_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/101-000000b1”, “__HINTS_C ONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Set(“SIP/101-000000b1”, “__DEFAULT _COS=cos-all”) in new stack
    — Executing [s@set-global-tenant-vars:8] Return(“SIP/101-000000b1”, “”) in new stack
    — Executing [s@cos-all:7] GotoIf(“SIP/101-000000b1”, “0?local-dialing”) in new stack
    — Executing [s@cos-all:8] NoOp(“SIP/101-000000b1”, “Check if is an Emergenc y Call”) in new stack
    — Executing [s@cos-all:9] GotoIf(“SIP/101-000000b1”, “0?emergency-calls,10, 1”) in new stack
    — Executing [s@cos-all:10] Gosub(“SIP/101-000000b1”, “sub-lockphone-check,s ,1”) in new stack
    — Executing [s@sub-lockphone-check:1] NoOp(“SIP/101-000000b1”, “SUB: LOCK P HONE CHECK”) in new stack
    — Executing [s@sub-lockphone-check:2] GotoIf(“SIP/101-000000b1”, “0?unlock” ) in new stack
    — Executing [s@sub-lockphone-check:3] GotoIf(“SIP/101-000000b1”, “0?unlock” ) in new stack
    — Executing [s@sub-lockphone-check:4] GotoIf(“SIP/101-000000b1”, “0?unlock” ) in new stack
    — Executing [s@sub-lockphone-check:5] GotoIf(“SIP/101-000000b1”, “0?unlock” ) in new stack
    — Executing [s@sub-lockphone-check:6] GotoIf(“SIP/101-000000b1”, “0?:unlock “) in new stack
    — Goto (sub-lockphone-check,s,12)
    — Executing [s@sub-lockphone-check:12] Return(“SIP/101-000000b1”, “”) in ne w stack
    — Executing [s@cos-all:11] Gosub(“SIP/101-000000b1”, “sub-local-dialing,s,1 “) in new stack
    — Executing [s@sub-local-dialing:1] NoOp(“SIP/101-000000b1”, “Trying to det ermine if is a local extension”) in new stack
    — Executing [s@sub-local-dialing:2] GotoIf(“SIP/101-000000b1”, “0?:return”) in new stack
    — Goto (sub-local-dialing,s,4)
    — Executing [s@sub-local-dialing:4] Return(“SIP/101-000000b1”, “”) in new s tack
    — Executing [s@cos-all:12] GotoIf(“SIP/101-000000b1”, “0?end-call”) in new stack
    — Executing [s@cos-all:13] Goto(“SIP/101-000000b1”, “cos-all-post,10,1”) in new stack
    — Goto (cos-all-post,10,1)
    — Executing [10@cos-all-post:1] NoOp(“SIP/101-000000b1”, “No valid number f ound”) in new stack
    — Executing [10@cos-all-post:2] ExecIf(“SIP/101-000000b1”, “0?Hangup()”) in new stack
    — Executing [10@cos-all-post:3] ForkCDR(“SIP/101-000000b1”, “e”) in new sta ck
    — Executing [10@cos-all-post:4] Goto(“SIP/101-000000b1”, “invalid-dest-cos, s,1”) in new stack
    — Goto (invalid-dest-cos,s,1)
    — Executing [s@invalid-dest-cos:1] NoOp(“SIP/101-000000b1”, “Invalid Route Dialed in COS”) in new stack
    — Executing [s@invalid-dest-cos:2] GotoIf(“SIP/101-000000b1”, “0?end”) in n ew stack
    — Executing [s@invalid-dest-cos:3] GotoIf(“SIP/101-000000b1”, “0?end”) in n ew stack
    — Executing [s@invalid-dest-cos:4] Playback(“SIP/101-000000b1”, “silence/1& cannot-complete-as-dialed&check-number-dial-again”) in new stack
    > 0x7fcc50019c40 — Strict RTP switching to RTP target address 192.168.1. 17:2234 as source
    — <SIP/101-000000b1> Playing ‘silence/1.ulaw’ (language ‘en’)
    — <SIP/101-000000b1> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en ‘)
    — <SIP/101-000000b1> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)

     

    And here is log for same call when done on-hook (calling fro 101 to 102):

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    > 0x7fcc50019c40 — Strict RTP learning after remote address set to: 192.168.1.17:2238
    — Executing [102@cos-all:1] NoOp(“SIP/101-000000b2”, “More than on digit pattern”) in new stack
    — Executing [102@cos-all:2] Gosub(“SIP/101-000000b2”, “s,1(102)”) in new stack
    — Executing [s@cos-all:1] Set(“SIP/101-000000b2”, “EXTENSION=102”) in new stack
    — Executing [s@cos-all:2] NoOp(“SIP/101-000000b2”, “Dialing 102 from 101”) in new stack
    — Executing [s@cos-all:3] Gosub(“SIP/101-000000b2”, “sub-set-global-vars,s,1(66564b9f1672d039,102,parking-1)”) in new stack
    — Executing [s@sub-set-global-vars:1] NoOp(“SIP/101-000000b2”, “Setting Global Vars”) in new stack
    — Executing [s@sub-set-global-vars:2] Set(“SIP/101-000000b2”, “TENANT_PATH=66564b9f1672d039”) in new stack
    — Executing [s@sub-set-global-vars:3] Set(“SIP/101-000000b2”, “PREFIX=”) in new stack
    — Executing [s@sub-set-global-vars:4] Set(“SIP/101-000000b2”, “__PICKUPMARK=102”) in new stack
    — Executing [s@sub-set-global-vars:5] Set(“SIP/101-000000b2”, “__PARKINGLOT=parking-1”) in new stack
    — Executing [s@sub-set-global-vars:6] Set(“SIP/101-000000b2”, “__DYNAMIC_FEATURES=custom-features”) in new stack
    — Executing [s@sub-set-global-vars:7] Set(“SIP/101-000000b2”, “ICALL=no”) in new stack
    — Executing [s@sub-set-global-vars:8] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@cos-all:4] Gosub(“SIP/101-000000b2”, “sub-set-call-vars,s,1(66564b9f1672d039,102,1,cos-all,ARS-all)”) in new stack
    — Executing [s@sub-set-call-vars:1] NoOp(“SIP/101-000000b2”, “Setting Call Vars”) in new stack
    — Executing [s@sub-set-call-vars:2] Set(“SIP/101-000000b2”, “_TENANT=66564b9f1672d039”) in new stack
    — Executing [s@sub-set-call-vars:3] Set(“SIP/101-000000b2”, “_CALL_DESTINATION=102”) in new stack
    — Executing [s@sub-set-call-vars:4] Set(“SIP/101-000000b2”, “_COS_ID=1”) in new stack
    — Executing [s@sub-set-call-vars:5] Set(“SIP/101-000000b2”, “_COS_NAME=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:6] Set(“SIP/101-000000b2”, “__TRANSFER_CONTEXT=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:7] Set(“SIP/101-000000b2”, “_ARS=ARS-all”) in new stack
    — Executing [s@sub-set-call-vars:8] Set(“SIP/101-000000b2”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [s@sub-set-call-vars:9] Set(“SIP/101-000000b2”, “CDR(destination)=102”) in new stack
    — Executing [s@sub-set-call-vars:10] Set(“SIP/101-000000b2”, “__CALLID=1591578527.427”) in new stack
    — Executing [s@sub-set-call-vars:11] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@cos-all:5] Gosub(“SIP/101-000000b2”, “sub-construct-cid,s,1”) in new stack
    — Executing [s@sub-construct-cid:1] NoOp(“SIP/101-000000b2”, “Building CID”) in new stack
    — Executing [s@sub-construct-cid:2] Set(“SIP/101-000000b2”, “_CALL_SOURCE=101”) in new stack
    — Executing [s@sub-construct-cid:3] Set(“SIP/101-000000b2”, “_CS=101”) in new stack
    — Executing [s@sub-construct-cid:4] GotoIf(“SIP/101-000000b2”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:5] Gosub(“SIP/101-000000b2”, “sub-get-device-tree,s,1”) in new stack
    — Executing [s@sub-get-device-tree:1] NoOp(“SIP/101-000000b2”, “Configuring Device Tree”) in new stack
    — Executing [s@sub-get-device-tree:2] Set(“SIP/101-000000b2”, “DEV_TECHNOLOGY=SIP”) in new stack
    — Executing [s@sub-get-device-tree:3] GosubIf(“SIP/101-000000b2”, “0?s-local,1”) in new stack
    — Executing [s@sub-get-device-tree:4] GotoIf(“SIP/101-000000b2”, “0?return”) in new stack
    — Executing [s@sub-get-device-tree:5] GotoIf(“SIP/101-000000b2”, “0?pjsip”) in new stack
    — Executing [s@sub-get-device-tree:6] GotoIf(“SIP/101-000000b2”, “0?:digital”) in new stack
    — Goto (sub-get-device-tree,s,12)
    — Executing [s@sub-get-device-tree:12] Set(“SIP/101-000000b2”, “DEV_USER=101”) in new stack
    — Executing [s@sub-get-device-tree:13] Set(“SIP/101-000000b2”, “INTERFACE=SIP/101”) in new stack
    — Executing [s@sub-get-device-tree:14] Set(“SIP/101-000000b2”, “DEV_TREE=devices/SIP/101”) in new stack
    — Executing [s@sub-get-device-tree:15] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@sub-construct-cid:6] GotoIf(“SIP/101-000000b2”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:7] Set(“SIP/101-000000b2”, “_CALL_SOURCE=101”) in new stack
    — Executing [s@sub-construct-cid:8] Set(“SIP/101-000000b2”, “_CS=101”) in new stack
    — Executing [s@sub-construct-cid:9] ExecIf(“SIP/101-000000b2”, “1?Set(CALLERID(all)=”Rudolf” <101>)”) in new stack
    — Executing [s@sub-construct-cid:10] Set(“SIP/101-000000b2”, “_CID_CONSTRUCTED=yes”) in new stack
    — Executing [s@sub-construct-cid:11] NoOp(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@sub-construct-cid:12] Set(“SIP/101-000000b2”, “CDR(source)=101”) in new stack
    — Executing [s@sub-construct-cid:13] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@cos-all:6] Gosub(“SIP/101-000000b2”, “set-global-tenant-vars,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/101-000000b2”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/101-000000b2”, “__TENANT_PATH=66564b9f1672d039”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/101-000000b2”, “__TENANT_PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/101-000000b2”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/101-000000b2”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/101-000000b2”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Set(“SIP/101-000000b2”, “__DEFAULT_COS=cos-all”) in new stack
    — Executing [s@set-global-tenant-vars:8] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@cos-all:7] GotoIf(“SIP/101-000000b2”, “0?local-dialing”) in new stack
    — Executing [s@cos-all:8] NoOp(“SIP/101-000000b2”, “Check if is an Emergency Call”) in new stack
    — Executing [s@cos-all:9] GotoIf(“SIP/101-000000b2”, “0?emergency-calls,102,1”) in new stack
    — Executing [s@cos-all:10] Gosub(“SIP/101-000000b2”, “sub-lockphone-check,s,1”) in new stack
    — Executing [s@sub-lockphone-check:1] NoOp(“SIP/101-000000b2”, “SUB: LOCK PHONE CHECK”) in new stack
    — Executing [s@sub-lockphone-check:2] GotoIf(“SIP/101-000000b2”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:3] GotoIf(“SIP/101-000000b2”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:4] GotoIf(“SIP/101-000000b2”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:5] GotoIf(“SIP/101-000000b2”, “0?unlock”) in new stack
    — Executing [s@sub-lockphone-check:6] GotoIf(“SIP/101-000000b2”, “0?:unlock”) in new stack
    — Goto (sub-lockphone-check,s,12)
    — Executing [s@sub-lockphone-check:12] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@cos-all:11] Gosub(“SIP/101-000000b2”, “sub-local-dialing,s,1”) in new stack
    — Executing [s@sub-local-dialing:1] NoOp(“SIP/101-000000b2”, “Trying to determine if is a local extension”) in new stack
    — Executing [s@sub-local-dialing:2] GotoIf(“SIP/101-000000b2”, “1?:return”) in new stack
    — Executing [s@sub-local-dialing:3] Goto(“SIP/101-000000b2”, “102,1”) in new stack
    — Goto (sub-local-dialing,102,1)
    — Executing [102@sub-local-dialing:1] NoOp(“SIP/101-000000b2”, “Dialing Local Extension”) in new stack
    — Executing [102@sub-local-dialing:2] Gosub(“SIP/101-000000b2”, “sub-setup-call-type,s,1(internal)”) in new stack
    — Executing [s@sub-setup-call-type:1] NoOp(“SIP/101-000000b2”, “Determinating Call Type”) in new stack
    — Executing [s@sub-setup-call-type:2] GotoIf(“SIP/101-000000b2”, “0?return”) in new stack
    — Executing [s@sub-setup-call-type:3] Gosub(“SIP/101-000000b2”, “s-internal,1()”) in new stack
    — Executing [s-internal@sub-setup-call-type:1] NoOp(“SIP/101-000000b2”, “Internal Call”) in new stack
    — Executing [s-internal@sub-setup-call-type:2] Set(“SIP/101-000000b2”, “__CALL_TYPE=1”) in new stack
    — Executing [s-internal@sub-setup-call-type:3] Set(“SIP/101-000000b2”, “__CALL_TYPE_LABEL=LOCAL”) in new stack
    — Executing [s-internal@sub-setup-call-type:4] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@sub-setup-call-type:4] Set(“SIP/101-000000b2”, “__CALL_TYPE_CONFIGURED=yes”) in new stack
    — Executing [s@sub-setup-call-type:5] Set(“SIP/101-000000b2”, “CDR(calltype)=1”) in new stack
    — Executing [s@sub-setup-call-type:6] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [102@sub-local-dialing:3] Set(“SIP/101-000000b2”, “_DESTINATION_STATE=NOT_INUSE”) in new stack
    — Executing [102@sub-local-dialing:4] Set(“SIP/101-000000b2”, “_DESTINATION_NUMBER=102”) in new stack
    — Executing [102@sub-local-dialing:5] Set(“SIP/101-000000b2”, “_DESTINATION_COS_NAME=cos-all”) in new stack
    — Executing [102@sub-local-dialing:6] Gosub(“SIP/101-000000b2”, “sub-check-cos-privacy,s,1(cos-all,1,cos-all)”) in new stack
    — Executing [s@sub-check-cos-privacy:1] NoOp(“SIP/101-000000b2”, “Checking Privacy of CoS: cos-all”) in new stack
    — Executing [s@sub-check-cos-privacy:2] GotoIf(“SIP/101-000000b2”, “1?:no_local”) in new stack
    — Executing [s@sub-check-cos-privacy:3] Set(“SIP/101-000000b2”, “CALLER_COS_ID=1”) in new stack
    — Executing [s@sub-check-cos-privacy:4] Set(“SIP/101-000000b2”, “CALLER_COS_NAME=cos-all”) in new stack
    — Executing [s@sub-check-cos-privacy:5] Set(“SIP/101-000000b2”, “CALLED_COS_ID=1”) in new stack
    — Executing [s@sub-check-cos-privacy:6] GotoIf(“SIP/101-000000b2”, “1?same_cos”) in new stack
    — Goto (sub-check-cos-privacy,s,17)
    — Executing [s@sub-check-cos-privacy:17] NoOp(“SIP/101-000000b2”, “The caller CoS and Callee CoS are the same”) in new stack
    — Executing [s@sub-check-cos-privacy:18] Goto(“SIP/101-000000b2”, “return”) in new stack
    — Goto (sub-check-cos-privacy,s,22)
    — Executing [s@sub-check-cos-privacy:22] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [102@sub-local-dialing:7] Set(“SIP/101-000000b2”, “DIAL_STRING=SIP/102”) in new stack
    — Executing [102@sub-local-dialing:8] Set(“SIP/101-000000b2”, “DB(66564b9f1672d039/LASTCALLER/102)=101”) in new stack
    — Executing [102@sub-local-dialing:9] Set(“SIP/101-000000b2”, “IGNORE_DIVERSIONS=”) in new stack
    — Executing [102@sub-local-dialing:10] Set(“SIP/101-000000b2”, “QUEUE_CALL=”) in new stack
    — Executing [102@sub-local-dialing:11] GosubIf(“SIP/101-000000b2”, “0?sub-queue-members,s,1”) in new stack
    — Executing [102@sub-local-dialing:12] GosubIf(“SIP/101-000000b2”, “0?:sub-check-diversions,s,1(predialing)”) in new stack
    — Executing [s@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “Checking diversions for extension 102”) in new stack
    — Executing [s@sub-check-diversions:2] Set(“SIP/101-000000b2”, “OLD_CALLER_ID=”Rudolf” <101>”) in new stack
    — Executing [s@sub-check-diversions:3] GosubIf(“SIP/101-000000b2”, “0?:return”) in new stack
    — Executing [s@sub-check-diversions:9] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@sub-check-diversions:4] ExecIf(“SIP/101-000000b2”, “0?Set(CALLERID(all)=”Marina” <102>)”) in new stack
    — Executing [s@sub-check-diversions:5] Set(“SIP/101-000000b2”, “__CALL_ORIGIN=diversions”) in new stack
    — Executing [s@sub-check-diversions:6] Set(“SIP/101-000000b2”, “__DIVERSION_ORIGIN=102”) in new stack
    — Executing [s@sub-check-diversions:7] Gosub(“SIP/101-000000b2”, “s-predialing,1”) in new stack
    — Executing [s-predialing@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “Diversions on pre-dialing”) in new stack
    — Executing [s-predialing@sub-check-diversions:2] GosubIf(“SIP/101-000000b2”, “0?:diversion-testing,1(Do not Disturb,DND,,,dnd)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/101-000000b2”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,32)
    — Executing [diversion-testing@sub-check-diversions:32] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:3] Gosub(“SIP/101-000000b2”, “diversion-testing,1(Call Forward Immeditely,CFI,,,toggle_cfi)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/101-000000b2”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,32)
    — Executing [diversion-testing@sub-check-diversions:32] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:4] GosubIf(“SIP/101-000000b2”, “0?:diversion-testing,1(Boss Secretray,BOSS,,,boss_secretary)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/101-000000b2”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,32)
    — Executing [diversion-testing@sub-check-diversions:32] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:5] GosubIf(“SIP/101-000000b2”, “0?:diversion-testing,1(Personal Assistant,PEA,sub-personal-assistant,s,1)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/101-000000b2”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/101-000000b2”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,32)
    — Executing [diversion-testing@sub-check-diversions:32] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:6] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@sub-check-diversions:8] Set(“SIP/101-000000b2”, “CALLERID(all)=”Rudolf” <101>”) in new stack
    — Executing [s@sub-check-diversions:9] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [102@sub-local-dialing:13] GotoIf(“SIP/101-000000b2”, “0?post-dial”) in new stack
    — Executing [102@sub-local-dialing:14] Gosub(“SIP/101-000000b2”, “parse-dial-string,s,1”) in new stack
    — Executing [s@parse-dial-string:1] NoOp(“SIP/101-000000b2”, “Parsing dial string: SIP/102”) in new stack
    — Executing [s@parse-dial-string:2] Set(“SIP/101-000000b2”, “NEW_DIAL_STRING=”) in new stack
    — Executing [s@parse-dial-string:3] Set(“SIP/101-000000b2”, “COUNTER=1”) in new stack
    — Executing [s@parse-dial-string:4] Set(“SIP/101-000000b2”, “CURRENT_DEVICE=SIP/102”) in new stack
    — Executing [s@parse-dial-string:5] While(“SIP/101-000000b2”, “1”) in new stack
    — Executing [s@parse-dial-string:6] Set(“SIP/101-000000b2”, “TECHNOLOGY=SIP”) in new stack
    — Executing [s@parse-dial-string:7] Set(“SIP/101-000000b2”, “USER=102”) in new stack
    — Executing [s@parse-dial-string:8] GotoIf(“SIP/101-000000b2”, “0?:regular”) in new stack
    — Goto (parse-dial-string,s,12)
    — Executing [s@parse-dial-string:12] Set(“SIP/101-000000b2”, “PARSED_DEV=SIP/102”) in new stack
    — Executing [s@parse-dial-string:13] GotoIf(“SIP/101-000000b2”, “1?:concatenate”) in new stack
    — Executing [s@parse-dial-string:14] Set(“SIP/101-000000b2”, “NEW_DIAL_STRING=SIP/102”) in new stack
    — Executing [s@parse-dial-string:15] Goto(“SIP/101-000000b2”, “next”) in new stack
    — Goto (parse-dial-string,s,18)
    — Executing [s@parse-dial-string:18] Set(“SIP/101-000000b2”, “COUNTER=2”) in new stack
    — Executing [s@parse-dial-string:19] Set(“SIP/101-000000b2”, “CURRENT_DEVICE=”) in new stack
    — Executing [s@parse-dial-string:20] EndWhile(“SIP/101-000000b2”, “”) in new stack
    — Executing [s@parse-dial-string:5] While(“SIP/101-000000b2”, “0”) in new stack
    — Executing [s@parse-dial-string:21] NoOp(“SIP/101-000000b2”, “New dialstring: SIP/102”) in new stack
    — Executing [s@parse-dial-string:22] Set(“SIP/101-000000b2”, “DIAL_STRING=SIP/102”) in new stack
    — Executing [s@parse-dial-string:23] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [102@sub-local-dialing:15] NoOp(“SIP/101-000000b2”, “Configuring Dial Settings”) in new stack
    — Executing [102@sub-local-dialing:16] Set(“SIP/101-000000b2”, “RING_TIME=30”) in new stack
    — Executing [102@sub-local-dialing:17] Set(“SIP/101-000000b2”, “RING_TIME=30”) in new stack
    — Executing [102@sub-local-dialing:18] Set(“SIP/101-000000b2”, “RING_TIME=30”) in new stack
    — Executing [102@sub-local-dialing:19] Set(“SIP/101-000000b2”, “DIAL_OPTIONS=kKtTr”) in new stack
    — Executing [102@sub-local-dialing:20] Set(“SIP/101-000000b2”, “DIAL_OPTIONS=kKtTr”) in new stack
    — Executing [102@sub-local-dialing:21] GotoIf(“SIP/101-000000b2”, “0?:answermode”) in new stack
    — Goto (sub-local-dialing,102,25)
    — Executing [102@sub-local-dialing:25] Set(“SIP/101-000000b2”, “ANSWER_MODE=disable”) in new stack
    — Executing [102@sub-local-dialing:26] Set(“SIP/101-000000b2”, “ANSWER_MODE=disable”) in new stack
    — Executing [102@sub-local-dialing:27] ExecIf(“SIP/101-000000b2”, “0?Set(DIAL_OPTIONS=kKtTrb(sub-auto-answer^s^1))”) in new stack
    — Executing [102@sub-local-dialing:28] Set(“SIP/101-000000b2”, “IS_HOT_DESK=no”) in new stack
    — Executing [102@sub-local-dialing:29] Set(“SIP/101-000000b2”, “MOH_CLASS=default”) in new stack
    — Executing [102@sub-local-dialing:30] GosubIf(“SIP/101-000000b2”, “0?sub-set-moh,s,1(default)”) in new stack
    — Executing [102@sub-local-dialing:31] GotoIf(“SIP/101-000000b2”, “0?busy-here”) in new stack
    — Executing [102@sub-local-dialing:32] Set(“SIP/101-000000b2”, “FORCE_RECORDING=no”) in new stack
    — Executing [102@sub-local-dialing:33] Set(“SIP/101-000000b2”, “DIAL_OPTIONS=kKtTrU(sub-call-recording^66564b9f1672d039^101^102^no)”) in new stack
    — Executing [102@sub-local-dialing:34] Set(“SIP/101-000000b2”, “__TRANSFERED_CALL=TRUE”) in new stack
    — Executing [102@sub-local-dialing:35] ExecIf(“SIP/101-000000b2”, “0?Set(RING_TIME=0):”) in new stack
    — Executing [102@sub-local-dialing:36] GotoIf(“SIP/101-000000b2”, “0?post-dial”) in new stack
    — Executing [102@sub-local-dialing:37] GotoIf(“SIP/101-000000b2”, “0?end_call”) in new stack
    — Executing [102@sub-local-dialing:38] Dial(“SIP/101-000000b2”, “SIP/102,30,kKtTrU(sub-call-recording^66564b9f1672d039^101^102^no)”) in new stack
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    — Called SIP/102
    — SIP/102-000000b3 is ringing
    == Spawn extension (sub-local-dialing, 102, 38) exited non-zero on ‘SIP/101-000000b2’
    — Executing [h@sub-local-dialing:1] NoOp(“SIP/101-000000b2”, “Finishing the call”) in new stack
    — Executing [h@sub-local-dialing:2] GosubIf(“SIP/101-000000b2”, “0?dynamic-routing-connected,s,1(CANCEL,101)”) in new stack
    — Executing [h@sub-local-dialing:3] GotoIf(“SIP/101-000000b2”, “0?call_ended”) in new stack
    — Executing [h@sub-local-dialing:4] GosubIf(“SIP/101-000000b2”, “0?wake-up-no-answered,s,1”) in new stack
    — Executing [h@sub-local-dialing:5] Gosub(“SIP/101-000000b2”, “sub-call-completion-check,s,1”) in new stack
    — Executing [s@sub-call-completion-check:1] NoOp(“SIP/101-000000b2”, “FEATURE: CALL COMPLETION CHECK”) in new stack
    — Executing [s@sub-call-completion-check:2] Set(“SIP/101-000000b2”, “CC_MODE=none”) in new stack
    — Executing [s@sub-call-completion-check:3] Set(“SIP/101-000000b2”, “CC_MODE=none”) in new stack
    — Executing [s@sub-call-completion-check:4] Set(“SIP/101-000000b2”, “CC_MODE=none”) in new stack
    — Executing [s@sub-call-completion-check:5] GotoIf(“SIP/101-000000b2”, “1?end”) in new stack
    — Goto (sub-call-completion-check,s,17)
    — Executing [s@sub-call-completion-check:17] Return(“SIP/101-000000b2”, “”) in new stack
    — Executing [h@sub-local-dialing:6] NoOp(“SIP/101-000000b2”, “Call ended”) in new stack

    0