Commit Graph

9648 Commits

Author SHA1 Message Date
FusionPBX
37f754336b Create app_languages.php 2022-07-28 09:29:01 -06:00
FusionPBX
1f6a081471 Create app_config.php 2022-07-28 09:28:36 -06:00
FusionPBX
22a243ceb4 Update and rename app/switch/resources/service/debian-event_guard.service to app/event_guard/resources/service/debian.service
Move event guard to its own directory.
2022-07-28 08:38:16 -06:00
FusionPBX
9d2efbeccb Rename app/switch/resources/service/event_guard.php to app/event_guard/resources/service/event_guard.php
Move the event_guard service to its own directory name.
2022-07-28 08:35:16 -06:00
FusionPBX
3ee97e0d76 Add more debug information. 2022-07-27 13:40:55 -06:00
FusionPBX
5a11c55553 Remove orphaned access control nodes 2022-07-27 13:28:52 -06:00
FusionPBX
c8aaf80781 Create debian-event_guard.service 2022-07-25 19:28:18 -06:00
FusionPBX
17ab8e61ab Create event_guard.php 2022-07-25 19:24:35 -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
emak
ea4a5e7f67 Check to make sure accountcode has some value (#6440)
The accountcode variable is used in a dialstring later on and if it comes back nil for any reason, then the following error is thrown:

2022-07-22 16:19:11.524674 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: attempt to concatenate global 'accountcode' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: in main chunk
        /usr/share/freeswitch/scripts/app.lua:48: in main chunk

This completely breaks follow-me.

This code sets the accountcode variable to the domain name if it comes back nil during script execution, thus protecting the script from failing with an empty accountcode value in the db or query.
2022-07-22 16:47:31 -06:00
Jesse Gruver
0e9b8f15b5 Added grandstream_show_key_labels and other default values. (#6438) 2022-07-22 13:02:51 -06:00
FusionPBX
5be250c569 Set Caller ID only when the call_direction is outbound. 2022-07-20 16:15:04 -06:00
FusionPBX
1a96d4007a Additional changes to allow hangup action which has no data. 2022-07-20 09:45:11 -06:00
FusionPBX
aa488eed01 Needed to allow hangup action which has no data. 2022-07-20 09:40:23 -06:00
FusionPBX
e65d483ef7 Add contact_in_ping to Gateways (#6439)
* Add contact_in_ping to Gateways

* Update gateway_edit.php

* Update gateways.php

* Update app_languages.php

* Update sofia.conf.lua
2022-07-19 16:34:01 -06:00
FusionPBX
4cf53c9719 Work around for FreeSWITCH bug where .loc break Music on Hold.
Fixed in the following commit.
https://github.com/signalwire/freeswitch/pull/1577

The commit was accepted. Hoping the bug fix is included in the next release of FreeSWITCH 1.10.8. However we need a work around for those using older versions and 1.10.8 hasn't been released yet.
2022-07-19 12:02:54 -06:00
FusionPBX
3eb258c7ea Add an alternative method to get the device vendor. 2022-07-19 09:52:34 -06:00
Joseph
2de1abb657 fix issue with device vendors (#6340)
If mac address and template already exists in Devices page and you attempt to associate the mac address with the extension from the extensions page, the "vendor" is removed from the device, thus causing provisioning not to look at the device profiles settings of the mac address
2022-07-19 09:48:04 -06:00
FusionPBX
89258e09e5 Admin user should have access to the destination_prefix. 2022-07-18 10:42:56 -06:00
FusionPBX
e6d7c76870 Fix the caller ID number label. 2022-07-17 19:09:34 -06:00
FusionPBX
5f8fcc07fb Add destination_prefix required for superadmin. 2022-07-17 18:59:19 -06:00
FusionPBX
8ce558702a Add destination conditions. 2022-07-16 23:31:29 -06:00
FusionPBX
ca5ef8d03d Change label-detail_action to label-destination_actions. 2022-07-16 23:30:15 -06:00
FusionPBX
41c5fa3a3f Add a field and permission called destination_conditions. 2022-07-16 23:29:04 -06:00
FusionPBX
2c7e40bd8e Add destination_conditions, destination_actions, and additional descriptions. 2022-07-16 23:27:59 -06:00
FusionPBX
d9a9bbc8e0 Add destination_actions to the destinations table. 2022-07-16 11:27:03 -06:00
markjcrane
4f2987da2d Add destination_actions type json allows adding multiple actions 2022-07-15 22:38:21 -06:00
agree
f89ecf5b36 [dialplan] NANP match + only if followed by a 1 (#6436) 2022-07-12 17:32:49 -06:00
FusionPBX
e2640b8752 Use the destination_cid_name_prefix permission and get more values from the database when user doesn't have permission to the value. 2022-07-12 17:16:19 -06:00
FusionPBX
c2ba621c15 Add permission destination_cid_name_prefix. Remove an unused permission other_destinations. 2022-07-12 16:46:47 -06:00
FusionPBX
4669b3efba Get the call center channel variables and set in the intercepted call. 2022-07-11 13:46:25 -06:00
FusionPBX
da181fc6f6 Improve multi-server cluster support. 2022-07-07 16:14:01 -06:00
FusionPBX
899fc18420 Use the right comments for lua. 2022-07-06 16:09:44 -06:00
FusionPBX
230ee4ab49 Vociemail, Allow play a mix of mp3 or wav files whatever exists. 2022-07-06 10:09:01 -06:00
FusionPBX
1bcff440d4 Change yealink w606 to w60b 2022-07-01 16:40:25 -06:00
FusionPBX
57df8a02aa Require destination_number for add.
Update can get the number from the database.
2022-07-01 11:37:48 -06:00
FusionPBX
de22a9121a Security use escapeshellarg 2022-06-29 10:24:05 -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
be841cd17a Update fax_send.php 2022-06-28 11:06:19 -06:00
FusionPBX
220f19dcf0 Add new permisisons for the switch dashboard.
switch_version
switch_uptime
switch_channels
switch_registrations
2022-06-28 11:00:45 -06:00
FusionPBX
3a31141e6f Add permisisons to the dashboard.
Add new permissions switch_version, switch_uptime, switch_channels, switch_registrations
2022-06-28 10:59:19 -06:00
agree
b7e7d27c79 [xml_cdr] LOSE_RACE handled in wrong place (#6433)
LOSE_RACE is already being handled later `if (permission_exists('xml_cdr_lose_race'))`
2022-06-25 12:04:44 -06:00
agree
f907619679 [xml_cdr] cdr statistics fix LOSE_RACE (#6432) 2022-06-25 12:04:23 -06:00
FusionPBX
d82fd6a587 Add park+*xxxx to the templates using the spa_dial_plan 2022-06-24 16:30:38 -06:00
FusionPBX
8c6d8a4103 Require the fax extension to be numeric. 2022-06-23 15:02:07 -06:00
FusionPBX
2e2376829f Use the domain_name from the database. 2022-06-23 10:25:31 -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
FusionPBX
7a6f02474e Prevent spaces from being considered as a valid destination_number. 2022-06-16 15:07:21 -06:00
FusionPBX
d6b1cdd63f Prevent a problem when an IVR Option number is set without and action. 2022-06-16 10:29:01 -06:00