Reply To: RE: VitalPBX 2.3.6. Inbound route not working.

VitalPBX Community Support General Discussion VitalPBX 2.3.6. Inbound route not working. Reply To: RE: VitalPBX 2.3.6. Inbound route not working.

    @ing-joserivera26

    Sure.

    Connected to Asterisk 16.5.0 currently running on callcenter (pid = 3947)
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    > 0x7f2cd016fda0 — Strict RTP learning after remote address set to: 2.139.233.201:16000
    — Executing [90000@trk-9-in:1] NoOp(“SIP/TDE600-00001181”, “Incoming call through: TDE600”) in new stack
    — Executing [90000@trk-9-in:2] Set(“SIP/TDE600-00001181”, “CDR(trunk)=9”) in new stack
    — Executing [90000@trk-9-in:3] Set(“SIP/TDE600-00001181”, “DID=90000”) in new stack
    — Executing [90000@trk-9-in:4] Goto(“SIP/TDE600-00001181”, “cos-all-trunk,90000,1”) in new stack
    — Goto (cos-all-trunk,90000,1)
    — Executing [90000@cos-all-trunk:1] NoOp(“SIP/TDE600-00001181”, “Class of Services Trunk: All Permissions”) in new stack
    — Executing [90000@cos-all-trunk:2] Gosub(“SIP/TDE600-00001181”, “sub-check-blacklist,s,1(0052159bf7438158,7931)”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Testing if 7931 is in Black List”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?banned”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing [90000@cos-all-trunk:3] Gosub(“SIP/TDE600-00001181”, “sub-setup-call-type,s,1(incoming)”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Determinating Call Type”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?return”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “s-incoming,1()”) in new stack
    — Executing [s-incoming@sub-setup-call-type:1] NoOp(“SIP/TDE600-00001181”, “Incoming Call”) in new stack
    — Executing [s-incoming@sub-setup-call-type:2] Set(“SIP/TDE600-00001181”, “__CALL_TYPE=2”) in new stack
    — Executing [s-incoming@sub-setup-call-type:3] Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__CALL_TYPE_CONFIGURED=yes”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “CDR(calltype)=2”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing [90000@cos-all-trunk:4] Gosub(“SIP/TDE600-00001181”, “sub-set-call-vars,s-incoming,1(7931,90000,0052159bf7438158)”) in new stack
    — Executing [s-incoming@sub-set-call-vars:1] NoOp(“SIP/TDE600-00001181”, “Setting Incoming Call Vars”) in new stack
    — Executing [s-incoming@sub-set-call-vars:2] Set(“SIP/TDE600-00001181”, “__INCOMING_SOURCE=7931”) in new stack
    — Executing [s-incoming@sub-set-call-vars:3] Set(“SIP/TDE600-00001181”, “__INCOMING_DESTINATION=90000”) in new stack
    — Executing [s-incoming@sub-set-call-vars:4] Set(“SIP/TDE600-00001181”, “__INCOMING_TENANT=0052159bf7438158”) in new stack
    — Executing [s-incoming@sub-set-call-vars:5] Set(“SIP/TDE600-00001181”, “__CALL_SOURCE=7931”) in new stack
    — Executing [s-incoming@sub-set-call-vars:6] Set(“SIP/TDE600-00001181”, “__CS=7931”) in new stack
    — Executing [s-incoming@sub-set-call-vars:7] Set(“SIP/TDE600-00001181”, “__CALL_DESTINATION=90000”) in new stack
    — Executing [s-incoming@sub-set-call-vars:8] Set(“SIP/TDE600-00001181”, “__TENANT=0052159bf7438158”) in new stack
    — Executing [s-incoming@sub-set-call-vars:9] Gosub(“SIP/TDE600-00001181”, “app-incoming,1”) in new stack
    — Executing [app-incoming@sub-set-call-vars:1] NoOp(“SIP/TDE600-00001181”, “Incoming Call App CDR”) in new stack
    — Executing [app-incoming@sub-set-call-vars:2] GotoIf(“SIP/TDE600-00001181”, “1?:return”) in new stack
    — Executing [app-incoming@sub-set-call-vars:3] Set(“SIP/TDE600-00001181”, “CDR(source)=7931”) in new stack
    — Executing [app-incoming@sub-set-call-vars:4] Set(“SIP/TDE600-00001181”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [app-incoming@sub-set-call-vars:5] Set(“SIP/TDE600-00001181”, “CDR(destination)=90000”) in new stack
    — Executing [app-incoming@sub-set-call-vars:6] Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing [s-incoming@sub-set-call-vars:10] Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing [90000@cos-all-trunk:5] Goto(“SIP/TDE600-00001181”, “cos-all,90000,1”) in new stack
    — Goto (cos-all,90000,1)
    — Executing [90000@cos-all:1] NoOp(“SIP/TDE600-00001181”, “More than on digit pattern”) in new stack
    — Executing [90000@cos-all:2] Gosub(“SIP/TDE600-00001181”, “s,1(90000)”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “EXTENSION=90000”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Dialing 90000 from 7931”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-set-global-vars,s,1(90000,parking-1)”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Setting Global Vars”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__PICKUPMARK=90000”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__PARKINGLOT=parking-1”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__DYNAMIC_FEATURES=custom-features”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “ICALL=no”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-set-call-vars,s,1(0052159bf7438158,90000,1,cos-all,ARS-all)”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Setting Call Vars”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_TENANT=0052159bf7438158”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CALL_DESTINATION=90000”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_COS_ID=1”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_COS_NAME=cos-all”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_ARS=ARS-all”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “CDR(destination)=90000”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-construct-cid,s,1”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Building CID”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CALL_SOURCE=7931”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CS=7931”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?return”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-get-device-tree,s,1”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Configuring Device Tree”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “DEV_TECHNOLOGY=SIP”) in new stack
    — Executing GosubIf(“SIP/TDE600-00001181”, “0?s-local,1”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?return”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?pjsip”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?:digital”) in new stack
    — Goto (sub-get-device-tree,s,12)
    — Executing Set(“SIP/TDE600-00001181”, “DEV_USER=TDE600”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “INTERFACE=SIP/TDE600”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “DEV_TREE=devices/SIP/TDE600”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?return”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CALL_SOURCE=7931”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CS=7931”) in new stack
    — Executing ExecIf(“SIP/TDE600-00001181”, “0?Set(CALLERID(all)=)”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “_CID_CONSTRUCTED=yes”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “CDR(source)=7931”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “set-global-tenant-vars,s,1”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__TENANT_PATH=0052159bf7438158”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__TENANT_PREFIX=”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing Set(“SIP/TDE600-00001181”, “__DEFAULT_COS=cos-all”) in new stack
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Check if is an Emergency Call”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?emergency-calls,90000,1”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-lockphone-check,s,1”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “SUB: LOCK PHONE CHECK”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “1?unlock”) in new stack
    — Goto (sub-lockphone-check,s,12)
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing Gosub(“SIP/TDE600-00001181”, “sub-local-dialing,s,1”) in new stack
    — Executing NoOp(“SIP/TDE600-00001181”, “Trying to determine if is a local extension”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?:return”) in new stack
    — Goto (sub-local-dialing,s,4)
    — Executing Return(“SIP/TDE600-00001181”, “”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?:cos-all-post,90000,1”) in new stack
    — Goto (cos-all-post,90000,1)
    — Executing [90000@cos-all-post:1] NoOp(“SIP/TDE600-00001181”, “No valid number found”) in new stack
    — Executing [90000@cos-all-post:2] ExecIf(“SIP/TDE600-00001181”, “0?Hangup()”) in new stack
    — Executing [90000@cos-all-post:3] ForkCDR(“SIP/TDE600-00001181”, “e”) in new stack
    — Executing [90000@cos-all-post:4] Goto(“SIP/TDE600-00001181”, “invalid-dest-cos,s,1”) in new stack
    — Goto (invalid-dest-cos,s,1)
    — Executing NoOp(“SIP/TDE600-00001181”, “Invalid Route Dialed in COS”) in new stack
    — Executing GotoIf(“SIP/TDE600-00001181”, “0?end”) in new stack
    — Executing Playback(“SIP/TDE600-00001181”, “silence/1&cannot-complete-as-dialed&check-number-dial-again”) in new stack
    > 0x7f2cd016fda0 — Strict RTP qualifying stream type: audio
    > 0x7f2cd016fda0 — Strict RTP switching source address to 200.200.200.226:16000
    — <SIP/TDE600-00001181> Playing ‘silence/1.alaw’ (language ‘es_ES’)
    — <SIP/TDE600-00001181> Playing ‘cannot-complete-as-dialed.alaw’ (language ‘es_ES’)
    — <SIP/TDE600-00001181> Playing ‘check-number-dial-again.alaw’ (language ‘es_ES’)

     

    0