Executing [6517@cos-all:1] NoOp("PJSIP/6513-00000225", "More than on digit pattern") in new stack -- Executing [6517@cos-all:2] Gosub("PJSIP/6513-00000225", "s,1(6517)") in new stack -- Executing [s@cos-all:1] Set("PJSIP/6513-00000225", "EXTENSION=6517") in new stack -- Executing [s@cos-all:2] NoOp("PJSIP/6513-00000225", "Dialing 6517 from 6513") in new stack -- Executing [s@cos-all:3] Gosub("PJSIP/6513-00000225", "sub-set-global-vars,s,1(5fef83c8c52cc24d,6517,parking-1)") in new stack -- Executing [s@sub-set-global-vars:1] NoOp("PJSIP/6513-00000225", "Setting Global Vars") in new stack -- Executing [s@sub-set-global-vars:2] Set("PJSIP/6513-00000225", "TENANT_PATH=5fef83c8c52cc24d") in new stack -- Executing [s@sub-set-global-vars:3] Set("PJSIP/6513-00000225", "PREFIX=") in new stack -- Executing [s@sub-set-global-vars:4] Set("PJSIP/6513-00000225", "__PICKUPMARK=6517") in new stack -- Executing [s@sub-set-global-vars:5] Set("PJSIP/6513-00000225", "__PARKINGLOT=parking-1") in new stack -- Executing [s@sub-set-global-vars:6] Set("PJSIP/6513-00000225", "__DYNAMIC_FEATURES=custom-features") in new stack -- Executing [s@sub-set-global-vars:7] Set("PJSIP/6513-00000225", "ICALL=no") in new stack -- Executing [s@sub-set-global-vars:8] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@cos-all:4] Gosub("PJSIP/6513-00000225", "sub-set-call-vars,s,1(5fef83c8c52cc24d,6517,1,cos-all,ARS-all)") in new stack -- Executing [s@sub-set-call-vars:1] NoOp("PJSIP/6513-00000225", "Setting Call Vars") in new stack -- Executing [s@sub-set-call-vars:2] Set("PJSIP/6513-00000225", "_TENANT=5fef83c8c52cc24d") in new stack -- Executing [s@sub-set-call-vars:3] Set("PJSIP/6513-00000225", "_CALL_DESTINATION=6517") in new stack -- Executing [s@sub-set-call-vars:4] Set("PJSIP/6513-00000225", "_COS_ID=1") in new stack -- Executing [s@sub-set-call-vars:5] Set("PJSIP/6513-00000225", "_COS_NAME=cos-all") in new stack -- Executing [s@sub-set-call-vars:6] Set("PJSIP/6513-00000225", "__TRANSFER_CONTEXT=cos-all") in new stack -- Executing [s@sub-set-call-vars:7] Set("PJSIP/6513-00000225", "_ARS=ARS-all") in new stack -- Executing [s@sub-set-call-vars:8] Set("PJSIP/6513-00000225", "CDR(tenant)=vitalpbx") in new stack -- Executing [s@sub-set-call-vars:9] Set("PJSIP/6513-00000225", "CDR(destination)=6517") in new stack -- Executing [s@sub-set-call-vars:10] Set("PJSIP/6513-00000225", "CDR(trunk)=") in new stack -- Executing [s@sub-set-call-vars:11] Set("PJSIP/6513-00000225", "CDR(did)=") in new stack -- Executing [s@sub-set-call-vars:12] Set("PJSIP/6513-00000225", "__CALLID=1719943189.714") in new stack -- Executing [s@sub-set-call-vars:13] NoOp("PJSIP/6513-00000225", "Channel Type: PJSIP") in new stack -- Executing [s@sub-set-call-vars:14] ExecIf("PJSIP/6513-00000225", "1?Set(__PJSIP_CALLID=55B784554E2031915526A51899ABB06CD09056FE)") in new stack -- Executing [s@sub-set-call-vars:15] ExecIf("PJSIP/6513-00000225", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@sub-set-call-vars:16] ExecIf("PJSIP/6513-00000225", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@sub-set-call-vars:17] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@cos-all:5] Gosub("PJSIP/6513-00000225", "sub-construct-cid,s,1") in new stack -- Executing [s@sub-construct-cid:1] NoOp("PJSIP/6513-00000225", "Building CID") in new stack -- Executing [s@sub-construct-cid:2] Set("PJSIP/6513-00000225", "ORIGINAL_CID_NAME=Lucas") in new stack -- Executing [s@sub-construct-cid:3] Set("PJSIP/6513-00000225", "ORIGINAL_CID_NUMBER=6513") in new stack -- Executing [s@sub-construct-cid:4] Set("PJSIP/6513-00000225", "_CALL_SOURCE=6513") in new stack -- Executing [s@sub-construct-cid:5] Set("PJSIP/6513-00000225", "_CS=6513") in new stack -- Executing [s@sub-construct-cid:6] GotoIf("PJSIP/6513-00000225", "0?return") in new stack -- Executing [s@sub-construct-cid:7] Gosub("PJSIP/6513-00000225", "sub-get-device-tree,s,1") in new stack -- Executing [s@sub-get-device-tree:1] NoOp("PJSIP/6513-00000225", "Configuring Device Tree") in new stack -- Executing [s@sub-get-device-tree:2] Set("PJSIP/6513-00000225", "DEV_TECHNOLOGY=PJSIP") in new stack -- Executing [s@sub-get-device-tree:3] GosubIf("PJSIP/6513-00000225", "0?s-local,1") in new stack -- Executing [s@sub-get-device-tree:4] GotoIf("PJSIP/6513-00000225", "0?return") in new stack -- Executing [s@sub-get-device-tree:5] GotoIf("PJSIP/6513-00000225", "1?pjsip") in new stack -- Goto (sub-get-device-tree,s,9) -- Executing [s@sub-get-device-tree:9] NoOp("PJSIP/6513-00000225", "A PJSIP") in new stack -- Executing [s@sub-get-device-tree:10] Set("PJSIP/6513-00000225", "DEV_USER=6513") in new stack -- Executing [s@sub-get-device-tree:11] Goto("PJSIP/6513-00000225", "build_interface") in new stack -- Goto (sub-get-device-tree,s,13) -- Executing [s@sub-get-device-tree:13] Set("PJSIP/6513-00000225", "_INTERFACE=PJSIP/6513") in new stack -- Executing [s@sub-get-device-tree:14] Set("PJSIP/6513-00000225", "DEV_TREE=devices/PJSIP/6513") in new stack -- Executing [s@sub-get-device-tree:15] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@sub-construct-cid:8] GotoIf("PJSIP/6513-00000225", "0?return") in new stack -- Executing [s@sub-construct-cid:9] Set("PJSIP/6513-00000225", "_CALL_SOURCE=6513") in new stack -- Executing [s@sub-construct-cid:10] Set("PJSIP/6513-00000225", "_CS=6513") in new stack -- Executing [s@sub-construct-cid:11] Set("PJSIP/6513-00000225", "DYNAMIC_EXTERNAL_CID=no") in new stack -- Executing [s@sub-construct-cid:12] GotoIf("PJSIP/6513-00000225", "0?cid_constructed") in new stack -- Executing [s@sub-construct-cid:13] Set("PJSIP/6513-00000225", "EXTENSION_INTERNAL_CID="Lucas" <6513>") in new stack -- Executing [s@sub-construct-cid:14] ExecIf("PJSIP/6513-00000225", "1?Set(CALLERID(all)="Lucas" <6513>)") in new stack -- Executing [s@sub-construct-cid:15] Set("PJSIP/6513-00000225", "_CID_CONSTRUCTED=yes") in new stack -- Executing [s@sub-construct-cid:16] NoOp("PJSIP/6513-00000225", "") in new stack -- Executing [s@sub-construct-cid:17] Set("PJSIP/6513-00000225", "CDR(source)=6513") in new stack -- Executing [s@sub-construct-cid:18] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@cos-all:6] Gosub("PJSIP/6513-00000225", "set-global-tenant-vars,s,1") in new stack -- Executing [s@set-global-tenant-vars:1] NoOp("PJSIP/6513-00000225", "Setting Global Vars for vitalpbx Tenant") in new stack -- Executing [s@set-global-tenant-vars:2] Set("PJSIP/6513-00000225", "__TENANT_PATH=5fef83c8c52cc24d") in new stack -- Executing [s@set-global-tenant-vars:3] Set("PJSIP/6513-00000225", "__TENANT_PREFIX=") in new stack -- Executing [s@set-global-tenant-vars:4] Set("PJSIP/6513-00000225", "__QUEUE_AGENTS_CONTEXT=queue-call-to-agents") in new stack -- Executing [s@set-global-tenant-vars:5] Set("PJSIP/6513-00000225", "__FOLLOWME_CONTEXT=ext-followme") in new stack -- Executing [s@set-global-tenant-vars:6] Set("PJSIP/6513-00000225", "__HINTS_CONTEXT=extension-hints") in new stack -- Executing [s@set-global-tenant-vars:7] Set("PJSIP/6513-00000225", "__DEFAULT_COS=cos-all") in new stack -- Executing [s@set-global-tenant-vars:8] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@cos-all:7] GotoIf("PJSIP/6513-00000225", "0?local-dialing") in new stack -- Executing [s@cos-all:8] NoOp("PJSIP/6513-00000225", "Check if is an Emergency Call") in new stack -- Executing [s@cos-all:9] GotoIf("PJSIP/6513-00000225", "0?emergency-calls,6517,1") in new stack -- Executing [s@cos-all:10] Gosub("PJSIP/6513-00000225", "sub-lockphone-check,s,1") in new stack -- Executing [s@sub-lockphone-check:1] NoOp("PJSIP/6513-00000225", "SUB: LOCK PHONE CHECK") in new stack -- Executing [s@sub-lockphone-check:2] GotoIf("PJSIP/6513-00000225", "0?unlock") in new stack -- Executing [s@sub-lockphone-check:3] GotoIf("PJSIP/6513-00000225", "0?unlock") in new stack -- Executing [s@sub-lockphone-check:4] GotoIf("PJSIP/6513-00000225", "0?unlock") in new stack -- Executing [s@sub-lockphone-check:5] GotoIf("PJSIP/6513-00000225", "0?unlock") in new stack -- Executing [s@sub-lockphone-check:6] GotoIf("PJSIP/6513-00000225", "0?:unlock") in new stack -- Goto (sub-lockphone-check,s,12) -- Executing [s@sub-lockphone-check:12] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@cos-all:11] Gosub("PJSIP/6513-00000225", "sub-local-dialing,s,1") in new stack -- Executing [s@sub-local-dialing:1] NoOp("PJSIP/6513-00000225", "Trying to determine if is a local extension") in new stack -- Executing [s@sub-local-dialing:2] GotoIf("PJSIP/6513-00000225", "1?:return") in new stack -- Executing [s@sub-local-dialing:3] Set("PJSIP/6513-00000225", "EXTENSION_TO_DIAL=6517") in new stack -- Executing [s@sub-local-dialing:4] Goto("PJSIP/6513-00000225", "6517,1") in new stack -- Goto (sub-local-dialing,6517,1) -- Executing [6517@sub-local-dialing:1] NoOp("PJSIP/6513-00000225", "Dialing Local Extension") in new stack -- Executing [6517@sub-local-dialing:2] ExecIf("PJSIP/6513-00000225", "0?NoCDR()") in new stack -- Executing [6517@sub-local-dialing:3] Gosub("PJSIP/6513-00000225", "sub-setup-call-type,s,1(internal)") in new stack -- Executing [s@sub-setup-call-type:1] NoOp("PJSIP/6513-00000225", "Determinating Call Type") in new stack -- Executing [s@sub-setup-call-type:2] GotoIf("PJSIP/6513-00000225", "0?return") in new stack -- Executing [s@sub-setup-call-type:3] Gosub("PJSIP/6513-00000225", "s-internal,1()") in new stack -- Executing [s-internal@sub-setup-call-type:1] NoOp("PJSIP/6513-00000225", "Internal Call") in new stack -- Executing [s-internal@sub-setup-call-type:2] Set("PJSIP/6513-00000225", "__CALL_TYPE=1") in new stack -- Executing [s-internal@sub-setup-call-type:3] Set("PJSIP/6513-00000225", "__CALL_TYPE_LABEL=LOCAL") in new stack -- Executing [s-internal@sub-setup-call-type:4] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@sub-setup-call-type:4] Set("PJSIP/6513-00000225", "__CALL_TYPE_CONFIGURED=yes") in new stack -- Executing [s@sub-setup-call-type:5] Set("PJSIP/6513-00000225", "CDR(calltype)=1") in new stack -- Executing [s@sub-setup-call-type:6] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:4] Set("PJSIP/6513-00000225", "_DESTINATION_STATE=NOT_INUSE") in new stack -- Executing [6517@sub-local-dialing:5] Set("PJSIP/6513-00000225", "_DESTINATION_NUMBER=6517") in new stack -- Executing [6517@sub-local-dialing:6] Set("PJSIP/6513-00000225", "_DESTINATION_COS_NAME=cos-all") in new stack -- Executing [6517@sub-local-dialing:7] Gosub("PJSIP/6513-00000225", "sub-check-cos-privacy,s,1(cos-all,1,cos-all)") in new stack -- Executing [s@sub-check-cos-privacy:1] NoOp("PJSIP/6513-00000225", "Checking Privacy of CoS: cos-all") in new stack -- Executing [s@sub-check-cos-privacy:2] GotoIf("PJSIP/6513-00000225", "1?:no_local") in new stack -- Executing [s@sub-check-cos-privacy:3] Set("PJSIP/6513-00000225", "CALLER_COS_ID=1") in new stack -- Executing [s@sub-check-cos-privacy:4] Set("PJSIP/6513-00000225", "CALLER_COS_NAME=cos-all") in new stack -- Executing [s@sub-check-cos-privacy:5] Set("PJSIP/6513-00000225", "CALLED_COS_ID=1") in new stack -- Executing [s@sub-check-cos-privacy:6] GotoIf("PJSIP/6513-00000225", "1?same_cos") in new stack -- Goto (sub-check-cos-privacy,s,17) -- Executing [s@sub-check-cos-privacy:17] NoOp("PJSIP/6513-00000225", "The caller CoS and Callee CoS are the same") in new stack -- Executing [s@sub-check-cos-privacy:18] Goto("PJSIP/6513-00000225", "return") in new stack -- Goto (sub-check-cos-privacy,s,22) -- Executing [s@sub-check-cos-privacy:22] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:8] Set("PJSIP/6513-00000225", "DIAL_STRING=PJSIP/6517") in new stack -- Executing [6517@sub-local-dialing:9] Set("PJSIP/6513-00000225", "DB(5fef83c8c52cc24d/LASTCALLER/6517)=6513") in new stack -- Executing [6517@sub-local-dialing:10] Set("PJSIP/6513-00000225", "IGNORE_DIVERSIONS=") in new stack -- Executing [6517@sub-local-dialing:11] Set("PJSIP/6513-00000225", "QUEUE_CALL=") in new stack -- Executing [6517@sub-local-dialing:12] GosubIf("PJSIP/6513-00000225", "0?sub-queue-members,s,1") in new stack -- Executing [6517@sub-local-dialing:13] GosubIf("PJSIP/6513-00000225", "0?:sub-check-diversions,s,1(predialing)") in new stack -- Executing [s@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "Checking diversions for extension 6517") in new stack -- Executing [s@sub-check-diversions:2] Set("PJSIP/6513-00000225", "OLD_CALLER_ID="Lucas" <6513>") in new stack -- Executing [s@sub-check-diversions:3] GosubIf("PJSIP/6513-00000225", "0?:return") in new stack -- Executing [s@sub-check-diversions:12] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@sub-check-diversions:4] Set("PJSIP/6513-00000225", "EXTENSION_INTERNAL_CID="Lucas WebRTC" <6517>") in new stack -- Executing [s@sub-check-diversions:5] Set("PJSIP/6513-00000225", "CID_ON_DIVERSIONS=callee") in new stack -- Executing [s@sub-check-diversions:6] ExecIf("PJSIP/6513-00000225", "1?Set(CALLERID(all)="Lucas WebRTC" <6517>)") in new stack -- Executing [s@sub-check-diversions:7] ExecIf("PJSIP/6513-00000225", "0?Set(__EXT_CID_CONSTRUCTED=yes)") in new stack -- Executing [s@sub-check-diversions:8] Set("PJSIP/6513-00000225", "__CALL_ORIGIN=diversions") in new stack -- Executing [s@sub-check-diversions:9] Set("PJSIP/6513-00000225", "__DIVERSION_ORIGIN=6517") in new stack -- Executing [s@sub-check-diversions:10] Gosub("PJSIP/6513-00000225", "s-predialing,1") in new stack -- Executing [s-predialing@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "Diversions on pre-dialing") in new stack -- Executing [s-predialing@sub-check-diversions:2] GosubIf("PJSIP/6513-00000225", "0?:diversion-testing,1(Do not Disturb,DND,,,dnd)") in new stack -- Executing [diversion-testing@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "") in new stack -- Executing [diversion-testing@sub-check-diversions:2] Set("PJSIP/6513-00000225", "FROM_NUMBER=6517") in new stack -- Executing [diversion-testing@sub-check-diversions:3] GotoIf("PJSIP/6513-00000225", "0?:next-diversion") in new stack -- Goto (sub-check-diversions,diversion-testing,36) -- Executing [diversion-testing@sub-check-diversions:36] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s-predialing@sub-check-diversions:3] Gosub("PJSIP/6513-00000225", "diversion-testing,1(Call Forward Immeditely,CFI,,,toggle_cfi)") in new stack -- Executing [diversion-testing@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "") in new stack -- Executing [diversion-testing@sub-check-diversions:2] Set("PJSIP/6513-00000225", "FROM_NUMBER=6517") in new stack -- Executing [diversion-testing@sub-check-diversions:3] GotoIf("PJSIP/6513-00000225", "0?:next-diversion") in new stack -- Goto (sub-check-diversions,diversion-testing,36) -- Executing [diversion-testing@sub-check-diversions:36] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s-predialing@sub-check-diversions:4] GosubIf("PJSIP/6513-00000225", "0?:diversion-testing,1(Boss Secretray,BOSS,,,boss_secretary)") in new stack -- Executing [diversion-testing@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "") in new stack -- Executing [diversion-testing@sub-check-diversions:2] Set("PJSIP/6513-00000225", "FROM_NUMBER=6517") in new stack -- Executing [diversion-testing@sub-check-diversions:3] GotoIf("PJSIP/6513-00000225", "0?:next-diversion") in new stack -- Goto (sub-check-diversions,diversion-testing,36) -- Executing [diversion-testing@sub-check-diversions:36] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s-predialing@sub-check-diversions:5] GosubIf("PJSIP/6513-00000225", "0?:diversion-testing,1(Personal Assistant,PEA,sub-personal-assistant,s,1)") in new stack -- Executing [diversion-testing@sub-check-diversions:1] NoOp("PJSIP/6513-00000225", "") in new stack -- Executing [diversion-testing@sub-check-diversions:2] Set("PJSIP/6513-00000225", "FROM_NUMBER=6517") in new stack -- Executing [diversion-testing@sub-check-diversions:3] GotoIf("PJSIP/6513-00000225", "0?:next-diversion") in new stack -- Goto (sub-check-diversions,diversion-testing,36) -- Executing [diversion-testing@sub-check-diversions:36] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s-predialing@sub-check-diversions:6] Return("PJSIP/6513-00000225", "") in new stack -- Executing [s@sub-check-diversions:11] Set("PJSIP/6513-00000225", "CALLERID(all)="Lucas" <6513>") in new stack -- Executing [s@sub-check-diversions:12] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:14] GotoIf("PJSIP/6513-00000225", "0?post-dial") in new stack -- Executing [6517@sub-local-dialing:15] Gosub("PJSIP/6513-00000225", "sub-crm-setup,s,1(6517,6513)") in new stack -- Executing [s@sub-crm-setup:1] NoOp("PJSIP/6513-00000225", "Init CRM Setup...") in new stack -- Executing [s@sub-crm-setup:2] GotoIf("PJSIP/6513-00000225", "0?:after-crm") in new stack -- Goto (sub-crm-setup,s,12) -- Executing [s@sub-crm-setup:12] NoOp("PJSIP/6513-00000225", "CRM Processed...") in new stack -- Executing [s@sub-crm-setup:13] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:16] Gosub("PJSIP/6513-00000225", "parse-dial-string,s,1") in new stack -- Executing [s@parse-dial-string:1] NoOp("PJSIP/6513-00000225", "Parsing dial string: PJSIP/6517") in new stack -- Executing [s@parse-dial-string:2] Set("PJSIP/6513-00000225", "NEW_DIAL_STRING=") in new stack -- Executing [s@parse-dial-string:3] Set("PJSIP/6513-00000225", "COUNTER=1") in new stack -- Executing [s@parse-dial-string:4] Set("PJSIP/6513-00000225", "CURRENT_DEVICE=PJSIP/6517") in new stack -- Executing [s@parse-dial-string:5] While("PJSIP/6513-00000225", "1") in new stack -- Executing [s@parse-dial-string:6] Set("PJSIP/6513-00000225", "TECHNOLOGY=PJSIP") in new stack -- Executing [s@parse-dial-string:7] Set("PJSIP/6513-00000225", "USER=6517") in new stack -- Executing [s@parse-dial-string:8] GotoIf("PJSIP/6513-00000225", "1?:regular") in new stack -- Executing [s@parse-dial-string:9] Goto("PJSIP/6513-00000225", "regular-pjsip") in new stack -- Goto (parse-dial-string,s,12) -- Executing [s@parse-dial-string:12] Set("PJSIP/6513-00000225", "PARSED_DEV=PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060") in new stack -- Executing [s@parse-dial-string:13] ExecIf("PJSIP/6513-00000225", "0?Set(PARSED_DEV=PJSIP/6517)") in new stack -- Executing [s@parse-dial-string:14] Goto("PJSIP/6513-00000225", "append") in new stack -- Goto (parse-dial-string,s,16) -- Executing [s@parse-dial-string:16] GotoIf("PJSIP/6513-00000225", "1?:concatenate") in new stack -- Executing [s@parse-dial-string:17] Set("PJSIP/6513-00000225", "NEW_DIAL_STRING=PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060") in new stack -- Executing [s@parse-dial-string:18] Goto("PJSIP/6513-00000225", "next") in new stack -- Goto (parse-dial-string,s,21) -- Executing [s@parse-dial-string:21] Set("PJSIP/6513-00000225", "COUNTER=2") in new stack -- Executing [s@parse-dial-string:22] Set("PJSIP/6513-00000225", "CURRENT_DEVICE=") in new stack -- Executing [s@parse-dial-string:23] EndWhile("PJSIP/6513-00000225", "") in new stack -- Executing [s@parse-dial-string:5] While("PJSIP/6513-00000225", "0") in new stack -- Executing [s@parse-dial-string:24] NoOp("PJSIP/6513-00000225", "New dialstring: PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060") in new stack -- Executing [s@parse-dial-string:25] Set("PJSIP/6513-00000225", "DIAL_STRING=PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060") in new stack -- Executing [s@parse-dial-string:26] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:17] NoOp("PJSIP/6513-00000225", "Configuring Dial Settings") in new stack -- Executing [6517@sub-local-dialing:18] Set("PJSIP/6513-00000225", "RING_TIME=30") in new stack -- Executing [6517@sub-local-dialing:19] Set("PJSIP/6513-00000225", "RING_TIME=30") in new stack -- Executing [6517@sub-local-dialing:20] Set("PJSIP/6513-00000225", "RING_TIME=30") in new stack -- Executing [6517@sub-local-dialing:21] Set("PJSIP/6513-00000225", "RING_TIME=30") in new stack -- Executing [6517@sub-local-dialing:22] Set("PJSIP/6513-00000225", "DIAL_OPTIONS=kKtr") in new stack -- Executing [6517@sub-local-dialing:23] Set("PJSIP/6513-00000225", "DIAL_OPTIONS=kKtr") in new stack -- Executing [6517@sub-local-dialing:24] GotoIf("PJSIP/6513-00000225", "0?:answermode") in new stack -- Goto (sub-local-dialing,6517,28) -- Executing [6517@sub-local-dialing:28] Set("PJSIP/6513-00000225", "ANSWER_MODE=disable") in new stack -- Executing [6517@sub-local-dialing:29] Set("PJSIP/6513-00000225", "ANSWER_MODE=disable") in new stack -- Executing [6517@sub-local-dialing:30] GotoIf("PJSIP/6513-00000225", "0?check-hd") in new stack -- Executing [6517@sub-local-dialing:31] ExecIf("PJSIP/6513-00000225", "0?Set(EXEC_AA=yes)") in new stack -- Executing [6517@sub-local-dialing:32] ExecIf("PJSIP/6513-00000225", "0?Set(EXEC_AA=yes)") in new stack -- Executing [6517@sub-local-dialing:33] Set("PJSIP/6513-00000225", "IS_HOT_DESK=no") in new stack -- Executing [6517@sub-local-dialing:34] Set("PJSIP/6513-00000225", "MOH_CLASS=default") in new stack -- Executing [6517@sub-local-dialing:35] GosubIf("PJSIP/6513-00000225", "0?sub-set-moh,s,1(default):moh,1") in new stack -- Executing [moh@sub-local-dialing:1] NoOp("PJSIP/6513-00000225", "Set Music on Hold") in new stack -- Executing [moh@sub-local-dialing:2] GotoIf("PJSIP/6513-00000225", "0?:return") in new stack -- Goto (sub-local-dialing,moh,4) -- Executing [moh@sub-local-dialing:4] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:36] GotoIf("PJSIP/6513-00000225", "0?busy-here") in new stack -- Executing [6517@sub-local-dialing:37] Set("PJSIP/6513-00000225", "FORCE_RECORDING=no") in new stack -- Executing [6517@sub-local-dialing:38] Set("PJSIP/6513-00000225", "DIAL_OPTIONS=kKtr") in new stack -- Executing [6517@sub-local-dialing:39] Set("PJSIP/6513-00000225", "DIAL_OPTIONS=kKtrb(sub-before-connecting-call^s^1(5fef83c8c52cc24d^6513^6517^^))") in new stack -- Executing [6517@sub-local-dialing:40] Set("PJSIP/6513-00000225", "DIAL_OPTIONS=kKtrb(sub-before-connecting-call^s^1(5fef83c8c52cc24d^6513^6517^^))U(sub-before-bridging-call^5fef83c8c52cc24d^6513^6517^no)") in new stack -- Executing [6517@sub-local-dialing:41] Set("PJSIP/6513-00000225", "__TRANSFERED_CALL=TRUE") in new stack -- Executing [6517@sub-local-dialing:42] NoOp("PJSIP/6513-00000225", "Enable Follow-Me Ring Time If needed") in new stack -- Executing [6517@sub-local-dialing:43] GotoIf("PJSIP/6513-00000225", "0?:check-rt") in new stack -- Goto (sub-local-dialing,6517,50) -- Executing [6517@sub-local-dialing:50] GotoIf("PJSIP/6513-00000225", "0?post-dial") in new stack -- Executing [6517@sub-local-dialing:51] GotoIf("PJSIP/6513-00000225", "0?end_call") in new stack -- Executing [6517@sub-local-dialing:52] Gosub("PJSIP/6513-00000225", "sub-udpate-virtual-dev-state,s,1(6517,BUSY)") in new stack -- Executing [s@sub-udpate-virtual-dev-state:1] NoOp("PJSIP/6513-00000225", "Update Virtual Devices State") in new stack -- Executing [s@sub-udpate-virtual-dev-state:2] Set("PJSIP/6513-00000225", "EXT_NUM=6517") in new stack -- Executing [s@sub-udpate-virtual-dev-state:3] Set("PJSIP/6513-00000225", "NEW_STATUS=BUSY") in new stack -- Executing [s@sub-udpate-virtual-dev-state:4] Set("PJSIP/6513-00000225", "EXTENSION_ID=8") in new stack > Found no rows [SELECT `device_id` FROM ombu_devices WHERE extension_id='8' and technology='virtual' and tenant_id=(SELECT tenant_id from ombu_tenants WHERE path='5fef83c8c52cc24d')] -- Executing [s@sub-udpate-virtual-dev-state:5] Set("PJSIP/6513-00000225", "ODBC_ID=") in new stack -- Executing [s@sub-udpate-virtual-dev-state:6] GotoIf("PJSIP/6513-00000225", "1?no_rows") in new stack -- Goto (sub-udpate-virtual-dev-state,s,14) -- Executing [s@sub-udpate-virtual-dev-state:14] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:53] Gosub("PJSIP/6513-00000225", "sub-setup-callrec-name,s,1") in new stack -- Executing [s@sub-setup-callrec-name:1] NoOp("PJSIP/6513-00000225", "Setting up call recording file name for 5fef83c8c52cc24d") in new stack -- Executing [s@sub-setup-callrec-name:2] GotoIf("PJSIP/6513-00000225", "0?end") in new stack -- Executing [s@sub-setup-callrec-name:3] Set("PJSIP/6513-00000225", "RECORDING_ID=1719943189.714") in new stack -- Executing [s@sub-setup-callrec-name:4] Set("PJSIP/6513-00000225", "APP_TYPE=NONE") in new stack -- Executing [s@sub-setup-callrec-name:5] Set("PJSIP/6513-00000225", "AUDIO_FILE=145949-LOCAL-NONE-6513-6517-1719943189.714") in new stack -- Executing [s@sub-setup-callrec-name:6] Set("PJSIP/6513-00000225", "RECORDING_FORMAT=wav") in new stack -- Executing [s@sub-setup-callrec-name:7] Set("PJSIP/6513-00000225", "__REC_FILENAME=/var/spool/asterisk/monitor/2024/07/02/145949-LOCAL-NONE-6513-6517-1719943189.714.wav") in new stack -- Executing [s@sub-setup-callrec-name:8] GotoIf("PJSIP/6513-00000225", "0?:end") in new stack -- Goto (sub-setup-callrec-name,s,11) -- Executing [s@sub-setup-callrec-name:11] Return("PJSIP/6513-00000225", "") in new stack -- Executing [6517@sub-local-dialing:54] Dial("PJSIP/6513-00000225", "PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060,30,kKtrb(sub-before-connecting-call^s^1(5fef83c8c52cc24d^6513^6517^^))U(sub-before-bridging-call^5fef83c8c52cc24d^6513^6517^no)") in new stack -- PJSIP/6517-00000226 Internal Gosub(sub-before-connecting-call,s,1(5fef83c8c52cc24d,6513,6517,,)) start -- Executing [s@sub-before-connecting-call:1] NoOp("PJSIP/6517-00000226", "Executing routines in the newly created channel before initiaing the call") in new stack -- Executing [s@sub-before-connecting-call:2] Set("PJSIP/6517-00000226", "TENANT=5fef83c8c52cc24d") in new stack -- Executing [s@sub-before-connecting-call:3] Set("PJSIP/6517-00000226", "CALLER=6513") in new stack -- Executing [s@sub-before-connecting-call:4] Set("PJSIP/6517-00000226", "CALLEE=6517") in new stack -- Executing [s@sub-before-connecting-call:5] Set("PJSIP/6517-00000226", "EXEC_AA=") in new stack -- Executing [s@sub-before-connecting-call:6] Set("PJSIP/6517-00000226", "CUSTOM_ALERT_INFO=") in new stack -- Executing [s@sub-before-connecting-call:7] Set("PJSIP/6517-00000226", "APP_TYPE=NONE") in new stack -- Executing [s@sub-before-connecting-call:8] GosubIf("PJSIP/6517-00000226", "0?sub-auto-answer,s,1") in new stack -- Executing [s@sub-before-connecting-call:9] GosubIf("PJSIP/6517-00000226", "0?sub-set-custom-header,s,1(Alert-Info,)") in new stack -- Executing [s@sub-before-connecting-call:10] GosubIf("PJSIP/6517-00000226", "0?sub-set-custom-header,s,1(Call-Info,)") in new stack -- Executing [s@sub-before-connecting-call:11] Gosub("PJSIP/6517-00000226", "sub-set-custom-header,s,1(CALL-TYPE,LOCAL)") in new stack -- Executing [s@sub-set-custom-header:1] NoOp("PJSIP/6517-00000226", "Setting up custom header") in new stack -- Executing [s@sub-set-custom-header:2] GotoIf("PJSIP/6517-00000226", "0?set-sip") in new stack -- Executing [s@sub-set-custom-header:3] NoOp("PJSIP/6517-00000226", "Add PJSIP Headers") in new stack -- Executing [s@sub-set-custom-header:4] Set("PJSIP/6517-00000226", "PJSIP_HEADER(add,CALL-TYPE)=LOCAL") in new stack -- Executing [s@sub-set-custom-header:5] Goto("PJSIP/6517-00000226", "end") in new stack -- Goto (sub-set-custom-header,s,8) -- Executing [s@sub-set-custom-header:8] Return("PJSIP/6517-00000226", "") in new stack -- Executing [s@sub-before-connecting-call:12] Gosub("PJSIP/6517-00000226", "sub-set-custom-header,s,1(APPLICATION,NONE)") in new stack -- Executing [s@sub-set-custom-header:1] NoOp("PJSIP/6517-00000226", "Setting up custom header") in new stack -- Executing [s@sub-set-custom-header:2] GotoIf("PJSIP/6517-00000226", "0?set-sip") in new stack -- Executing [s@sub-set-custom-header:3] NoOp("PJSIP/6517-00000226", "Add PJSIP Headers") in new stack -- Executing [s@sub-set-custom-header:4] Set("PJSIP/6517-00000226", "PJSIP_HEADER(add,APPLICATION)=NONE") in new stack -- Executing [s@sub-set-custom-header:5] Goto("PJSIP/6517-00000226", "end") in new stack -- Goto (sub-set-custom-header,s,8) -- Executing [s@sub-set-custom-header:8] Return("PJSIP/6517-00000226", "") in new stack -- Executing [s@sub-before-connecting-call:13] Gosub("PJSIP/6517-00000226", "sub-set-custom-header,s,1(X-CID,55B784554E2031915526A51899ABB06CD09056FE)") in new stack -- Executing [s@sub-set-custom-header:1] NoOp("PJSIP/6517-00000226", "Setting up custom header") in new stack -- Executing [s@sub-set-custom-header:2] GotoIf("PJSIP/6517-00000226", "0?set-sip") in new stack -- Executing [s@sub-set-custom-header:3] NoOp("PJSIP/6517-00000226", "Add PJSIP Headers") in new stack -- Executing [s@sub-set-custom-header:4] Set("PJSIP/6517-00000226", "PJSIP_HEADER(add,X-CID)=55B784554E2031915526A51899ABB06CD09056FE") in new stack -- Executing [s@sub-set-custom-header:5] Goto("PJSIP/6517-00000226", "end") in new stack -- Goto (sub-set-custom-header,s,8) -- Executing [s@sub-set-custom-header:8] Return("PJSIP/6517-00000226", "") in new stack -- Executing [s@sub-before-connecting-call:14] Gosub("PJSIP/6517-00000226", "sub-set-crm-headers,s,1") in new stack -- Executing [s@sub-set-crm-headers:1] NoOp("PJSIP/6517-00000226", "Set CRM headers if needed") in new stack -- Executing [s@sub-set-crm-headers:2] GotoIf("PJSIP/6517-00000226", "1?end") in new stack -- Goto (sub-set-crm-headers,s,5) -- Executing [s@sub-set-crm-headers:5] Return("PJSIP/6517-00000226", "") in new stack -- Executing [s@sub-before-connecting-call:15] GosubIf("PJSIP/6517-00000226", "0?sub-set-custom-header,s,1(QUEUE-NAME,)") in new stack -- Executing [s@sub-before-connecting-call:16] GosubIf("PJSIP/6517-00000226", "0?before-connecting-call-hook,s,1") in new stack -- Executing [s@sub-before-connecting-call:17] Return("PJSIP/6517-00000226", "") in new stack == Spawn extension (cos-all, 6517, 1) exited non-zero on 'PJSIP/6517-00000226' -- PJSIP/6517-00000226 Internal Gosub(sub-before-connecting-call,s,1(5fef83c8c52cc24d,6513,6517,,)) complete GOSUB_RETVAL= -- Called PJSIP/6517/sip:6517@189.78.158.162:60322;transport=ws;x-ast-orig-host=vpbx.manzanos.com.br:5060 -- PJSIP/6517-00000226 is ringing > 0x7f940a568cc0 -- Strict RTP learning after remote address set to: 189.78.158.162:62799 -- PJSIP/6517-00000226 answered PJSIP/6513-00000225 -- PJSIP/6517-00000226 Internal Gosub(sub-before-bridging-call,s,1(5fef83c8c52cc24d,6513,6517,no)) start -- Executing [s@sub-before-bridging-call:1] NoOp("PJSIP/6517-00000226", "Executing sub-routine before connecting to the calling channel") in new stack -- Executing [s@sub-before-bridging-call:2] Set("PJSIP/6517-00000226", "TENANT=5fef83c8c52cc24d") in new stack -- Executing [s@sub-before-bridging-call:3] Set("PJSIP/6517-00000226", "CALLER=6513") in new stack -- Executing [s@sub-before-bridging-call:4] Set("PJSIP/6517-00000226", "CALLEE=6517") in new stack -- Executing [s@sub-before-bridging-call:5] Set("PJSIP/6517-00000226", "FORCE_CALL_RECORDING=no") in new stack -- Executing [s@sub-before-bridging-call:6] NoOp("PJSIP/6517-00000226", "Check if the follow-me confirmation sub-routine needs to be executed") in new stack -- Executing [s@sub-before-bridging-call:7] GotoIf("PJSIP/6517-00000226", "1?call-recording") in new stack -- Goto (sub-before-bridging-call,s,9) -- Executing [s@sub-before-bridging-call:9] NoOp("PJSIP/6517-00000226", "Executing the call-recording sub-routine") in new stack -- Executing [s@sub-before-bridging-call:10] Gosub("PJSIP/6517-00000226", "sub-call-recording,s,1(5fef83c8c52cc24d,6513,6517,no)") in new stack -- Executing [s@sub-call-recording:1] NoOp("PJSIP/6517-00000226", "Check if call will be recorded on tenant 5fef83c8c52cc24d") in new stack -- Executing [s@sub-call-recording:2] NoOp("PJSIP/6517-00000226", "Call Type: 1 ") in new stack -- Executing [s@sub-call-recording:3] Set("PJSIP/6517-00000226", "TENANT=5fef83c8c52cc24d") in new stack -- Executing [s@sub-call-recording:4] Set("PJSIP/6517-00000226", "CALLER=6513") in new stack -- Executing [s@sub-call-recording:5] Set("PJSIP/6517-00000226", "CALLEE=6517") in new stack -- Executing [s@sub-call-recording:6] Set("PJSIP/6517-00000226", "APP_FORCE=no") in new stack -- Executing [s@sub-call-recording:7] GotoIf("PJSIP/6517-00000226", "1?:rec_no_available") in new stack -- Executing [s@sub-call-recording:8] GotoIf("PJSIP/6517-00000226", "0?perform-recording") in new stack -- Executing [s@sub-call-recording:9] Set("PJSIP/6517-00000226", "INTERNAL_REC=no") in new stack -- Executing [s@sub-call-recording:10] GotoIf("PJSIP/6517-00000226", "0?perform-recording") in new stack -- Executing [s@sub-call-recording:11] Set("PJSIP/6517-00000226", "INTERNAL_REC=no") in new stack -- Executing [s@sub-call-recording:12] GotoIf("PJSIP/6517-00000226", "0?perform-recording") in new stack -- Executing [s@sub-call-recording:13] Set("PJSIP/6517-00000226", "INCOMING_REC=no") in new stack -- Executing [s@sub-call-recording:14] GotoIf("PJSIP/6517-00000226", "0?perform-recording") in new stack -- Executing [s@sub-call-recording:15] Set("PJSIP/6517-00000226", "OUTGOING_REC=no") in new stack -- Executing [s@sub-call-recording:16] GotoIf("PJSIP/6517-00000226", "0?perform-recording") in new stack -- Executing [s@sub-call-recording:17] Goto("PJSIP/6517-00000226", "return") in new stack -- Goto (sub-call-recording,s,21) -- Executing [s@sub-call-recording:21] Return("PJSIP/6517-00000226", "") in new stack -- Executing [s@sub-before-bridging-call:11] NoOp("PJSIP/6517-00000226", "Check if there's a custom sub-routine defined for executing it") in new stack -- Executing [s@sub-before-bridging-call:12] GosubIf("PJSIP/6517-00000226", "0?before-bridging-call-hook,s,1") in new stack -- Executing [s@sub-before-bridging-call:13] Return("PJSIP/6517-00000226", "") in new stack == Spawn extension (cos-all, , 1) exited non-zero on 'PJSIP/6517-00000226' -- PJSIP/6517-00000226 Internal Gosub(sub-before-bridging-call,s,1(5fef83c8c52cc24d,6513,6517,no)) complete GOSUB_RETVAL= > 0x7f93f80a8020 -- Strict RTP learning after remote address set to: 189.78.158.162:33584 -- Channel PJSIP/6517-00000226 joined 'simple_bridge' basic-bridge <5bcef2f0-8614-417e-ace5-516a1c03c014> -- Channel PJSIP/6513-00000225 joined 'simple_bridge' basic-bridge <5bcef2f0-8614-417e-ace5-516a1c03c014> > 0x7f940a568cc0 -- Strict RTP learning after ICE completion > 0x7f940a568cc0 -- Strict RTP learning after remote address set to: 189.78.158.162:62799 > 0x7f940a568cc0 -- Strict RTP switching to RTP target address 189.78.158.162:62799 as source > 0x7f93f80a8020 -- Strict RTP switching to RTP target address 189.78.158.162:33584 as source -- Channel PJSIP/6513-00000225 left 'simple_bridge' basic-bridge <5bcef2f0-8614-417e-ace5-516a1c03c014> == Spawn extension (sub-local-dialing, 6517, 54) exited non-zero on 'PJSIP/6513-00000225' -- Executing [h@sub-local-dialing:1] NoOp("PJSIP/6513-00000225", "Finishing the call") in new stack -- Executing [h@sub-local-dialing:2] System("PJSIP/6513-00000225", "test -e /var/spool/asterisk/monitor/2024/07/02/145949-LOCAL-NONE-6513-6517-1719943189.714.wav") in new stack -- Channel PJSIP/6517-00000226 left 'simple_bridge' basic-bridge <5bcef2f0-8614-417e-ace5-516a1c03c014> -- Executing [h@sub-local-dialing:3] ExecIf("PJSIP/6513-00000225", "0?Set(CDR(recfile)=/var/spool/asterisk/monitor/2024/07/02/145949-LOCAL-NONE-6513-6517-1719943189.714.wav)") in new stack -- Executing [h@sub-local-dialing:4] Gosub("PJSIP/6513-00000225", "sub-udpate-virtual-dev-state,s,1(6517,NOT_INUSE)") in new stack -- Executing [s@sub-udpate-virtual-dev-state:1] NoOp("PJSIP/6513-00000225", "Update Virtual Devices State") in new stack -- Executing [s@sub-udpate-virtual-dev-state:2] Set("PJSIP/6513-00000225", "EXT_NUM=6517") in new stack -- Executing [s@sub-udpate-virtual-dev-state:3] Set("PJSIP/6513-00000225", "NEW_STATUS=NOT_INUSE") in new stack -- Executing [s@sub-udpate-virtual-dev-state:4] Set("PJSIP/6513-00000225", "EXTENSION_ID=8") in new stack > Found no rows [SELECT `device_id` FROM ombu_devices WHERE extension_id='8' and technology='virtual' and tenant_id=(SELECT tenant_id from ombu_tenants WHERE path='5fef83c8c52cc24d')] -- Executing [s@sub-udpate-virtual-dev-state:5] Set("PJSIP/6513-00000225", "ODBC_ID=") in new stack -- Executing [s@sub-udpate-virtual-dev-state:6] GotoIf("PJSIP/6513-00000225", "1?no_rows") in new stack -- Goto (sub-udpate-virtual-dev-state,s,14) -- Executing [s@sub-udpate-virtual-dev-state:14] Return("PJSIP/6513-00000225", "") in new stack -- Executing [h@sub-local-dialing:5] GosubIf("PJSIP/6513-00000225", "0?dynamic-routing-connected,s,1(ANSWER,6513)") in new stack -- Executing [h@sub-local-dialing:6] GotoIf("PJSIP/6513-00000225", "0?check-if-qc") in new stack -- Executing [h@sub-local-dialing:7] Gosub("PJSIP/6513-00000225", "sub-notify-missed-call,s,1(5fef83c8c52cc24d,6517,ANSWER,6513,Lucas,1,,)") in new stack -- Executing [s@sub-notify-missed-call:1] NoOp("PJSIP/6513-00000225", "Check if call is missed and need to be notified") in new stack -- Executing [s@sub-notify-missed-call:2] Set("PJSIP/6513-00000225", "TENANT=5fef83c8c52cc24d") in new stack -- Executing [s@sub-notify-missed-call:3] Set("PJSIP/6513-00000225", "CALLEE_NUM=6517") in new stack -- Executing [s@sub-notify-missed-call:4] Set("PJSIP/6513-00000225", "STATUS=ANSWER") in new stack -- Executing [s@sub-notify-missed-call:5] Set("PJSIP/6513-00000225", "CALLER_NUM=6513") in new stack -- Executing [s@sub-notify-missed-call:6] Set("PJSIP/6513-00000225", "CALLER_NAME=Lucas") in new stack -- Executing [s@sub-notify-missed-call:7] Set("PJSIP/6513-00000225", "CALL_DIR=1") in new stack -- Executing [s@sub-notify-missed-call:8] Set("PJSIP/6513-00000225", "DP_APP=") in new stack -- Executing [s@sub-notify-missed-call:9] Set("PJSIP/6513-00000225", "DP_APP_DESC=") in new stack -- Executing [s@sub-notify-missed-call:10] Set("PJSIP/6513-00000225", "IS_VM_ENABLED=yes") in new stack -- Executing [s@sub-notify-missed-call:11] GotoIf("PJSIP/6513-00000225", "0?notify_missed_call") in new stack -- Executing [s@sub-notify-missed-call:12] GotoIf("PJSIP/6513-00000225", "0?:last_stage") in new stack -- Goto (sub-notify-missed-call,s,15) -- Executing [s@sub-notify-missed-call:15] NoOp("PJSIP/6513-00000225", "Finished missed call notification test") in new stack -- Executing [s@sub-notify-missed-call:16] Return("PJSIP/6513-00000225", "") in new stack -- Executing [h@sub-local-dialing:8] GotoIf("PJSIP/6513-00000225", "0?call_ended") in new stack -- Executing [h@sub-local-dialing:9] Gosub("PJSIP/6513-00000225", "sub-log-crm-call,s,1") in new stack -- Executing [s@sub-log-crm-call:1] NoOp("PJSIP/6513-00000225", "Logging Call on CRM") in new stack -- Executing [s@sub-log-crm-call:2] Set("PJSIP/6513-00000225", "EXTERN_NUM=6513") in new stack -- Executing [s@sub-log-crm-call:3] GotoIf("PJSIP/6513-00000225", "0?:end") in new stack -- Goto (sub-log-crm-call,s,6) -- Executing [s@sub-log-crm-call:6] Return("PJSIP/6513-00000225", "") in new stack -- Executing [h@sub-local-dialing:10] GosubIf("PJSIP/6513-00000225", "0?wake-up-no-answered,s,1") in new stack -- Executing [h@sub-local-dialing:11] Gosub("PJSIP/6513-00000225", "sub-call-completion-check,s,1") in new stack -- Executing [s@sub-call-completion-check:1] NoOp("PJSIP/6513-00000225", "FEATURE: CALL COMPLETION CHECK") in new stack -- Executing [s@sub-call-completion-check:2] Set("PJSIP/6513-00000225", "CC_MODE=none") in new stack -- Executing [s@sub-call-completion-check:3] Set("PJSIP/6513-00000225", "CC_MODE=none") in new stack -- Executing [s@sub-call-completion-check:4] Set("PJSIP/6513-00000225", "CC_MODE=none") in new stack -- Executing [s@sub-call-completion-check:5] GotoIf("PJSIP/6513-00000225", "1?end") in new stack -- Goto (sub-call-completion-check,s,17) -- Executing [s@sub-call-completion-check:17] Return("PJSIP/6513-00000225", "") in new stack -- Executing [h@sub-local-dialing:12] NoOp("PJSIP/6513-00000225", "Call ended") in new stack -- Executing [h@sub-local-dialing:13] Gosub("PJSIP/6513-00000225", "notify-call-hangup,s,1") in new stack -- Executing [s@notify-call-hangup:1] Verbose("PJSIP/6513-00000225", "0, Extension Hangup") in new stack Extension Hangup -- Executing [s@notify-call-hangup:2] GotoIf("PJSIP/6513-00000225", "1?:incoming") in new stack -- Executing [s@notify-call-hangup:3] UserEvent("PJSIP/6513-00000225", ""EXTENSIONS_SUMMARY","Data: EXT_TO_EXT,PJSIP/6513-0000001v,PJSIP/6517-00000226,LOCAL"") in new stack -- Executing [s@notify-call-hangup:4] Goto("PJSIP/6513-00000225", "end") in new stack -- Goto (notify-call-hangup,s,7) -- Executing [s@notify-call-hangup:7] Return("PJSIP/6513-00000225", "") in new stack -- Executing [h@sub-local-dialing:14] GosubIf("PJSIP/6513-00000225", "0?end-ext-dialing-hook,s,1") in new stack -- Executing [h@sub-local-dialing:15] Hangup("PJSIP/6513-00000225", "") in new stack == Spawn extension (sub-local-dialing, h, 15) exited non-zero on 'PJSIP/6513-00000225'