Commit Graph

333 Commits

Author SHA1 Message Date
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