Time Condition doesn't work Help!!!!

Status
Not open for further replies.

cargreg

New Member
Apr 26, 2018
27
2
3
37
Good Morning,
on a new fusionpbx installation i create a timecondition that doen't works

This is my sistem
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

It's a very simple time condition, i don't know wy it's not working.
It's seems that freeswitch can't found the timecondition dialplan.
I try to clear the cache and reload the xml without success
what else can i try to do?
 

Attachments

  • tc_not_work.png
    tc_not_work.png
    78.4 KB · Views: 21
  • tc_not_works.txt
    58.5 KB · Views: 8
  • fs_sys.png
    fs_sys.png
    46.8 KB · Views: 19

cargreg

New Member
Apr 26, 2018
27
2
3
37
fusionpbx=# select * from v_dialplans where dialplan_uuid = 'd6f605da-a0d3-4a7d-a4a4-c789c267d454';
-[ RECORD 1 ]--------+-------------------------------------------------------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
app_uuid | 4b821450-926b-175a-af93-a03c441818b1
hostname |
dialplan_context | mydomain.com
dialplan_name | test
dialplan_number | 607
dialplan_destination | false
dialplan_continue | false
dialplan_xml | <extension name="test" continue="false" uuid="d6f605da-a0d3-4a7d-a4a4-c789c267d454">+
| <condition field="destination_number" expression="^607$"/> +
| <condition year="2022-2023" mon="5-8" mday="8-24" break="never"> +
| <action application="transfer" data="100 XML mydomain.com"/> +
| </condition> +
| <condition field="destination_number" expression="^607$"> +
| <action application="lua" data="streamfile.lua acdc_mono.wav"/> +
| </condition> +
| </extension>
dialplan_order | 300
dialplan_enabled | true
dialplan_description | blablabla
insert_date | 2023-05-24 05:39:53.1017289+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |

-[ RECORD 1 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | 43c5f86a-1041-4a9e-95b8-de1a07b6e281
dialplan_detail_tag | condition
dialplan_detail_type | destination_number
dialplan_detail_data | ^607$
dialplan_detail_break |
dialplan_detail_inline |
dialplan_detail_group | 500
dialplan_detail_order | 10
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |
-[ RECORD 2 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | 76795417-acd2-4629-b8a6-d3242e19790e
dialplan_detail_tag | condition
dialplan_detail_type | year
dialplan_detail_data | 2022-2023
dialplan_detail_break | never
dialplan_detail_inline |
dialplan_detail_group | 500
dialplan_detail_order | 20
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |
-[ RECORD 3 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | dcc2ab8e-a065-4e74-9b82-e1924b23e2a4
dialplan_detail_tag | condition
dialplan_detail_type | mon
dialplan_detail_data | 5-8
dialplan_detail_break | never
dialplan_detail_inline |
dialplan_detail_group | 500
dialplan_detail_order | 30
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |

-[ RECORD 4 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | 4d54a2f3-2ed9-4cc0-b0d7-b93c2d3088a7
dialplan_detail_tag | condition
dialplan_detail_type | mday
dialplan_detail_data | 8-24
dialplan_detail_break | never
dialplan_detail_inline |
dialplan_detail_group | 500
dialplan_detail_order | 40
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |
-[ RECORD 5 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | c10c2b78-7551-4e4e-89a9-eae508b03161
dialplan_detail_tag | action
dialplan_detail_type | transfer
dialplan_detail_data | 100 XML test.fusionpbx.convergenze.it
dialplan_detail_break |
dialplan_detail_inline |
dialplan_detail_group | 500
dialplan_detail_order | 50
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |
-[ RECORD 6 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | 5e0ea550-0013-4ecd-a4d5-63b4154c2f37
dialplan_detail_tag | condition
dialplan_detail_type | destination_number
dialplan_detail_data | ^607$
dialplan_detail_break |
dialplan_detail_inline |
dialplan_detail_group | 999
dialplan_detail_order | 10
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |

-[ RECORD 7 ]-----------+--------------------------------------
domain_uuid | 48ca0b86-5eea-4b2f-bd8f-9fdd97963b0b
dialplan_uuid | d6f605da-a0d3-4a7d-a4a4-c789c267d454
dialplan_detail_uuid | f5c861a5-e7b3-4c9a-b9f5-c368472012a9
dialplan_detail_tag | action
dialplan_detail_type | lua
dialplan_detail_data | streamfile.lua acdc_mono.wav
dialplan_detail_break |
dialplan_detail_inline |
dialplan_detail_group | 999
dialplan_detail_order | 20
dialplan_detail_enabled | t
insert_date | 2023-05-24 05:39:52.857828+02
insert_user | 22621619-b3d6-4c4c-b18b-23dc91ff341c
update_date |
update_user |
 
Status
Not open for further replies.