657 Commits

Author SHA1 Message Date
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
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
829f8a35d6 Change the order of the conditions to a-z and add call_direction. 2022-05-03 18:16:08 -06:00