Commit Graph

394 Commits

Author SHA1 Message Date
FusionPBX c6d9b31498
Make echo a global dialplan 2023-04-19 22:55:28 -06:00
FusionPBX 50749f5374
Make delay_echo a global dialplan 2023-04-19 22:55:06 -06:00
FusionPBX 2313d45752
Make hold_music a global dialplan 2023-04-19 22:54:30 -06:00
FusionPBX cb85b66b16
Dialplan send_to_voicemail use global context 2023-04-19 22:46:35 -06:00
FusionPBX 28d323617a
Dialplan caller-details use global context 2023-04-19 22:40:06 -06:00
FusionPBX cd044b35aa
Change uuid to app_uuid 2023-04-19 10:38:38 -06:00
FusionPBX ad715d7fbb
Update 130_distinctive-ring-local.xml 2023-04-19 10:35:13 -06:00
FusionPBX d674d67143
Add dialplan distinctive-ring-local 2023-04-19 10:31:25 -06:00
FusionPBX 44961e6acb
Make call-direction a global dialplan 2023-04-19 09:59:33 -06:00
FusionPBX 050e242a13
Context tag deprecated use context attribute 2023-04-14 15:08:16 -06:00
FusionPBX 3bd64de10b
Context tag deprecated use context attribute 2023-04-14 15:07:11 -06:00
FusionPBX 253635bde4
Disable bxfer-return by default
This returns the call back to the person that tried to do a blind transfer. Enable this dialplan if its a behavior you want.
2023-04-03 11:22:46 -06:00
FusionPBX 850beb081b
Set global dialplan to global context (#6593)
* Set global dialplan to global context

* Update 530_talking_clock_date_and_time.xml
2023-03-28 14:03:55 -06:00
markjcrane 1eece9111d Use global context 2023-03-28 11:38:29 -06:00
FusionPBX d07996d9d8
Update context to global 2023-03-28 11:27:41 -06:00
FusionPBX 48c3c11cfc
Update context to global 2023-03-28 11:27:18 -06:00
FusionPBX 0b9ea07576
Update context set to global 2023-03-28 11:26:44 -06:00
FusionPBX d5850f154c
Update the array path after removing context tag 2023-03-27 16:49:36 -06:00
markjcrane d31e854488 Finish move context to an extension attribute 2023-03-27 14:28:24 -06:00
markjcrane 4fe99907e1 Move context to an extension attribute 2023-03-27 14:14:36 -06:00
fusionate c41121a00f
Dialplan - Feature code to control agent Break status. 2023-03-16 20:23:39 +00:00
FusionPBX 07280b0754
Regex removed broke call recording 2023-03-13 12:50:52 -06:00
Luis Daniel Lucio Quiroz c4422e65f8
Remove redundant SQL condition (#6573)
In this condition you already have  p.dialplay_uuid = s.dialplay_uuid  and you have p.dialplay_uuid = CONST, no need tor s.dialplay_uuid=CONST,

In small databases, this could be trivial; but in significant databases, this saves a lot of processing.
2023-03-09 14:13:50 -07:00
fusionate f8f906a29c
Dialplan - Wakeup Call: Remove sample rate from path. 2023-02-14 16:48:55 +00:00
fusionate 0f6ac8920c
Dialplan - Wakeup Call: Use dynamic path. 2023-02-14 01:22:48 +00:00
fusionate fe616a6ce8
Dialplan - Wakeup Call: Correct sounds_dir variable used in previous commit. 2023-02-14 00:51:37 +00:00
fusionate 9438b6979b
Dialplan - Wakeup Call: Remove deprecated pin_number reference. 2023-02-14 00:35:30 +00:00
FusionPBX d9ba8b8880
Disable destination_number by default
This dialplan is meant to not record any calls any feature code calls. This means all calls starting with a * prefix.  However if you set the call to record all on the extension wouldn't you expect it to record all calls? Including when picking up a call. Or when intercepting call? or when un-parking a call. Had a someone call that had used a * prefix on an outbound route because they did that this condition prevented the call from being recorded which they didn't expect when the extension was set to record all calls. Tempted to remove it entirely but have instead disabled it by default for now.
2023-02-01 11:39:34 -07:00
FusionPBX 530ba85969
Option to disable dialplan conditions 2023-02-01 11:33:36 -07:00
emak 21b639cd8e
user_exists: Add extension_caller_id_name and extension_caller_id_number (#6540)
* Add extension_effective_caller_id_name and extension_effective_caller_id_number

Adds 2 new variables to the user_exists dialplan:

* extension_caller_id_name
* extension_caller_id_number

This allows us to access these channel variables from the event socket and get the caller id name and number of the dialed extension when an inbound call comes in to that extension.

* Update 010_user_exists.xml

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-01-27 10:11:53 -07:00
FusionPBX a5c6314861
Remove fail_on_single_reject
For one customer this broke voicemail as it never went to voicemail.
2023-01-17 17:18:59 -07:00
FusionPBX 2b1b4b9315
Blind transfer on fail return call to sender 2023-01-03 18:34:05 -07:00
yois615 967445ab34
[call_center] Use agent_name or agent_id (#6520)
When logging into call center from phone, index.lua
only supports identity with agent_id.  We allow passing
agent_name as well to assist with BLF configuration.
2022-12-31 11:44:37 -07:00
demonspork 19354fa37c
Update local_extension fail_on_single_reject (#6514)
Update local_extension fail_on_single_reject to handle stale registrations and other failures. Previously any failure mode would cause the call to drop to all registrations.
2022-12-22 00:27:50 -07:00
FusionPBX 30ddc55e03
Update 035_call_direction.xml
Change call_direction dialplan to set the value to local only if the value is empty.
2022-12-12 10:10:03 -07:00
FusionPBX 5ed0b299aa
Update and rename 030_call_direction.xml to 035_call_direction.xml 2022-12-12 10:08:23 -07:00
FusionPBX 61652e1eb3
Update and rename 505_call-forward-all.xml to 515_call-forward-all.xml 2022-11-18 12:00:51 -07:00
FusionPBX c50e737beb
Update and rename 500_follow-me-destinations.xml to 520_follow-me-destinations.xml 2022-11-18 11:57:21 -07:00
FusionPBX 9e5f931626
Use the callers Caller ID for local calls
With set to false the callers original outbound caller ID information is used. 
Keep original callers caller ID is now set as the default.
With these enabled to true the caller ID is picked from the extension being called.
2022-11-09 10:44:58 -07:00
FusionPBX ce77a7ca75
A better way to add a page timeout 2022-11-04 10:59:32 -06:00
FusionPBX 786d60120a
Update kickall
- Original kickall had an extra set command and was missing the domain name.
- Shouldn't be needed because conference is set to end when moderator leaves
- For this reason disabled by default.
- Additional kickall with sched_api is a time limit for the call
2022-11-04 10:57:52 -06:00
FusionPBX bf11de1215
Add option for agent_authorized by default enabled false. 2022-09-09 09:03:13 -06:00
FusionPBX 334d989b08
By default don't set the this outbound_caller_id when using loopback 2022-08-29 16:51:23 -06:00
FusionPBX e4884fa4b1
Remove outbound_caller_id_number as it overrides caller ID
When the caller is a local extension to another location extension the caller ID in the follow-me-destinations dialplan sets the caller ID to the local extension number and then the VoIP provider doesn't accept the call. As long as the local extension has Outbound Caller ID set on their extension then the information is already correct.
2022-08-18 15:33:16 -06:00
Mendel 10b28721f7
Add cid of remote ext to dialplan (#6449) 2022-08-04 11:53:46 -06:00
FusionPBX c20e83e64c
Add additional pre-defined variables to the disa dialplan. 2022-07-30 16:41:04 -06:00
FusionPBX 5be250c569
Set Caller ID only when the call_direction is outbound. 2022-07-20 16:15:04 -06:00
FusionPBX b8f70a6cb5
Add an option to keep the original caller id name and number. 2022-06-28 17:43:17 -06:00
FusionPBX 5cc64eefb2
Change needed to support Cisco 3PCC endpoints.
The Cisco phone sends the + without the park prefix. This change allows dialing +*5901.
2022-06-21 13:20:17 -06:00
FusionPBX 632898d4a9
Use sip_from_user in orbit extension for an outbound call that is parked.
This allows outbound calls to receive a call back to original extension that parked it if the parked call is left in park.
2022-06-17 10:55:33 -06:00
agree 0e3f286ff7
[page] Add check_destination_status to dialplan (#6411)
* [page] Add check_destination_status to dialplan

* Update 240_page.xml
2022-06-15 18:56:08 -06:00
Antonio Fernandez c73f4de8d1
BLF Presence added for Voicemail Boxes (#6389)
* BLF Presence added for Voicemail Boxes

* Newline added to the end of the blf_notify.lua script

* changed prefix of vmail to voicemail
2022-05-19 08:37:10 -06:00
FusionPBX 5e9481ebc4
user_hold_music condition order user_exist must be first. 2022-05-06 09:25:08 -06:00
FusionPBX 3600e479fe
call-forward-all set diversion header to default false.
If the diversion header is required it can be enabled.
2022-05-05 16:45:12 -06:00
FusionPBX d2d8c2bdcb
Rename queue and remove the escape on the domain_name. 2022-05-05 12:17:14 -06:00
agree 4e9e007a2b
[dialplans] don't set hold music if from user exists (#6359)
If the aleg is an existing user, setting the hold_music on his leg causes the wrong hold_music to be used when he puts the other leg on hold.
2022-05-05 09:06:29 -06:00
FusionPBX cc8914341f
Use &lt; and &gt; in place of < and > 2022-05-04 14:58:15 -06:00
FusionPBX d5481c05fd
Fix the syntax. 2022-05-04 14:44:43 -06:00
FusionPBX 652621c215
Simplify call-forward-all dialplan. 2022-05-04 14:26:44 -06:00
FusionPBX bac66f75ac
Update 480_operator.xml (#6355)
* Update 480_operator.xml

* Define operator to be used in the operator dialplan.
2022-04-29 15:59:18 -06:00
FusionPBX 0e947a28a0
Update 490_do-not-disturb.xml
Remove the limit as it broke DND for multiple customers.
2022-04-21 21:58:10 -06:00
FusionPBX a81f1ece8f
Add fail_on_single_reject for better support of multiple registrations. 2022-04-12 09:28:45 -06:00
FusionPBX bcd8ea8ed4
Change the order number from 15 to 30. 2022-04-11 14:47:18 -06:00
frytimo 7993998927
remove space before tag (#6335)
Having a space before the opening of the PHP tag causes headers to be sent prematurely.
2022-03-29 20:34:29 -06:00
FusionPBX 9595437f01
Handle Caller ID in a differently when call_direction is inbound or local. 2022-03-29 15:26:58 -06:00
emak 62b793efde
Delete duplicate enabled="true" statements (#6332)
Most recent PR on this file duplicated enabled statements causing the dialplan to be invalid and not be generated when running App Defaults.
2022-03-23 10:03:28 -06:00
agree ea8a8cb3ce
[user_record] move back to record_session (#6230)
* [user_record] move back to session_record

use RECORD_ANSWER_REQ variable to start recording after answer

* Use record_session but leave api_on_answer as an disabled option.

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-03-22 22:45:10 -06:00
FusionPBX be8fe5de1b
Update 505_call-forward-all.xml 2022-03-22 22:35:05 -06:00
FusionPBX 8ccbf26880
Change valet park timeout from 180 to 900. 2022-03-08 16:04:42 -07:00
FusionPBX 526315ff5a
Change valet park default timeout from 180 to 900. 2022-03-08 16:03:56 -07:00
FusionPBX 7b7db2c4c4
Update 480_operator.xml 2022-02-14 15:53:45 -07:00
FusionPBX a410d5044b
Disable bind_meta_app by default in the operator dialplan. 2022-02-14 15:51:56 -07:00
FusionPBX 6f17f8114e
Disable operator dialplan by default because the extension needs to be set before it is useful. 2022-02-14 15:48:55 -07:00
FusionPBX 8bf4bec589
Add $ as this makes it look for an exact match. 2022-01-19 15:32:19 -07:00
FusionPBX 28c28fab84
Enable *72 in addition to the *72(2-20) digits
Some people were used to *72 original behavior then at some point someone added *72 followed by 2 - 20 digits. However to make everyone happy both of these can co-exist.
2022-01-19 15:27:17 -07:00
FusionPBX d7d99fc9cf
Add permissions=false to the speed_dial dialplan. 2022-01-17 10:10:54 -07:00
FusionPBX 975180f248
User dialplan mkdir in the user_record dialplan. 2021-12-27 16:20:30 -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 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 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
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