VitalPBX 2.3.6. Inbound route not working.

VitalPBX Community Support General Discussion VitalPBX 2.3.6. Inbound route not working.

  • Post

    Hi all.

     

    I have an inbound route coming through a trunk established between a Panasonic KX-TDE 600 and VitalPBX.

     

    The trunk is working beatifully and I can call to extensions between both machines.

     

    Problem is that I want to call *FROM* the Panasonic *TO* the Vital using a DID assigned to the aforementioned inbound route (different from extensions dialplan), in order to reach an IVR.

    Vital takes the call from the trunk with no problems but fails to execute the inbound route and abort the call with no route error. I have traced Asterisk log and Vital just accept the incoming call, and aborts it.

    Every other incoming route is working as expected. I have two SIP trunks to VoIP providers, and this third is an integration with the existing Panasonic PBX.

     

    Any idea about this?

    0
Viewing 6 replies - 1 through 6 (of 6 total)
  • Replies
    Up
    0
    Down

    May you share a call trace of an incoming call from Panasonic to VitalPBX?

    0
    Up
    0
    Down

    @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
    Up
    0
    Down

    Just as a side note, I have tested the incoming calls with another trunk using Issabel<->TDE600 and the inbound route from TDE to Issabel works flawlessly…

    0
    oromero31
    Participant
    Up
    0
    Down

    What kind of class of services are you use at the trunk?

    all permises or default trunk? 

    0
    Up
    0
    Down

    @oromero31

    I can not believe it…

     

    My *absolute* fault… It was on *all* permissions cos instead of trunk permissions…

     

    Now it is working as expected!!!

     

    Many thanks!!!

    0
    oromero31
    Participant
    Up
    0
    Down

    Please check the class of service, you have to set all permission at the trunk and if that is set, The inbound call never using DID because you can to dial direct at the extension number without use DID.

    Change the class of services and try again. 

    0
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘VitalPBX 2.3.6. Inbound route not working.’ is closed to new replies.