Commit Graph

405 Commits

Author SHA1 Message Date
FusionPBX
a4099bcbe2 Merge pull request #5612 from winsock/valet-park-auto
Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring
2021-04-23 19:18:49 -06:00
FusionPBX
3ce50ef8d2 Add a comment with description: add a band-aid for CLI editors with faulty syntax highlighting 2021-04-09 12:12:31 -06:00
FusionPBX
b7b0df86b0 Merge pull request #5855 from daniel-lucio/patch-186
Add a band-aid for CLI editors with faulty syntax highlighting.
2021-04-09 12:10:27 -06:00
demonspork
d53bac7f55 Dialplan Fix for Feature Key Sync Race
This is a dialplan approach to fix the feature key sync loop/race with yealink phones. This aproach may also need to be extended to the Call Forward dialplans as well. It limits the number of simultaneous calls for a particular user to change their DND/Forwarding status to a single call at a time. This prevents the infinite loops that the yealinks can get into if the user presses the DND button too quickly with feature key sync enabled.

I am also reverting the lua fix because it was not reliable and can still easily allow the loop to occur.
2021-04-06 15:35:40 -05:00
FusionPBX
94d35ca1d7 Update call-forward-all disable accountcode variable
This variable should be optional as it can be defined in other places as well. It should not be assumed that this is the only place it could be set for those that need it.
2021-04-03 08:41:53 -06:00
Luis Daniel Lucio Quiroz
3d1360b932 Important variable that needs to be present 2021-04-02 10:57:21 -04:00
Luis Daniel Lucio Quiroz
8721dc8e80 [4.5] This is a pure cosmetic fix
When editing in the CLI with any editor that does syntax highlight, the * breaks it. Adding on the following line /* **/ restores the right highlighting
2021-04-01 14:25:17 -04:00
FusionPBX
3385b296fa Improve dialplan import efficiency.
- Add a more efficient way to check if the dialplan exits
- Remove restore_advanced_xml not used anymore.
- Add dialplan_context = public
2021-03-30 12:59:47 -06:00
Andrew Querol
65cdf03be3 Remove unused info action 2021-03-25 09:17:16 -05:00
Andrew Querol
972934e780 Update the main valet_park dialplan to match the improvements made to the auto dialplan.
Parking lots are no longer directly prefixed with *. But for backwards compatibility can be called that way still.

Parking lot name changed from `park` to `5900` to allow monitoring the whole parking lot with a BLF if desired.

Fix regex from matching 5900 to allow this dialplan to work with the valet_park_auto if enabled.
2021-03-25 09:17:16 -05:00
Andrew Querol
df7f4db55d Improve the valet_park auto dialplan by adding support for auto out and support for whole lot BLF monitoring.
If the Referred-By header is set call the normal `auto in` code. If it isn't set that means someone called it directly, call `auto out` ato attempt to pop the calls in the lot in FIFO order.

This also changes the parking lot name from `park` to `5900` this allows phones to monitor `park+5900` to get the status of the whole parking lot. Before you would have to monitor `park+park` to get this functionality.
2021-03-25 09:17:01 -05:00
FusionPBX
449f6ab872 Remove the cdata seems to cause problems rather than help. 2021-02-11 03:35:16 -07:00
FusionPBX
43e2bfc422 sip_h_Diversion on call-forward-all change default to true. 2021-02-01 22:11:15 -07:00
FusionPBX
d4ee4c1991 Change from true to optional 2021-02-01 22:00:30 -07:00
agree
1205e89796 dialplan xml fix cache delete when editing global dialplans 2021-01-31 16:08:29 -05:00
FusionPBX
456aa8dce4 Add outbound caller id name and number to follow me destinations. 2021-01-28 17:34:30 -07:00
FusionPBX
9213c71b71 Merge pull request #5704 from winsock/patch-1
Do not clobber caller ID names if no number is set
2021-01-26 22:55:39 -07:00
FusionPBX
d10634d4b3 Add ability to import enabled attribute from the dialplan xml. 2021-01-25 10:12:29 -07:00
FusionPBX
515603db3b Update 505_call-forward-all.xml
Use tab for indentation, use CDATA for the sip_h_Diversion header, and then add an attribute for enabled.
2021-01-25 10:08:16 -07:00
FusionPBX
b78637ff81 Update 055_rtp_has_crypto.xml
Add more crypto options.
2021-01-22 10:24:50 -07:00
FusionPBX
04869c26f9 Update 055_rtp_has_crypto.xml 2021-01-20 20:29:18 -07:00
FusionPBX
f473772850 Update 055_rtp_has_crypto.xml 2021-01-20 20:23:51 -07:00
FusionPBX
0a2187a610 Rename 050_rtp_has_crypto.xml to 055_rtp_has_crypto.xml 2021-01-20 20:20:26 -07:00
FusionPBX
11f28f09a5 Create 050_rtp_has_crypto.xml 2021-01-20 20:20:02 -07:00
FusionPBX
322bbd4c20 Use column names in the SQL Query. 2021-01-20 10:46:00 -07:00
FusionPBX
03866355f6 Change dialplan_detail_enabled to boolean. 2021-01-20 10:45:08 -07:00
FusionPBX
7d3e754812 Set the dialplan_detail_enabled default value to true. 2021-01-19 22:18:40 -07:00
FusionPBX
1ddf5bbf41 Check if dialplan_detail_enabled is true or if null consider the value as true and add line feeds to improve readability of the SQL statement. 2021-01-19 18:59:09 -07:00
FusionPBX
e64c70ff9d Add ability to use the dialplan_detail_enabled field. 2021-01-19 18:56:51 -07:00
FusionPBX
fb45bfb3fa Add dialplan_detail_enabled to the app_config.php file. 2021-01-19 18:55:32 -07:00
Andrew Querol
ead9afad70 Do not clobber caller ID names
By default custom caller ID names will get clobbered by this diaplan if no number is set. This is potentially problematic if you just want a custom caller ID name set for multiple extensions using the default caller ID number.
2021-01-06 13:27:08 -06:00
FusionPBX
c60f2e492f After importing the dialplans generate the dialplan xml. 2020-12-14 18:00:04 -07:00
FusionPBX
dc8f9146ba Update the array name so that is_array evaluates to true. 2020-12-14 17:31:41 -07:00
fusionate
87c2e80542 Call Recording: Allow recording of certain feature codes. 2020-12-08 11:10:50 -07:00
fusionate
46b2f00826 Dialplan Manager: Adjust toggle method to support multiple domains if used on show all. 2020-12-04 12:53:51 -07:00
fusionate
c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
Andrew Querol
ef91055b5c Fix the names of the parking lot dialplan with the auto-in support.
This now matches the normal default valet_park dialplan with naming the lots with * prefixed.
2020-11-20 18:55:01 -06:00
fusionate
4b57b2b7f4 Dialplans: Include Outbound Routes in Dialplans list 2020-11-18 16:24:44 -07:00
fusionate
832b3fae22 Call Block: Outbound call support. 2020-11-17 17:39:49 -07:00
fusionate
aa87250196 Call Recording: Ignore feature-code calls. 2020-11-16 17:26:12 -07:00
agree
9708c482fe Update dialplan_edit.php 2020-11-05 17:56:17 -05:00
Greenbea
6770d15b3c Fix cache delete for global dialplans 2020-11-05 11:29:41 -05:00
FusionPBX
e9b962a8e2 Update dialplan_add.php
Change session context to domain_name.
2020-10-22 02:31:10 -06:00
FusionPBX
d770e2f4ad Remove deprecated methods dialplan_detail_add and dialplan_detail_update. 2020-08-17 10:52:10 -06:00
FusionPBX
f06e07a309 Remove the deprecated save_dialplan_xml function. 2020-08-14 00:40:23 -06:00
FusionPBX
3161cd638b Remove the old save_dialplan_xml function. 2020-08-14 00:13:17 -06:00
FusionPBX
35d8e048cb Remove save_dialplan_xml function. 2020-08-14 00:09:09 -06:00
FusionPBX
c8b45c9eb5 Remove root.php 2020-08-13 23:10:49 -06:00
chansizzle
d23073f925 Update 045_call_recording_on_demand.xml (#5376)
mask/unmask on demand recordings
2020-07-31 18:16:07 -06:00
Gill Abada
d19e81bb22 feature add mask/unmask recordings in real time. white space cleanup. (#5373)
Co-authored-by: Gill Abada <gill@callifi.com>
2020-07-31 10:01:36 -06:00