Commit Graph

328 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
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
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 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
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
fusionate 87c2e80542 Call Recording: Allow recording of certain feature codes. 2020-12-08 11:10:50 -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 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
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
FusionPBX 4eea4ee3cd
Rename 080_hold_music.xml to 080_user_hold_music.xml 2020-07-10 18:55:22 -06:00
FusionPBX 466b77053d
Rename the new hold music dialplan to user hold music. 2020-07-10 13:38:04 -06:00
FusionPBX 0be0bc3417
Create 080_hold_music.xml 2020-07-10 01:02:52 -06:00