Dynamic Routing not working

VitalPBX Community Support General Discussion Dynamic Routing not working

  • Post
    Xen0x
    Participant

    Hello, have a problem with dynamic routing it is not recording the numbers:

    — Executing [h@trk-1:1] Gosub(“SIP/171-00004651”, “dynamic-routing-out,s,1(171,XXXXXXXX,CANCEL,1)”) in new stack
    — Executing [s@dynamic-routing-out:1] NoOp(“SIP/171-00004651”, “Test if save on dynamic routing list”) in new stack
    — Executing [s@dynamic-routing-out:2] Set(“SIP/171-00004651”, “CALLER=171”) in new stack
    — Executing [s@dynamic-routing-out:3] Set(“SIP/171-00004651”, “CALLED=XXXXXXXX”) in new stack
    — Executing [s@dynamic-routing-out:4] Set(“SIP/171-00004651”, “STATUS=CANCEL”) in new stack
    — Executing [s@dynamic-routing-out:5] Set(“SIP/171-00004651”, “TRKID=1”) in new stack
    — Executing [s@dynamic-routing-out:6] Set(“SIP/171-00004651”, “ALLOW_DR=yes”) in new stack
    — Executing [s@dynamic-routing-out:7] Set(“SIP/171-00004651”, “DYNROUTING_OMC=no”) in new stack
    — Executing [s@dynamic-routing-out:8] GotoIf(“SIP/171-00004651”, “1?:comeback”) in new stack
    — Executing [s@dynamic-routing-out:9] System(“SIP/171-00004651”, “/usr/share/ombutel/scripts/dynamic_routing “out” “171” “XXXXXXXX” “CANCEL” “1” “no” “973ddf80ea430d7e””) in new stack
    — Executing [s@dynamic-routing-out:10] Return(“SIP/171-00004651”, “”) in new stack
    — Executing [h@trk-1:2] Hangup(“SIP/171-00004651”, “”) in new stack

     

    But when incoming call:

    — Executing [63333333@default-trunk:4] Gosub(“SIP/trunk-00004653”, “dynamic-routing-in,s,1(XXXXXXXX)”) in new stack
    — Executing [s@dynamic-routing-in:1] NoOp(“SIP/trunk-00004653”, “Test if must to apply dynamic routing”) in new stack
    — Executing [s@dynamic-routing-in:2] Set(“SIP/trunk-00004653”, “EXTERNAL_CALLER=XXXXXXXX”) in new stack
    — Executing [s@dynamic-routing-in:3] Set(“SIP/trunk-00004653”, “DYNROUTING_DM=0”) in new stack
    — Executing [s@dynamic-routing-in:4] GotoIf(“SIP/trunk-00004653”, “1?gd”) in new stack
    — Goto (dynamic-routing-in,s,6)
    — Executing [s@dynamic-routing-in:6] GotoIf(“SIP/trunk-00004653”, “0?:rb”) in new stack
    — Goto (dynamic-routing-in,s,11)
    — Goto (dynamic-routing-in,s,11)
    — Executing [s@dynamic-routing-in:11] Return(“SIP/trunk-00004653”, “”) in new stack

    When I execute command in terminal /usr/share/ombutel/scripts/dynamic_routing “out” “171” “XXXXXXXX” “CANCEL” “1” “no” “973ddf80ea430d7e”:

    /usr/share/ombutel/scripts/dynamic_routing: No enough data provided

    It also not showing in Dynamic Routing List

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

    Thanks for reporting this issue.

    We just released a new update to fix the issue for this module. You may update it from the Linux console executing the following command:

    yum update vitalpbx-dynamic-routing -y
    0
    jduraes
    Participant
    Up
    0
    Down

    @ing-joserivera26

    Hi,

    i´ve updated but still dont get any calls redirected to my extensions, just going direct to ring groups.

     

    0
    Up
    0
    Down

    may you share another call trace with the module already updated?

    0
    jduraes
    Participant
    Up
    0
    Down

    @ing-joserivera26

    Sorry for delay, follow call trace, i just anonimyzed called number change 3 digits to —.

     

    Extension that have called was 7011441188 but it keeps redirecting to inbound route configured extension 300 instead of going to one that made call.

     

    Executing [0001@trk-1-in:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Incoming call through: GOIP1”) in new stack
    — Executing [0001@trk-1-in:2] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(trunk)=1”) in new stack
    — Executing [0001@trk-1-in:3] Set(“SIP/goip1_outgoing-00000ab4”, “DID=0001”) in new stack
    — Executing [0001@trk-1-in:4] Goto(“SIP/goip1_outgoing-00000ab4”, “default-trunk,0001,1”) in new stack
    — Goto (default-trunk,0001,1)
    — Executing [0001@default-trunk:1] Gosub(“SIP/goip1_outgoing-00000ab4”, “set-global-tenant-vars,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/goip1_outgoing-00000ab4”, “__TENANT_PATH=6bcf72ea9694d112”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “__TENANT_PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/goip1_outgoing-00000ab4”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Set(“SIP/goip1_outgoing-00000ab4”, “__DEFAULT_COS=cos-all”) in new stack
    — Executing [s@set-global-tenant-vars:8] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [0001@default-trunk:2] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-check-blacklist,s,1(6bcf72ea9694d112,0219—93046)”) in new stack
    — Executing [s@sub-check-blacklist:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Testing if 0219—93046 is in Black List”) in new stack
    — Executing [s@sub-check-blacklist:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?banned”) in new stack
    — Executing [s@sub-check-blacklist:3] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [0001@default-trunk:3] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-setup-call-type,s,1(incoming)”) in new stack
    — Executing [s@sub-setup-call-type:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Determinating Call Type”) in new stack
    — Executing [s@sub-setup-call-type:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?return”) in new stack
    — Executing [s@sub-setup-call-type:3] Gosub(“SIP/goip1_outgoing-00000ab4”, “s-incoming,1()”) in new stack
    — Executing [s-incoming@sub-setup-call-type:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Incoming Call”) in new stack
    — Executing [s-incoming@sub-setup-call-type:2] Set(“SIP/goip1_outgoing-00000ab4”, “__CALL_TYPE=2”) in new stack
    — Executing [s-incoming@sub-setup-call-type:3] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@sub-setup-call-type:4] Set(“SIP/goip1_outgoing-00000ab4”, “__CALL_TYPE_CONFIGURED=yes”) in new stack
    — Executing [s@sub-setup-call-type:5] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(calltype)=2”) in new stack
    — Executing [s@sub-setup-call-type:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [0001@default-trunk:4] Gosub(“SIP/goip1_outgoing-00000ab4”, “dynamic-routing-in,s,1(0219—93046)”) in new stack
    — Executing [s@dynamic-routing-in:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Test if must to apply dynamic routing”) in new stack
    — Executing [s@dynamic-routing-in:2] Set(“SIP/goip1_outgoing-00000ab4”, “EXTERNAL_CALLER=0219—93046”) in new stack
    — Executing [s@dynamic-routing-in:3] Set(“SIP/goip1_outgoing-00000ab4”, “DYNROUTING_DM=4”) in new stack
    — Executing [s@dynamic-routing-in:4] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?gd”) in new stack
    — Executing [s@dynamic-routing-in:5] Set(“SIP/goip1_outgoing-00000ab4”, “EXTERNAL_CALLER=3046”) in new stack
    — Executing [s@dynamic-routing-in:6] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:rb”) in new stack
    — Goto (dynamic-routing-in,s,11)
    — Executing [s@dynamic-routing-in:11] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [0001@default-trunk:5] Goto(“SIP/goip1_outgoing-00000ab4”, “incoming-calls,0001,1”) in new stack
    — Goto (incoming-calls,0001,1)
    — Executing [0001@incoming-calls:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “INBOUND_ROUTE: GOIP-CHIP1”) in new stack
    — Executing [0001@incoming-calls:2] Set(“SIP/goip1_outgoing-00000ab4”, “CHANNEL(language)=pt_BR”) in new stack
    — Executing [0001@incoming-calls:3] Set(“SIP/goip1_outgoing-00000ab4”, “CHANNEL(musicclass)=ringback”) in new stack
    — Executing [0001@incoming-calls:4] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-set-call-vars,s-incoming,1(0219—93046,0001,6bcf72ea9694d112)”) in new stack
    — Executing [s-incoming@sub-set-call-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Setting Incoming Call Vars”) in new stack
    — Executing [s-incoming@sub-set-call-vars:2] Set(“SIP/goip1_outgoing-00000ab4”, “__INCOMING_SOURCE=0219—93046”) in new stack
    — Executing [s-incoming@sub-set-call-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “__INCOMING_DESTINATION=0001”) in new stack
    — Executing [s-incoming@sub-set-call-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “__INCOMING_TENANT=6bcf72ea9694d112”) in new stack
    — Executing [s-incoming@sub-set-call-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “__CALL_SOURCE=0219—93046”) in new stack
    — Executing [s-incoming@sub-set-call-vars:6] Set(“SIP/goip1_outgoing-00000ab4”, “__CS=0219—93046”) in new stack
    — Executing [s-incoming@sub-set-call-vars:7] Set(“SIP/goip1_outgoing-00000ab4”, “__CALL_DESTINATION=0001”) in new stack
    — Executing [s-incoming@sub-set-call-vars:8] Set(“SIP/goip1_outgoing-00000ab4”, “__TENANT=6bcf72ea9694d112”) in new stack
    — Executing [s-incoming@sub-set-call-vars:9] Gosub(“SIP/goip1_outgoing-00000ab4”, “app-incoming,1”) in new stack
    — Executing [app-incoming@sub-set-call-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Incoming Call App CDR”) in new stack
    — Executing [app-incoming@sub-set-call-vars:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “1?:return”) in new stack
    — Executing [app-incoming@sub-set-call-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(source)=0219—93046”) in new stack
    — Executing [app-incoming@sub-set-call-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [app-incoming@sub-set-call-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(destination)=0001”) in new stack
    — Executing [app-incoming@sub-set-call-vars:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s-incoming@sub-set-call-vars:10] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [0001@incoming-calls:5] Set(“SIP/goip1_outgoing-00000ab4”, “ICALL=yes”) in new stack
    — Executing [0001@incoming-calls:6] Goto(“SIP/goip1_outgoing-00000ab4”, “cos-all,300,1”) in new stack
    — Goto (cos-all,300,1)
    — Executing [300@cos-all:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “More than on digit pattern”) in new stack
    — Executing [300@cos-all:2] Gosub(“SIP/goip1_outgoing-00000ab4”, “s,1(300)”) in new stack
    — Executing [s@cos-all:1] Set(“SIP/goip1_outgoing-00000ab4”, “EXTENSION=300”) in new stack
    — Executing [s@cos-all:2] NoOp(“SIP/goip1_outgoing-00000ab4”, “Dialing 300 from 0219—93046”) in new stack
    — Executing [s@cos-all:3] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-set-global-vars,s,1(300,parking-1)”) in new stack
    — Executing [s@sub-set-global-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Setting Global Vars”) in new stack
    — Executing [s@sub-set-global-vars:2] Set(“SIP/goip1_outgoing-00000ab4”, “__PICKUPMARK=300”) in new stack
    — Executing [
    s@sub-set-global-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “__PARKINGLOT=parking-1”) in new stack
    — Executing [s@sub-set-global-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “__DYNAMIC_FEATURES=custom-features”) in new stack
    — Executing [s@sub-set-global-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “ICALL=no”) in new stack
    — Executing [s@sub-set-global-vars:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@cos-all:4] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-set-call-vars,s,1(6bcf72ea9694d112,300,1,cos-all,ARS-all)”) in new stack
    — Executing [s@sub-set-call-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Setting Call Vars”) in new stack
    — Executing [s@sub-set-call-vars:2] Set(“SIP/goip1_outgoing-00000ab4”, “_TENANT=6bcf72ea9694d112”) in new stack
    — Executing [s@sub-set-call-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “_CALL_DESTINATION=300”) in new stack
    — Executing [s@sub-set-call-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “_COS_ID=1”) in new stack
    — Executing [s@sub-set-call-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “_COS_NAME=cos-all”) in new stack
    — Executing [s@sub-set-call-vars:6] Set(“SIP/goip1_outgoing-00000ab4”, “_ARS=ARS-all”) in new stack
    — Executing [s@sub-set-call-vars:7] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(tenant)=vitalpbx”) in new stack
    — Executing [s@sub-set-call-vars:8] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(destination)=300”) in new stack
    — Executing [s@sub-set-call-vars:9] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@cos-all:5] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-construct-cid,s,1”) in new stack
    — Executing [s@sub-construct-cid:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Building CID”) in new stack
    — Executing [s@sub-construct-cid:2] Set(“SIP/goip1_outgoing-00000ab4”, “_CALL_SOURCE=0219—93046”) in new stack
    — Executing [s@sub-construct-cid:3] Set(“SIP/goip1_outgoing-00000ab4”, “_CS=0219—93046”) in new stack
    — Executing [s@sub-construct-cid:4] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:5] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-get-device-tree,s,1”) in new stack
    — Executing [s@sub-get-device-tree:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Configuring Device Tree”) in new stack
    — Executing [s@sub-get-device-tree:2] Set(“SIP/goip1_outgoing-00000ab4”, “DEV_TECHNOLOGY=SIP”) in new stack
    — Executing [s@sub-get-device-tree:3] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?s-local,1”) in new stack
    — Executing [s@sub-get-device-tree:4] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?return”) in new stack
    — Executing [s@sub-get-device-tree:5] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?pjsip”) in new stack
    — Executing [s@sub-get-device-tree:6] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:digital”) in new stack
    — Goto (sub-get-device-tree,s,12)
    — Executing [s@sub-get-device-tree:12] Set(“SIP/goip1_outgoing-00000ab4”, “DEV_USER=goip1_outgoing”) in new stack
    — Executing [s@sub-get-device-tree:13] Set(“SIP/goip1_outgoing-00000ab4”, “INTERFACE=SIP/goip1_outgoing”) in new stack
    — Executing [s@sub-get-device-tree:14] Set(“SIP/goip1_outgoing-00000ab4”, “DEV_TREE=devices/SIP/goip1_outgoing”) in new stack
    — Executing [s@sub-get-device-tree:15] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@sub-construct-cid:6] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?return”) in new stack
    — Executing [s@sub-construct-cid:7] Set(“SIP/goip1_outgoing-00000ab4”, “_CALL_SOURCE=0219—93046”) in new stack
    — Executing [s@sub-construct-cid:8] Set(“SIP/goip1_outgoing-00000ab4”, “_CS=0219—93046”) in new stack
    — Executing [s@sub-construct-cid:9] ExecIf(“SIP/goip1_outgoing-00000ab4”, “0?Set(CALLERID(all)=)”) in new stack
    — Executing [s@sub-construct-cid:10] Set(“SIP/goip1_outgoing-00000ab4”, “_CID_CONSTRUCTED=yes”) in new stack
    — Executing [s@sub-construct-cid:11] NoOp(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@sub-construct-cid:12] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(source)=0219—93046”) in new stack
    — Executing [s@sub-construct-cid:13] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@cos-all:6] Gosub(“SIP/goip1_outgoing-00000ab4”, “set-global-tenant-vars,s,1”) in new stack
    — Executing [s@set-global-tenant-vars:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Setting Global Vars for vitalpbx Tenant”) in new stack
    — Executing [s@set-global-tenant-vars:2] Set(“SIP/goip1_outgoing-00000ab4”, “__TENANT_PATH=6bcf72ea9694d112”) in new stack
    — Executing [s@set-global-tenant-vars:3] Set(“SIP/goip1_outgoing-00000ab4”, “__TENANT_PREFIX=”) in new stack
    — Executing [s@set-global-tenant-vars:4] Set(“SIP/goip1_outgoing-00000ab4”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
    — Executing [s@set-global-tenant-vars:5] Set(“SIP/goip1_outgoing-00000ab4”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
    — Executing [s@set-global-tenant-vars:6] Set(“SIP/goip1_outgoing-00000ab4”, “__HINTS_CONTEXT=extension-hints”) in new stack
    — Executing [s@set-global-tenant-vars:7] Set(“SIP/goip1_outgoing-00000ab4”, “__DEFAULT_COS=cos-all”) in new stack
    — Executing [s@set-global-tenant-vars:8] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@cos-all:7] NoOp(“SIP/goip1_outgoing-00000ab4”, “Check if is an Emergency Call”) in new stack
    — Executing [s@cos-all:8] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?emergency-calls,300,1”) in new stack
    — Executing [s@cos-all:9] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-lockphone-check,s,1”) in new stack
    — Executing [s@sub-lockphone-check:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “SUB: LOCK PHONE CHECK”) in new stack
    — Executing [s@sub-lockphone-check:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “1?unlock”) in new stack
    — Goto (sub-lockphone-check,s,12)
    — Executing [s@sub-lockphone-check:12] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@cos-all:10] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-local-dialing,s,1”) in new stack
    — Executing [s@sub-local-dialing:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Trying to determine if is a local extension”) in new stack
    — Executing [s@sub-local-dialing:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “1?:return”) in new stack
    — Executing [s@sub-local-dialing:3] Goto(“SIP/goip1_outgoing-00000ab4”, “300,1”) in new stack
    — Goto (sub-local-dialing,300,1)
    — Executing [300@sub-local-dialing:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Dialing Local Extension”) in new stack
    — Executing [300@sub-local-dialing:2] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-setup-call-type,s,1(internal)”) in new stack
    — Executing [s@sub-setup-call-type:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Determinating Call Type”) in new stack
    — Executing [s@sub-setup-call-type:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “1?return”) in new stack
    — Goto (sub-setup-call-type,s,5)
    — Executing [s@sub-setup-call-type:5] Set(“SIP/goip1_outgoing-00000ab4”, “CDR(calltype)=2”) in new stack
    — Executing [s@sub-setup-call-type:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [300@sub-local-dialing:3] Set(“SIP/goip1_outgoing-00000ab4”, “_DESTINATION_STATE=NOT_INUSE”) in new stack
    — Executing [300@sub-local-dialing:4] Set(“SIP/goip1_outgoing-00000ab4”, “_DESTINATION_NUMBER=300”) in new stack
    — Executing [300@sub-local-dialing:5] Set(“SIP/goip1_outgoing-00000ab4”, “_DESTINATION_COS_NAME=cos-all”) in new stack
    — Executing [300@sub-local-dialing:6] Gosub(“SIP/goip1_outgoing-00000ab4”, “sub-check-cos-privacy,s,1(cos-all,1,cos-all)”) in new stack
    — Executing [s@sub-check-cos-privacy:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Checking Privacy of CoS: cos-all”) in new stack
    — Executing [s@sub-check-cos-privacy:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:no_local”) in new stack
    — Goto (sub-check-cos-privacy,s,15)
    — Executing [s@sub-check-cos-privacy:15] NoOp(“SIP/goip
    1_outgoing-00000ab4”, “No Local Call, Allow any CoS”) in new stack
    — Executing [s@sub-check-cos-privacy:16] Goto(“SIP/goip1_outgoing-00000ab4”, “return”) in new stack
    — Goto (sub-check-cos-privacy,s,22)
    — Executing [s@sub-check-cos-privacy:22] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [300@sub-local-dialing:7] Set(“SIP/goip1_outgoing-00000ab4”, “DIAL_STRING=SIP/300”) in new stack
    — Executing [300@sub-local-dialing:8] Set(“SIP/goip1_outgoing-00000ab4”, “DB(6bcf72ea9694d112/LASTCALLER/300)=0219—93046”) in new stack
    — Executing [300@sub-local-dialing:9] Set(“SIP/goip1_outgoing-00000ab4”, “IGNORE_DIVERSIONS=”) in new stack
    — Executing [300@sub-local-dialing:10] Set(“SIP/goip1_outgoing-00000ab4”, “QUEUE_CALL=”) in new stack
    — Executing [300@sub-local-dialing:11] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?sub-queue-members,s,1”) in new stack
    — Executing [300@sub-local-dialing:12] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?:sub-check-diversions,s,1(predialing)”) in new stack
    — Executing [s@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Checking diversions for extension 300”) in new stack
    — Executing [s@sub-check-diversions:2] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?:return”) in new stack
    — Executing [s@sub-check-diversions:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@sub-check-diversions:3] Set(“SIP/goip1_outgoing-00000ab4”, “__CALL_ORIGIN=diversions”) in new stack
    — Executing [s@sub-check-diversions:4] Set(“SIP/goip1_outgoing-00000ab4”, “__DIVERSION_ORIGIN=300”) in new stack
    — Executing [s@sub-check-diversions:5] Gosub(“SIP/goip1_outgoing-00000ab4”, “s-predialing,1”) in new stack
    — Executing [s-predialing@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Diversions on pre-dialing”) in new stack
    — Executing [s-predialing@sub-check-diversions:2] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?:diversion-testing,1(Do not Disturb,DND,,,dnd)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,26)
    — Executing [diversion-testing@sub-check-diversions:26] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:3] Gosub(“SIP/goip1_outgoing-00000ab4”, “diversion-testing,1(Call Forward Immeditely,CFI,,,toggle_cfi)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,26)
    — Executing [diversion-testing@sub-check-diversions:26] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:4] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?:diversion-testing,1(Boss Secretray,BOSS,,,boss_secretary)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,26)
    — Executing [diversion-testing@sub-check-diversions:26] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:5] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?:diversion-testing,1(Personal Assistant,PEA,sub-personal-assistant,s,1)”) in new stack
    — Executing [diversion-testing@sub-check-diversions:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [diversion-testing@sub-check-diversions:2] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:next-diversion”) in new stack
    — Goto (sub-check-diversions,diversion-testing,26)
    — Executing [diversion-testing@sub-check-diversions:26] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s-predialing@sub-check-diversions:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@sub-check-diversions:6] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [300@sub-local-dialing:13] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?post-dial”) in new stack
    — Executing [300@sub-local-dialing:14] Gosub(“SIP/goip1_outgoing-00000ab4”, “parse-dial-string,s,1”) in new stack
    — Executing [s@parse-dial-string:1] NoOp(“SIP/goip1_outgoing-00000ab4”, “Parsing dial string: SIP/300”) in new stack
    — Executing [s@parse-dial-string:2] Set(“SIP/goip1_outgoing-00000ab4”, “NEW_DIAL_STRING=”) in new stack
    — Executing [s@parse-dial-string:3] Set(“SIP/goip1_outgoing-00000ab4”, “COUNTER=1”) in new stack
    — Executing [s@parse-dial-string:4] Set(“SIP/goip1_outgoing-00000ab4”, “CURRENT_DEVICE=SIP/300”) in new stack
    — Executing [s@parse-dial-string:5] While(“SIP/goip1_outgoing-00000ab4”, “1”) in new stack
    — Executing [s@parse-dial-string:6] Set(“SIP/goip1_outgoing-00000ab4”, “TECHNOLOGY=SIP”) in new stack
    — Executing [s@parse-dial-string:7] Set(“SIP/goip1_outgoing-00000ab4”, “USER=300”) in new stack
    — Executing [s@parse-dial-string:8] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:regular”) in new stack
    — Goto (parse-dial-string,s,12)
    — Executing [s@parse-dial-string:12] Set(“SIP/goip1_outgoing-00000ab4”, “PARSED_DEV=SIP/300”) in new stack
    — Executing [s@parse-dial-string:13] GotoIf(“SIP/goip1_outgoing-00000ab4”, “1?:concatenate”) in new stack
    — Executing [s@parse-dial-string:14] Set(“SIP/goip1_outgoing-00000ab4”, “NEW_DIAL_STRING=SIP/300”) in new stack
    — Executing [s@parse-dial-string:15] Goto(“SIP/goip1_outgoing-00000ab4”, “next”) in new stack
    — Goto (parse-dial-string,s,18)
    — Executing [s@parse-dial-string:18] Set(“SIP/goip1_outgoing-00000ab4”, “COUNTER=2”) in new stack
    — Executing [s@parse-dial-string:19] Set(“SIP/goip1_outgoing-00000ab4”, “CURRENT_DEVICE=”) in new stack
    — Executing [s@parse-dial-string:20] EndWhile(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [s@parse-dial-string:5] While(“SIP/goip1_outgoing-00000ab4”, “0”) in new stack
    — Executing [s@parse-dial-string:21] NoOp(“SIP/goip1_outgoing-00000ab4”, “New dialstring: SIP/300”) in new stack
    — Executing [s@parse-dial-string:22] Set(“SIP/goip1_outgoing-00000ab4”, “DIAL_STRING=SIP/300”) in new stack
    — Executing [s@parse-dial-string:23] Return(“SIP/goip1_outgoing-00000ab4”, “”) in new stack
    — Executing [300@sub-local-dialing:15] NoOp(“SIP/goip1_outgoing-00000ab4”, “Configuring Dial Settings”) in new stack
    — Executing [300@sub-local-dialing:16] Set(“SIP/goip1_outgoing-00000ab4”, “RING_TIME=30”) in new stack
    — Executing [300@sub-local-dialing:17] Set(“SIP/goip1_outgoing-00000ab4”, “RING_TIME=30”) in new stack
    — Executing [300@sub-local-dialing:18] Set(“SIP/goip1_outgoing-00000ab4”, “RING_TIME=30”) in new stack
    — Executing [300@sub-local-dialing:19] Set(“SIP/goip1_outgoing-00000ab4”, “DIAL_OPTIONS=r”) in new stack
    — Executing [300@sub-local-dialing:20] Set(“SIP/goip1_outgoing-00000ab4”, “DIAL_OPTIONS=r”) in new stack
    — Executing [300@sub-local-dialing:21] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?:answermode”) in new stack
    — Goto (sub-local-dialing,300,25)
    — Executing [300@sub-local-dialing:25] Set(“SIP/goip1_outgoing-00000ab4”, “ANSWER_MODE=disable”) in new stack
    — Executing [300@sub-local-dialing:26] Set(“SIP/goip1_outgoing-00000ab4”, “ANSWER_MODE=disable”) in new stack
    — Executing [300@sub-local-dialing:27] ExecIf(“SIP/goip1_outgoing-00000ab4”, “0?Macro(intercom)”) in new stack
    — Executing [300@sub-local-dialing:28] Set(“SIP/goip1_outgoing-00000ab4”, “IS_HOT_DESK=no”) in new stack
    — Executing [300@sub-local-dialing:29] Set(“SIP/goip1_outgoing-00
    000ab4”, “MOH_CLASS=default”) in new stack
    — Executing [300@sub-local-dialing:30] GosubIf(“SIP/goip1_outgoing-00000ab4”, “0?sub-set-moh,s,1(default)”) in new stack
    — Executing [300@sub-local-dialing:31] GotoIf(“SIP/goip1_outgoing-00000ab4”, “0?busy-here”) in new stack
    — Executing [300@sub-local-dialing:32] Set(“SIP/goip1_outgoing-00000ab4”, “FORCE_RECORDING=no”) in new stack
    — Executing [300@sub-local-dialing:33] Set(“SIP/goip1_outgoing-00000ab4”, “DIAL_OPTIONS=rU(sub-call-recording^6bcf72ea9694d112^0219—93046^300^no)”) in new stack
    — Executing [300@sub-local-dialing:34] Set(“SIP/goip1_outgoing-00000ab4”, “__TRANSFERED_CALL=TRUE”) in new stack
    — Executing [300@sub-local-dialing:35] Dial(“SIP/goip1_outgoing-00000ab4”, “SIP/300,30,rU(sub-call-recording^6bcf72ea9694d112^0219—93046^300^no)”) in new stack

    0
    jose.alvarez
    Participant
    Up
    0
    Down

    Hello there,

    I have exactly the same problem. Any news?

    0
    Up
    0
    Down

    @jose-alvarez

    Did you try with VitalPBX 2.3.8?

    0
    jose.alvarez
    Participant
    Up
    0
    Down

    It is working now, just need some configuration on the Global side, and the extensión. It Works perfect. The other thing I have notice is that when the call hits the Dynamic routing rules, it does not add the “0” as we normally do for other calls, so the users can redial directly.

    I have opened a case for that situation.

    Cheers,

     

    Jose.

    0
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dynamic Routing not working’ is closed to new replies.