INBOUND --> TIME CONDITIONS ALWAYS FAILS TO ALTERNATE DESTINATION

Status
Not open for further replies.

wa4zlw

Member
Jun 7, 2019
131
2
18
69
Blandon, PA
www.myinternetsupport.com
Hi Folks....

Here's what we're trying to do and I am stumped. Inbound route --> Time Condition
Time condtion if it matches goes to a Ring Group. If it doesn't, it goes to an extension that has call forwarding since it needs to transfer to an external number.
Dialing in ALWAYS goes to the external number. If I change the ALTERNATE DEST to something OTHER than that, it works as expected (like company directory or a test extension).

Code:
System Information
Version    5.0.3
Git Information    Branch: master
Commit: 49aa12067b0f2ec3de919c1ee11f5c1658815a9e
Origin: https://github.com/fusionpbx/fusionpbx
Status: Your branch is up to date with 'origin/master'. +0 days ago
Project Path    /var/www/fusionpbx
Switch Version    1.10.7 (64bit)
PHP Version    7.4.30

This was working until we upgraded. We had to upgrade due to other issues this pbx instance was having.

Here is the T/C dialplan:

Code:
<extension name="320 Main Number" continue="true" uuid="fc767b25-1cfa-4a64-b7f0-020aebbdf283">
    <condition field="destination_number" expression="^3201$"/>
    <condition wday="2-6" minute-of-day="600-1080"  break="never">
        <action application="transfer" data="5000 XML xxx.yourvoiceserver.com"/>
    </condition>
    <condition field="destination_number" expression="^3201$"/>
    <condition wday="7-7" minute-of-day="600-1020"  break="never">
        <action application="transfer" data="5000 XML xxx.yourvoiceserver.com"/>
    </condition>
    <condition field="destination_number" expression="^3201$"/>
    <condition wday="1-1" minute-of-day="780-1020"  break="never">
        <action application="transfer" data="5000 XML xxx.yourvoiceserver.com"/>
    </condition>
    <condition field="destination_number" expression="^3201$">
        <action application="transfer" data="600 XML xxx.yourvoiceserver.com"/>
    </condition>
</extension>

this is the inbound route:

Code:
<extension name="334#######" continue="false" uuid="baddf64d-0247-4c71-8697-f2bad42db2d8">
    <condition field="destination_number" expression="^(334#######)$">
        <action application="export" data="call_direction=inbound" inline="true"/>
        <action application="set" data="domain_uuid=ec09a581-4f5b-4fb6-8c27-34ad3649031d" inline="true"/>
        <action application="set" data="domain_name=xxx.yourvoiceserver.com" inline="true"/>
        <action application="transfer" data="5000 XML xxx.yourvoiceserver.com"/>
    </condition>
</extension>

I've tried all the call forward options as well to same problem.

If someone can point me in the right direction, I would be most appreciated.

Thanks, Leon
 

wa4zlw

Member
Jun 7, 2019
131
2
18
69
Blandon, PA
www.myinternetsupport.com
I found this in another posting and this does same as above


Code:
Jul 31, 2018
Add bookmark
#2
I think the correct way these days is to create an outbound destination in Destinations, then it will appear in the dropdown for it. I belive it uses the dialplan so you creat the destination as you would want it to go through the dialplan.
 
Status
Not open for further replies.