Commit Graph

470 Commits

Author SHA1 Message Date
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
trideeindhoven
fba26b3f84 Better NL translations (#6590)
Co-authored-by: Jeroen Hermans <jeroen@perfectvoip.nl>
2023-03-28 10:24:11 -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
98f4ae6bb7 Dialplans: Fix search by dialplan Number. 2023-03-08 16:54:21 +00: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
garryavx
7d08ffc53c Update app_config.php (#6544)
changed description to make destination_number a variable, and added warning that you must use a global default setting, domain setting will not work.
2023-02-06 14:49:48 -07: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
1aa1467872 Allow inbound_route_view and outbound_route_view permissions 2023-01-11 23:35:29 -07:00
FusionPBX
59129449fd Rebuild the dialplan SQL 2023-01-11 20:21:14 -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
5fabba6bb9 Default to default sip_to_user
The value sip_req_user is not working out as a good default. Change this to better default is sip_to_user.
2022-12-05 09:43:50 -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
cb96c4a848 Inbound routes use destination sip_req_user
This setting allows adjusting the variable that is used for match the inbound number. For many years inbound routes have used destination_number as the variable to match inbound calls. When SIP diversion header is used the destination_number is not always dependable. The variable sip_to_user is more dependable but still fails with how some providers have implemented the SIP diversion header. It appears the sip_req_user is the seems to be the most dependable.
2022-10-28 09:10:54 -06:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
cdd6397285 Replace root.php with config.conf 2022-10-10 13:19:44 -06:00
FusionPBX
114fe7252c Replace root.php with config.conf 2022-10-10 13:19:40 -06:00
FusionPBX
4f7018700a Replace root.php with config.conf 2022-10-10 13:18:54 -06:00
FusionPBX
7a16083095 Replace root.php with new config.conf 2022-10-10 13:18:34 -06:00
markjcrane
eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
frytimo
ba3b60b07b Move database methods to static and document database class (#6474)
* Add new static method to created newly connected database object

* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.

* More docs & removed the ability to set any value within the object.

Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-09-17 15:44:21 -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
agree
6e40068040 [dialplans] Allow multiple extensions per xml (#6437)
* [dialplans] Allow multiple extensions per xml

* remove extra character
2022-07-23 13:16:25 -06:00
FusionPBX
5be250c569 Set Caller ID only when the call_direction is outbound. 2022-07-20 16:15:04 -06:00