Commit Graph

114 Commits

Author SHA1 Message Date
fusionate f97bfef62a
Outbound Route - Add: Append dialplan expression abbreviation to call_direction-outbound dialplan name if Description empty. 2024-06-21 12:25:19 -06:00
fusionate a5e991a1f2
Outbound Route - Add: Disable dialplan if Enabled is false. 2024-06-21 10:17:54 -06:00
FusionPBX 9cdc0ac0ef
Fix a bug with emergency_outbound_caller_id_number
Set call_date moved so it didn't overwrite another variable
2024-02-02 19:59:39 -07:00
volga629-1 50f9c2b3df
E911 plugin (#6822)
* E911 Service plugin

Emergency Services availability is crucial part of FusionPBX.
This plugin Introduce  match need it visibility  into E911 services.
2023-12-13 14:46:58 -07:00
FusionPBX d806fb1ede
Use (?:\+1|1)? instead of \+?1? 2023-11-14 16:36:04 -07:00
FusionPBX 2cf06240c5
Add 809 to outbound route continue_on_fail
This changes accounts for the following error.

Reason: SIP;cause=809;text="GATEWAY_DOWN"
2023-08-25 13:17:46 -06:00
fusionate 5d7232c0c7
Outbound Route - Add: Include hangup under Additional Options for Gateway and Alternate 1 & 2 2023-08-17 23:19:31 +00:00
fusionate c1aebc39a3
Outbound Routes - Add: Integrate new Enabled toggle. 2023-06-15 23:44:59 +00:00
frytimo d7bbcd89f5
Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
Alex 25b24d68bd
Fixed more php 8.1 errors (#6754)
* Update default_setting_edit.php

* Update default_settings_reload.php

* Update modules.php

* Update access_controls_reload.php

* Update call_recordings.php

* Update fax.php

* Update extension_edit.php

* Update extension_imports.php

* Update destination_imports.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update voicemail_imports.php

* Update contact_import.php
2023-06-12 17:06:56 -06:00
Alex 93f85e6ea4
php 8.1 changes (#6741)
* Update dashboard_edit.php

* Update dashboard_edit.php

* Update dialplan_inbound_add.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update modules.php

* Update sip_profile_edit.php
2023-06-02 17:01:15 -06:00
FusionPBX b9670cf385
Correct the dialplan detail order
The difference between a 1 and a 0 can sometimes be amazing.
2023-05-06 21:00:48 -06:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX f61ee80185
call_direction dialplan add condition
Don't update the call_direction if already set to inbound.
2023-05-01 10:37:54 -06:00
FusionPBX 1ec440684b
Replace X-accountcode with accountcode
Deprecating the "X-" Prefix (RFC 6648)
https://www.rfc-editor.org/rfc/rfc6648
2022-10-26 09:56:19 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
agree f89ecf5b36
[dialplan] NANP match + only if followed by a 1 (#6436) 2022-07-12 17:32:49 -06:00
FusionPBX a0718f367a
Create an additional dialplan to set call_direction outbound. 2022-05-28 10:02:58 -06:00
FusionPBX 322eac8ac2
Add an option for sending email when 911 is called default enabled false. 2022-03-18 10:16:22 -06:00
agree ccf367b189
[outbound route] Improve north America regex (#6283)
don't match if first digit of NPA and NXX are a 1
2022-02-02 12:21:35 -07:00
FusionPBX 71b40deca7
Add North America Islands 2021-09-16 14:53:54 -06:00
FusionPBX 3f33e4dfeb
Update continue_on_fail to be more specific.
Change continue_on_fail to fail for specific errors 1,2,3,6,18,21,27,28,31,34,38,41,42,44,58,88,111,403,501,602,607
2021-06-23 11:18:13 -06:00
Gill Abada eff7246ef4 add 988 national suicide prevention lifeline (USA) 2021-04-07 23:24:11 -04:00
FusionPBX 8528f38c51
Update dialplan_outbound_add.php
Use a parameterized query for the domain_uuid.
2020-10-28 22:02:54 -06:00
Darren Williams caacf5b82c
Update dialplan_outbound_add.php
Make the gateway select order the gateways with the current domain first
2020-10-28 18:55:26 +00:00
FusionPBX b5f85d43ca
Update dialplan_outbound_add.php
Adjust permissions to work better for admin if the outbound_route_add permissions is set.
2020-10-26 18:07:40 -06:00
FusionPBX d83b4b9319
Update dialplan_outbound_add.php
Change session context to domain_name.
2020-10-22 02:47:02 -06:00
FusionPBX 9ccd98bf2a
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:33:21 -06:00
chansizzle 65fdd51f07
Update dialplan_outbound_add.php (#5336)
gateway's order
2020-07-07 10:35:01 -06:00
FusionPBX 11a0464d89
Update dialplan_outbound_add.php 2020-04-17 14:01:34 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
FusionPBX 264144caaf Update dialplan_outbound_add.php
We don't need the sleep anymore in the outbound routes.
2020-02-28 18:01:57 -07:00
Nate 974ae96c03 Inbound/Outbound Routes - Add: Action bar and button updates. 2020-01-11 14:32:19 -07:00
Nate bf376b220c Inbound/Outbound Routes: Database class integration. 2019-08-05 13:33:45 -06:00
FusionPBX 7de83cb5ba Update dialplan_outbound_add.php 2019-05-24 13:52:41 -06:00
agree 0ba75464b3 Update dialplan_outbound_add.php 2019-05-24 14:07:53 -04:00
FusionPBX 3c0b858a01 Update dialplan_outbound_add.php 2018-11-10 00:51:53 -07:00
FusionPBX 52ef690f4c Update dialplan_outbound_add.php 2018-11-10 00:44:20 -07:00
FusionPBX db77066500 Update dialplan_outbound_add.php 2018-11-01 17:47:39 -06:00
Andrew Siplas b2e754789f Add 833, 844 to toll-free outbound pattern. (#3750)
Confirmed via https://www.nationalnanpa.com/enas/nonGeoNpaServiceReport.do
2018-10-29 14:27:42 -06:00
FusionPBX 4b23965593 Update dialplan_outbound_add.php 2018-10-24 15:51:48 -06:00
AlexanderDCrane 43e3456810 Update dialplan_outbound_add.php (#3377) 2018-08-31 12:55:19 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane 704a5c9d48 Update dialplan_outbound_add.php (#3299) 2018-08-27 20:35:50 -06:00
andycol 66baa4f66a fix pin_codes dialplan (#3240)
it was not adding the pin_number.lua part as that was not added by mistake the first time i submitted
2018-07-05 08:34:34 -06:00
FusionPBX 7d59569110 Update dialplan_outbound_add.php 2018-06-29 09:58:07 -06:00
andycol a591e627c6 Fix Pin Numbers (#3230)
* Fix Pin Numbers

Fix the pin numbers dropdown

* Fix pin codes

Fix pin codes and rename aswell as move position

* fix pin codes

* fix pin codes

* Update dialplan_outbound_add.php
2018-06-29 09:48:12 -06:00
FusionPBX 7aaa4757fe Update dialplan_outbound_add.php
Fix the new toll allow option.
2018-06-27 23:49:10 -06:00
andycol b4918b7a23 pin code dropdown (#3200)
add dropdown to enable pin codes
2018-06-27 09:15:07 -06:00
FusionPBX da541205ac Update dialplan_outbound_add.php 2018-06-18 10:33:50 -06:00