Commit Graph

386 Commits

Author SHA1 Message Date
FusionPBX
975180f248 User dialplan mkdir in the user_record dialplan. 2021-12-27 16:20:30 -07:00
FusionPBX
67be72b452 Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
yois615
84fdf89b34 bind_digit_action for B-leg during internal call (#6157)
The existing code only binds properly when one leg
is not internal.  Here we use LUA to bind the bleg
for internal calls.
2021-12-15 14:45:04 -07:00
agree
c8a8ea9bf4 [agent status] Add *22 followed by agent ID (#6184)
* [agent status] Add *22 followed by agent ID

* change break never to on-true
2021-12-14 08:22:24 -07:00
FusionPBX
75e4fd94ab Use global instead of ${domain_name}. 2021-12-11 10:07:52 -07:00
FusionPBX
38dea5f699 Prevent application duplicates and update the applications array. (#6173)
* Prevent application duplicates and filter the applications before the content.
* Don't allow the new spawn commands as they are as dangerous as system commands.
* Update dialplan_valid false to include bg_spawn, spawn and spawn_stream.
2021-12-05 14:52:36 -07:00
FusionPBX
24a4644dad Update 505_call-forward-all.xml 2021-11-30 15:00:05 -07:00
FusionPBX
a5848ab13b Use current caller ID name and number to set the Outbound caller ID information. 2021-11-30 14:58:59 -07:00
yois615
a032b5794e Fix permissions on inband feature codes (#6155)
Using ${sip_authorized} is not effective since the inbound
call often has authorization to call into the PBX, either via
ACL or registration.  Instead, use ${from_user_exists} to test
if this user exists on the system.

We also fix a condition that the local user types *1 and the
remote user receives the dial tone.
2021-11-24 00:02:22 -07:00
FusionPBX
06f580ab05 app_uuid needs to be unique for copied dialplans except for inbound and outbound routes, fifo, time conditions 2021-11-19 22:07:26 -07:00
FusionPBX
188420009e Only save valid XML.
- Make sure the XML is valid
- Don't allow system and bgsystem in the XML.
2021-11-17 12:28:35 -07:00
FusionPBX
0004a44d1c When copying a dialplan use a unique uuid for app_uuid. 2021-10-29 13:06:17 -06:00
agree
1fb6878734 [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route (#5974)
* [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route

* Update and rename 530_click_to_call_auto_answer.xml to 25_click_to_call_auto_answer.xml
2021-10-14 00:44:10 -06:00
FusionPBX
f59d211d6d Add forward_reset to enable ability to unset the forward destination. 2021-09-16 13:22:43 -06:00
FusionPBX
2cd6908b96 Add the number attribute. 2021-09-09 15:07:01 -06:00
FusionPBX
1bb83e491a Add a dialplan for ring group forward. 2021-09-09 14:23:54 -06:00
FusionPBX
86596ecbbe Update valet_park_in remove * as it doesn't work with the valet park in. 2021-09-07 10:07:36 -06:00
FusionPBX
7c3eedb262 Fix valet park out regular expression. 2021-09-07 10:06:19 -06:00
FusionPBX
be4ea2092b Update 475_valet_park_out.xml 2021-08-23 11:23:48 -06:00
FusionPBX
3d932c0f0f Create 474_valet_park_in.xml 2021-08-23 11:22:15 -06:00
FusionPBX
c4fc66a384 Add a new permission called dialplan_global. 2021-07-08 00:15:50 -06:00
agree
2d25eeed8d call forward fix regex (#5986) 2021-06-28 22:07:23 -06:00
FusionPBX
a8ed7efd11 Fix a conflict with the page dialplan *724 2021-06-28 10:17:23 -06:00
agree
c45ffc6754 agent+ fix dialplan (#5958) 2021-06-10 01:14:06 -06:00
agree
74b806a1e9 [valet park] Add answer for calls that are still in early media 2021-05-20 11:52:17 -04:00
agree
bb683c101d [Valet Park] fix caller id for outbound call parks 2021-05-05 18:52:43 -04:00
Andrew Querol
c5af288caf Revert "Revert "Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring""
This reverts commit e853db42
2021-04-27 12:44:33 -05:00
FusionPBX
5f4ef5bf96 Revert "Update the valet park dialplan to allow matching park+5901-5999" 2021-04-27 09:32:04 -06:00
FusionPBX
e853db421f Revert "Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring" 2021-04-27 09:31:13 -06:00
FusionPBX
a445c1d9b0 Use api_on_answer and fix inbound call mask and unmask
- Used api_on_answer so that the recording only starts when the call is answered. Should save diskspace and prevent the need for using action: ringback. 
- Added 'both,self' to the end of the bind_digit_action to fix inbound call mask.
2021-04-26 19:19:05 -06:00
FusionPBX
ce2063b1ec Merge pull request #5611 from winsock/valet-park-update
Update the valet park dialplan to allow matching park+5901-5999
2021-04-23 19:24:51 -06:00
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