Commit Graph

10489 Commits

Author SHA1 Message Date
Alex 129d173624
Add enable toggle to more pages (#6549)
* Add bridge enabled toggle

* Update call_block_edit.php

* Add call flows enabled toggle

* Add conference center enabled toggle

* Add conference control detail enabled toggle

* Add conference control enabled toggle

* Add conference enabled toggle

* Add phrase enabled toggle

* Add stream enabled toggle

* Add voicemail enabled toggle

* Add destination enabled toggle

* Add time condition enabled toggle

* Add default settings enabled toggle

* Add domain enabled toggle

* Add email template enabled toggle

* Add module enabled toggle

* Add number translation enabled toggle

* Add sip profile enabled toggle

* Add switch var enabled toggle
2023-02-13 18:02:01 -07: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 e1713bfc0b
Add text area for email error 2023-02-13 13:21:29 -07:00
FusionPBX 7bca5305ec
Add the email error
Log the email error to identify what went wrong with the email.
2023-02-13 13:03:04 -07:00
FusionPBX 8396f1b572
Fix the search and status for paging 2023-02-11 12:00:53 -07:00
Alex 2acda5ea06
Add dashboard, device, extension, and gateway enabled toggle (#6548)
* Update system_counts.php

* Update call_forward.php

* Add dashboard widget enabled toggle

* Add device enabled toggle

* Add extension enabled toggle

* Add gateway enabled toggle

* Update extension_edit.php

* Update extension_edit.php

* Update device_edit.php

* Update gateway_edit.php
2023-02-10 11:14:43 -07:00
FusionPBX 7b6774050e
Set ivr_menu_enabled default to false 2023-02-10 10:08:54 -07:00
FusionPBX f5afe618e1
Set ring_group_enabled default to false 2023-02-10 09:58:03 -07:00
FusionPBX 9c19eff170
Add toggle ring group enabled 2023-02-10 09:43:14 -07:00
FusionPBX 06949a96d9
Add toggle ivr menu enabled 2023-02-10 09:41:32 -07:00
Alex d35c7577bf
Fixed call forward chart not showing up (#6547)
Fixed a bug where the chart doesn't show up when all the values are equal to 0.
2023-02-09 13:38:48 -07:00
FusionPBX a727c4c38a
Add domain_uuid useful for debug 2023-02-09 12:58:07 -07:00
FusionPBX 9c73670845
Move the fax_queue update before originate
Reason for the change is to make sure the api_hangup_hook lua script update of the email queue doesn't conflict.
2023-02-09 12:40:42 -07:00
FusionPBX f862d65f4b
If fax succes is 1 then fax_status set to sent 2023-02-09 12:28:22 -07:00
fusionate 3ea56af2c3
Gateways - List: Show Register value. 2023-02-09 18:36:24 +00:00
denisent 00b5b79886
separating status and hangup permissions (#6522)
* separating status and hangup permissions

Creating a status permission so status can be displayed independently from hangup cause. The combination of status within the hangup permissions has confused some conversations with admins and superadmins.

* separating status and hangup permissions

Creating a status permission so status can be displayed independently from hangup cause. The combination of status within the hangup permissions has confused some conversations with admins and superadmins.
2023-02-08 19:03:40 -07:00
Luis Daniel Lucio Quiroz 9aa88dc537
Make the XML CDR Importer more resilient (#6543)
So I discovered 2 things,

1. If a user adds the default config cdr-field-array with the content of a database field Let's pretend they want to show the xml_cdr_uuid column (for support purposes) - it could be any column, the SQL construction will fail as not Postgresql, Not MariaDB/MySQL allow having a column repeated twice. Adding array_unique() fixes this issue.

2. This one is for developers: If a developer wants to create more columns in the v_xml_cdr table and make them visible in the CDR app, common sense tells to add the default setting cdr-field-array to show it. As the code is now, this will look into the freeswitch variables and overwrite it with NULL. I am adding a condition that verifies if the value has been already assigned, if it is, it won't overwrite it. This allows any developer who may be interested in extending the CDR to simply extend the class without touching it; very handy to keep the original code untouched.
2023-02-08 18:43:25 -07:00
fusionate ea59d3bf58
Conferences - List: Display CDR link in Tools column, if allowed. 2023-02-09 00:30:56 +00:00
fusionate b0c1a74f63
Access Controls - Reload: Clean up. 2023-02-08 22:17:49 +00:00
fusionate 5494a72941
Access Controls - List: Add Reload button. 2023-02-08 21:56:36 +00:00
FusionPBX 1078bacd70
Move database.name add adiditional comments 2023-02-07 22:56:44 -07:00
FusionPBX 78b4651106
Use additional conditions so sqlite will work or postgresql
Also added trim to prevent a trailing space from breaking the dsn string for sqlite.
Also added debug lines helpful for testing.
2023-02-07 22:50:05 -07:00
FusionPBX aacb232fc3
Add debug info and change method to access the table
Changing the method to access the table with dot notation is just a style should work either way.
2023-02-07 22:47:03 -07:00
FusionPBX 09c41b88ef
Add contact-params (#6545)
Adding contact params for control over this setting.
2023-02-06 22:24:16 -07:00
fusionate 46854d4025
Voicemail - Edit: Renenable Listen Link option in select, like Extension edit page. 2023-02-06 23:24:49 +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
fusionate 658cb83894
Recordings: Display *732 password in description. Permission: record_pin 2023-02-02 21:20:31 +00:00
fusionate a7437be120
Interactive Conference - Add left margin to video icon, like others. 2023-02-02 20:06:40 +00:00
FusionPBX 0a6148bbc4
Use the switch database defined in config.conf 2023-02-01 19:51:33 -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
fusionate f0797aee40
Conferences/Rooms - Edit & List: Make View button/link destination (Interactive or Active Conferences) determined by permissions. 2023-01-31 20:14:32 +00:00
fusionate 2092156157
Active Conferences: Show Conference/Room name and extension numbers. Conferences - Edit: Fix View button. Conferences - List: Add View link. 2023-01-31 19:59:08 +00:00
Alex 3fe43be2a8
Update default chart colors (#6542)
* Update default chart colors

* Update app_config.php

* Update index.php
2023-01-31 11:08:00 -07:00
fusionate d04b6db96a
Dashboard: Call Forward widget, Edit position without reload, misc adjustments. 2023-01-31 00:19:09 +00:00
FusionPBX ba344fd56b
Add option for /usr/share and /usr/local/share 2023-01-29 16:48:25 -07:00
FusionPBX badc0ee6c4
Add option for /usr/share and /usr/local/share 2023-01-29 16:46:39 -07:00
FusionPBX e3b600eaff
Exclude Call center agent as missed call
The call could have been answered by another call center agent.
2023-01-28 14:49:35 -07:00
fusionate 87716d051d
Extension - Edit: Clarify more descriptions. 2023-01-28 21:38:46 +00:00
fusionate 4ba6148f57
Extension - Edit: Add clarity to Max Registrations and Limit Max descriptions. 2023-01-28 21:31:00 +00:00
fusionate 4b7bac9ba1
Extension - Edit: Remove extra line breaks. 2023-01-28 21:18:01 +00:00
fusionate b35aafc391
Dashboard: Click chart to expand/contract details. 2023-01-28 01:52:13 +00:00
fusionate 6825825891
Device Profile - Edit: Implement device_key_icon permission on Icon column of Keys. 2023-01-27 22:42:05 +00:00
fusionate 107b8a48f2
Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
FusionPBX 02a9372634
Fix call block search and search by more fields.
Search by new fields.
- call_block_direction
- call_block_app
- call_block_data

Remove search by country code as its type numeric and casting it to text is likely to lower performance.
2023-01-27 13:08:22 -07:00
demonspork a3811128af
Support upcoming change in freeswitch - bridge_uuid changes to bridge_uuids array (#6531) 2023-01-27 10:18:35 -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 9a6628b592
Update app_config.php 2023-01-26 11:50:15 -07:00
FusionPBX a46d0856d3
Add new language_destinations permission 2023-01-26 10:34:01 -07:00
FusionPBX 9ae3cf8da3
Add destination languages 2023-01-25 23:08:38 -07:00
fusionate 8f2e1b0cd1
IVR Menu: Implement Enabled toggle control on Options. 2023-01-23 23:45:57 +00:00
fusionate b393089769
Ring Group - Edit: Set value to FALSE when Destination switch is off. 2023-01-23 22:44:57 +00:00
FusionPBX d31d028a0c
Upgrade: Enable ring group destinations by default 2023-01-22 11:19:50 -07:00
fusionate df6bc02489
Ring Groups: Enhance Destination Enabled Switch 2023-01-21 01:30:34 +00:00
K-Flagman 581c919132
Add iphone style toggle to enable/disable ring groups destinations #6394 (#6395)
* Add iphone style toggle for destinations in ring groups

* Add iphone style toggle for destinations in ring groups

* only select enabled destination when make ring group calls

* add destination_enable filed in table v_ring_group_destinations schema

* Change destination_enabled value on to true.

* Update app_config.php

* Change destination_enabled from on to true

* Change destination_enabled to boolean

* Delete fix.css

* Will style this

* Update template.php

Co-authored-by: flagman <flagman@flagman.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: K-flagman <43560934+kapetrosyan@users.noreply.github.com>
2023-01-20 18:25:13 -07:00
FusionPBX c5ebafa893
Add spa_vlan_enable, spa_vlan_id and spa_vlan_pc_id 2023-01-20 11:50:52 -07:00
FusionPBX a527bb5122
Remove cisco spa settings
These settings have been moved to app/cisco/app_config.php
2023-01-20 11:40:17 -07:00
FusionPBX 41ac46b204
Move the cisco spa default settings
Moved to own app/cisco/app_config.php
2023-01-20 11:38:52 -07:00
FusionPBX ec6daa7be0
Add missing required permission. 2023-01-19 16:00:59 -07:00
FusionPBX 62a8b95a16
Use effective_caller_id_name for local caller ID name
A local call does not have caller_id_name set automatically so we need to use effective_caller_id_name
2023-01-19 14:48:18 -07:00
fusionate 2980555287
Call Broadcast: Implement Date/Time Picker for Start Time field. 2023-01-18 22:25:55 +00: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
fusionate 4b52636022
Log Viewer: Update copyright date. 2023-01-17 00:06:01 +00:00
fusionate e8c59469c4 Call Center Agent - Edit: Clarify Announce Sound Description. 2023-01-16 23:44:24 +00:00
fusionate 96ba877a30 CDR: Update copyright date. 2023-01-16 23:10:11 +00:00
fusionate bbcfa128e5 Vars: Update copyright year. 2023-01-16 22:15:46 +00:00
FusionPBX e914fcde5e
Fix the fax queue status and search 2023-01-14 15:27:02 -07:00
FusionPBX c29c00dac1
Use $_REQUEST instead of $_POST or $_GET 2023-01-14 15:12:24 -07:00
FusionPBX 0873d67552
Add a link to fax_queue 2023-01-14 15:05:27 -07:00
FusionPBX e5b4f36b4b
Add label-queue 2023-01-14 15:04:05 -07:00
FusionPBX a51fba9745
Add permission fax_queue_domain 2023-01-13 18:12:42 -07:00
FusionPBX 3d144e58b0
Show faxes assigned to the user 2023-01-13 18:11:01 -07:00
FusionPBX 3b2e92a67d
Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:24:33 -07:00
FusionPBX a28e248867
Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:23:27 -07:00
FusionPBX e1b0f08321
Update the config.conf include 2023-01-13 13:58:06 -07:00
FusionPBX 86b8c2bea6
Update the fax-queue config.conf include 2023-01-13 13:56:34 -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 dad60ef40a
config fs_path convert to boolean
The fs_path setting from config.conf is picked up from the config as a string. The directory.lua code expects the value as boolean so we are converting it to a boolean so it can be used in that way.
2023-01-11 19:52:42 -07:00
denisent 422b41cf8f
malformed sql messed up fax server columns (#6535) 2023-01-11 15:04:34 -07:00
FusionPBX bb3b813ce4
Update year range to include years passed
This is needed so that if going back to an old time condition see the year it previously had. This provides opportunity to update or remove the old time condition. This provides time to remove the old setting and not confuse it with new years.
2023-01-09 16:49:18 -07:00
FusionPBX d796eee8a0
Security: validate the user
Safest approach is to validate the user for the current domain.
2023-01-08 11:49:34 -07:00
FusionPBX 60aa8f6ab2
Remove the domain from the user_id 2023-01-08 11:46:57 -07:00
FusionPBX cf69ee46dc
Use the call recordings view 2023-01-07 08:44:20 -07:00
Alex 37ab508d1b
Update chart.js v3 to v4 (#6529)
* Update chart.min.js

* Update missed_calls.php

* Update recent_calls.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update domain_limits.php

* Update voicemails.php
2023-01-06 13:18:53 -07:00
FusionPBX 0dbbdd000e
Create shell_esc.lua 2023-01-04 19:48:36 -07:00
FusionPBX 1e49e686c9
Add additional values to Registrations array
Items added to registrations array
* network-ip
* sip-auth-user
* ping-status
2023-01-04 14:05:16 -07:00
Alex 08a6cdb864
Update system_counts.php (#6525) 2023-01-04 09:42:58 -07:00
Harry Foster 13bcd5d244
Updated device key save to be a submit function for the form. (#6524)
The reason for this is the default behaviour for 'return' or 'enter' is to delete the device entirely. This makes using a barcode scanner impossible, or user error resulting in a lot of lost time.
2023-01-04 09:19:48 -07:00
FusionPBX 2b1b4b9315
Blind transfer on fail return call to sender 2023-01-03 18:34:05 -07:00
FusionPBX 784bdafccf
Use the time zone and format the date 2023-01-02 23:21:40 -07:00
FusionPBX a93bce2ae4
Disable grandstream_enable_call_features
When enabled it breaks ability to dial 72/73/74 or 97/98 and other feature codes
2023-01-02 11:52:08 -07:00
demonspork 7e58f6d773
Fix edge case permissions problem with extension_advanced (#6512)
* Fix edge case permissions problem with extension_advanced
2022-12-31 11:57:41 -07:00
yois615 cb1777c794
[call_flow] Adjust lamp on web changes (#6519)
Trigger event on status change from WebUI
2022-12-31 11:49:33 -07:00
Alex 21dfbc2d61
Update system_counts.php (#6517) 2022-12-31 11:47:33 -07:00
yois615 885c950a15
[call_center] Add uuid to lamp turn (#6518)
Agent log out from queue would have delayed lamp turn off.
Solution credit:
https://www.pbxforums.com/threads/agent-status-blf.549/page-2#post-11458
2022-12-31 11:46:58 -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
yois615 2a0616b050
[call_center_active] Queue pickup (#6521) 2022-12-31 11:42:44 -07:00
FusionPBX ef1dbca245
Fix paging records for call recordings 2022-12-29 12:05:51 -07:00
FusionPBX 6a3f7e95a4
When greeting is used a short sleep is required
Without the sleep may miss the beginning of the recording.
2022-12-23 10:03:29 -07:00
FusionPBX 0afe985352
Make the SQL queries more readable 2022-12-22 13:15:14 -07:00
FusionPBX c9fe34f271
Change call_routing to call_forward. 2022-12-22 13:02:27 -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 8c749a2d02
Hide domain from list for user without permission
Use session domain_uuid by default when saving a new stream.
2022-12-22 00:18:43 -07:00
FusionPBX ba8adb9df6
Make streams more admin group safe. 2022-12-22 00:13:06 -07:00
FusionPBX ee17eb2665
Security, sanitize fax file path and name 2022-12-18 15:39:11 -07:00
FusionPBX 347874d42f
Fix mkdir by includ function an use after includes 2022-12-18 12:13:01 -07:00
demonspork 0719510ab5
Update file_cache.lua (#6507)
* Update file_cache.lua

Updated file_cache.lua to use default settings for compatibility with the removal of config.lua/local.lua. Also refactored some code for readability/nesting

* reload remote server list on cache clear
2022-12-14 10:10:34 -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 a593f567d1
Add the greeting to the database when uploaded 2022-12-09 18:55:49 -07:00
FusionPBX b3d201b909
Add Voicemail Greeting mp3 option 2022-12-09 15:01:27 -07:00
FusionPBX 49e8222219
Clear the speed_dial cache. 2022-12-08 22:12:22 -07:00
FusionPBX 3f4c74dac8
Simplify the speed_dial cache key 2022-12-08 21:07:25 -07:00
demonspork a62235e983
Typo Fix in recordings.php (#6504) 2022-12-08 16:16:13 -07:00
FusionPBX 7b928dc6b4
Fix conference active buttons.
Security validation wasn't quite right so it prevented the mute, unmute and other conference actions from working.
2022-12-07 22:29:59 -07:00
FusionPBX b7147022cc
include document root and config.conf 2022-12-07 21:52:34 -07:00
chansizzle b8c2fc182a
allow fax FROM to have more characters (#6503)
Fax cover sheet FROM field - increase the number of characters
2022-12-07 11:13:16 -07:00
FusionPBX 1cb9c932b8
Use the new ivr_menu answer setting. 2022-12-06 13:31:05 -07:00
FusionPBX 92123052e1
Add answer to IVR Menu dialplan.
Whether to add application answer to the IVR Menu dialplan.
2022-12-06 13:27:14 -07:00
FusionPBX bccc736fea
Update xml_cdr.php 2022-12-05 17:52:36 -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 7cb9836574
Update version to 1.1
Deprecate the v_call_recordings table
2022-12-03 19:23:58 -07:00
FusionPBX 3b9357976d
Use the new call recordings view 2022-12-03 19:19:29 -07:00
FusionPBX afa57b26a4
Update call recordings with more details
- Use the view_call_recordings view
- Add caller id name, number and destination
- Add more to the search
- Improve responsiveness
- Remove count to improve speed
2022-12-03 18:46:58 -07:00
FusionPBX 259dd1fbab
Add view_call_recordings 2022-12-03 18:44:17 -07:00
FusionPBX 77cbcad4dc
Add Caller ID Name, Number, and Destination 2022-12-03 18:42:07 -07:00
FusionPBX 0f60b2b34d
Add record_length numeric
And remove call_recordings save
2022-12-03 18:36:42 -07:00
FusionPBX c910f2177a
Add record_length type numeric 2022-12-03 18:24:09 -07:00
Vincent e8d01efc58
Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices. (#6502)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.

* Fix: unable to generate configuration file of Flyingvoice due to syntax error.

* Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices.
2022-12-03 14:46:40 -07:00
FusionPBX 7767c7dc33
Disable yealink_provision_url by default.
- When this is disable it will use the domain of the tenant.
- If the domain of the tenant is not resolvable then yealink_provision_url is needed.
- One reason to disable it is the domain_name has to be manually updated to the correct domain.
2022-12-02 17:39:02 -07:00
chansizzle 61b1c5547b
Update call_block.php (#6500)
show all domains when using show all
use the correct permission for show all access
2022-11-30 09:35:38 -07:00
FusionPBX 6aab62d12f
Set default setting to enabled to true.
Set default setting to enabled to true for yealink_missed_call_power_led_flash_enable.
2022-11-30 09:30:49 -07:00
emak bfbfd8a99b
Add French translations for email_address labels (#6494) 2022-11-21 19:25:43 -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 696ad43044
Add queue email address 2022-11-18 00:12:53 -07:00
FusionPBX 700e964221
Add queue_email_address to call_center_queues 2022-11-18 00:02:43 -07:00
FusionPBX e32351eee0
Add label-queue_email_address 2022-11-17 23:36:10 -07:00
FusionPBX 440883fba8
Add iptables chain add and exit functions 2022-11-17 21:59:46 -07:00
FusionPBX ff2aa6a5db
Start specific gateway using sofia profile startgw
Old way to start gateway was re-scanning the SIP profile.
2022-11-16 14:54:22 -07:00
agree 095e1f6016
[directory.lua] Add domain_uuid to export_vars (#6493) 2022-11-15 22:22:11 -07:00
FusionPBX 135686c252
Replace the commas for display with a space.
Browser will handle different display sizes better with a space.
2022-11-15 11:01:26 -07:00
FusionPBX 2d3b41a3ee
Use wild card with sofia_contact by default. 2022-11-15 10:37:37 -07:00
FusionPBX 520b5d71f3
Add access control Import button 2022-11-14 17:40:41 -07:00
FusionPBX 895530ce71
Create access_control_import.php 2022-11-14 17:39:31 -07:00
FusionPBX ddcc5d3065
Fix number alias by removing code that broke it. 2022-11-14 16:48:09 -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 88bc541d0d
Create database object if not set. (#6492)
* Create database object if not set.
2022-11-08 09:40:12 -07:00
Dan 4a1913b447
Update to jQuery 3.6.1 (#6491)
This commit updates FusionPBX to use jQuery 3.6.1 and also adds a fallback to the other variable name for offhook autodial on the HT802.
2022-11-07 08:58:38 -07:00
FusionPBX 0eaab4e60a
Add contact relation search 2022-11-06 00:08:36 -06:00
FusionPBX 1ec48d46c9
Update contact_edit.php 2022-11-06 00:04:40 -06:00
FusionPBX acf9a046e0
Add contact relation search 2022-11-05 18:27:21 -06:00
FusionPBX f3c2c4930d
Create contact_json.php 2022-11-05 18:26:09 -06: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
agree d9e43cda4c
set dbh if there isn't a global dbh set (#6489) 2022-11-03 10:49:22 -06:00
FusionPBX acf3781bd3
Use the destination_prefix permission 2022-11-01 12:07:56 -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
Tuan Nguyen c797953291
Fix Call Center max wait time with no agent reached (#6487)
Fix xml_handler when edit Max Wait Time With No Agent Reached when edit Call Center
2022-10-26 09:57:36 -06:00
FusionPBX 1ec440684b
Replace X-accountcode with accountcode
Deprecating the "X-" Prefix (RFC 6648)
https://www.rfc-editor.org/rfc/rfc6648
2022-10-26 09:56:19 -06:00
FusionPBX 95dd6094e0
Removing this because it breaks Missed Call results
Missed calls should include hangup_cause NO_ANSWER
2022-10-24 15:27:41 -06:00
levishores 63e6c5ab66
Update blf_subscribe.lua (#6482) 2022-10-24 13:09:33 -06:00
FusionPBX 720eb58a89
Re-organize the inlcudes. 2022-10-22 23:52:01 -06:00
FusionPBX 150e3cfed7
Re-organize the includes 2022-10-22 23:50:31 -06:00
FusionPBX 9cd8261eda
Update email_queue.php 2022-10-22 23:47:58 -06:00
FusionPBX 5a71e16f15
Use the config.conf file 2022-10-22 23:45:59 -06:00
FusionPBX b004e8f3ba
Add message Unable to connect... 2022-10-20 16:07:23 -06:00
FusionPBX 2816a54a8f
Use the now() for PostgreSQL
This prevents and error for SQLite
2022-10-19 11:29:22 -06:00
FusionPBX 0bba8702a1
Add sqlite support
Example use in config.conf file.

database.1.type = sqlite
database.1.path = /var/lib/freeswitch/db
database.1.name = core.db
2022-10-19 10:57:04 -06:00
FusionPBX 47c13a7270
Set update_date now() when the status is updated 2022-10-18 07:58:03 -06:00
FusionPBX a373958ffd
Use $_SERVER['DOCUMENT_ROOT'] 2022-10-14 11:51:17 -06:00
FusionPBX ef040f2b7a
Command line or web server both includes can work the same 2022-10-13 16:50:47 -06:00
FusionPBX 598eb4ab31
Wrap is_array arround foreach 2022-10-13 08:43:32 -06:00
FusionPBX 2a2069fe9e
Use is_array around foreach 2022-10-12 14:59:13 -06:00
FusionPBX 2d88fc35d8
Get http_protocol from default settings 2022-10-12 11:40:38 -06:00
FusionPBX 1fd0b9976b
Add http_protocol as a default setting 2022-10-12 11:38:14 -06:00
frytimo 4a8e148ccf
remove is_numeric check for voicemail id (#6484)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-10-11 21:32:32 -06:00
FusionPBX b8e8c726be
Update the include handling. 2022-10-11 11:54:01 -06:00
FusionPBX b300961d75
Use server DOCUMENT_ROOT variable. 2022-10-11 11:45:37 -06:00
FusionPBX fa870da5c9
Use server DOCUMENT_ROOT variable
Move includes to the near the top of the page
2022-10-11 11:44:54 -06:00
FusionPBX f75f623767
Remove root.php and include require.php once 2022-10-11 11:27:57 -06:00
FusionPBX eadc950298
Remove deprecated domain_count 2022-10-11 11:09:48 -06:00
FusionPBX 0a2798575c
Remove domain_count
Not needed only request domain_uuid if value is null
2022-10-11 11:07:48 -06:00
FusionPBX 122a8c1e03
Set the temp_dir variable 2022-10-11 10:59:51 -06:00
FusionPBX 93ec88629b
Replace root.php 2022-10-10 17:28:02 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX a52ab303e9
Remove deprecated write_config 2022-10-10 13:28:22 -06:00
FusionPBX 30ec556c4a
Remove script write_config method. 2022-10-10 13:27:50 -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
FusionPBX 7aa7ae4dd1
Add option to use host or hostaddr in config.conf 2022-10-10 13:08:30 -06:00
FusionPBX 26401d45c0
Replace config.lua with config.conf 2022-10-10 12:48:35 -06:00
FusionPBX adcc0ad068
Get the dial_string from default settings 2022-10-08 23:48:24 -06:00
FusionPBX 8f269a56f9
Update lazy_settings.lua 2022-10-08 23:43:51 -06:00
FusionPBX 263af5a76f
Change the indentation from two spaces to a tab. 2022-10-08 23:43:08 -06:00
FusionPBX a7721f5186
Add grandstream_auto_dial_number and grandstream_auto_dial_delay 2022-10-05 15:48:55 -06:00
FusionPBX b58d34010f
Add option billing to phone numbers and addresses. 2022-10-05 10:53:55 -06:00
FusionPBX 0db773e395
Correct the user_log_allowed function 2022-10-03 22:32:17 -06:00
FusionPBX b16265458e
Chang device key line number from 12 to 99 2022-10-03 10:40:23 -06:00
FusionPBX 93dd8bda71
Change variabale name from action to destination_action.
Resolves a conflict with another variable called action.
2022-09-30 16:18:39 -06:00
FusionPBX 92f0eb7405
Fix a problem with loading default sofia global settings. 2022-09-30 11:27:15 -06:00
amibtl 1a0a8e1f6a
Update call center dialplan template for add and edit (#6481)
* prepend to cc_export_vars

* prepend to cc_export_vars
2022-09-30 08:39:09 -06:00
FusionPBX 8bdfcb935b
Time condition set to default false.
The add was setting condition to dialplan_continue false and update set to true. This changes makes it consistent as both add and update will set dialplan_continue to false.
2022-09-28 12:00:31 -06:00
FusionPBX ad9087316a
Fix a division by zero error.
Add better support for BSD
2022-09-27 13:53:52 -06:00
FusionPBX 6d9e83cb1f
Remove /pb off of the phone book path 2022-09-27 08:43:10 -06:00
jonathanblack1000 d084f68a45
Update Grandstream Templates on most common models (#6479)
Add grandstream_missed_call_log, grandstream_missed_call_notification, grandstream_missed_call_backlight, grandstream_firmware_upgrade_protocol, grandstream_onhook_dial_barging,  grandstream_transfer_mode_via_vpk, grandstream_enable_call_features.
Add condition on grandstream_distinctive_ringtone_name_1, and grandstream_distinctive_ringtone_name_2.
Update Connection request user/pw to work better with GDMS.
On grandstream_wallpaper_url, use current setting name on GRP2613
2022-09-27 08:17:31 -06:00
FusionPBX 370139f7ef
Add sip_req_user next to sip_to_user 2022-09-26 15:19:31 -06:00
FusionPBX 2f19cf2ff4
Add sip_req_user as another alternative destination. 2022-09-26 14:46:52 -06:00
FusionPBX 568d561c0c
Update debian.service 2022-09-26 11:45:00 -06:00
FusionPBX 6fc44d467e
Update debian.service 2022-09-26 11:43:57 -06:00
FusionPBX f70576b8d0
Update debian.service 2022-09-26 11:43:22 -06:00
FusionPBX ecb385cf60
PostgreSQL maybe running on a different server 2022-09-26 11:42:32 -06:00
FusionPBX 49aa12067b
When using sip_to_user set before the dialplan_cache_key
To get use the sip_to_user  it needs to be set before the cache
2022-09-22 16:26:49 -06:00
FusionPBX f4b9a3331c
Change from switchname to hostname 2022-09-22 15:02:36 -06:00
FusionPBX eeec6173e0
Update dialplan.lua 2022-09-22 15:01:36 -06:00
FusionPBX ed107606d3
Deprecated no longer needed. 2022-09-22 11:38:39 -06:00
FusionPBX 3c18286c69
Update if the call center dialplan is different 2022-09-22 10:40:16 -06:00
FusionPBX 24b982d87c
Add is_array around foreach
Prevents a PHP Warning.
2022-09-22 09:45:29 -06:00
FusionPBX eafd5a9fe0
Add missing sofia global settings. 2022-09-22 00:09:01 -06:00
FusionPBX 2900b9fb1b
Code had two file connections use one.
Noticed there were two open connection for the file log. A few other adjustments.
2022-09-21 13:02:56 -06:00
FusionPBX c9b3b7ce3f
Remove settings that were accidently addded here. 2022-09-19 16:13:11 -06:00
FusionPBX 7435e8bd91
Remove extra $z++ 2022-09-19 12:59:12 -06:00
FusionPBX ff6f555793
Remove extra $z++ 2022-09-19 12:54:29 -06:00
FusionPBX dee0b53cfe
Remove an extra $z++; 2022-09-19 12:52:24 -06:00
FusionPBX 446f4615bf
Bug fix use column instead of field
If updated in the last few days then you need should clear the file cache. Also disabled event_guard_log_allowed until there is a setting to enable or disable it.

Update the source code
cd /var/www/fusionpbx
rm /var/cache/fusionpbx/*
service event_guard restart
2022-09-18 17:53:03 -06:00
FusionPBX 884e90ac39
Comment out the database response. 2022-09-18 04:48:17 -06:00
FusionPBX 5485764c08
Update event_guard_logs.php 2022-09-18 02:10:28 -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 85ca868ee4
Update event_guard_log_edit.php (#6477) 2022-09-17 10:19:56 -06:00
FusionPBX a2cedd0513
Reduce fax originate command
- Size limit for originate command parameters around 1130 characters.
- The originate command is used in event socket and not in shell command so remove escapeshellarg.
- Remove for_fax=1 as it doesn't seem to be used anywhere.
2022-09-16 17:05:36 -06:00
FusionPBX de21143246
Reduce size of fax originate command.
Originate command is limited to around 1130 characters. So this work was to reduce the size. Single quotes aren't needed on everything as this is not a command line. Its an even socket command. Also moving fax_variables into the fax options prevents variable duplicates.
2022-09-16 17:02:16 -06:00
FusionPBX b5ba126aae
Fix Sofia global settings search. 2022-09-15 23:42:27 -06:00
FusionPBX 864afee9c3
Preven overwritting global profile settings. 2022-09-15 23:37:47 -06:00
FusionPBX 410bab6d05
Allow access for addresses that have been unblocked 2022-09-15 17:34:38 -06:00
FusionPBX 1d55981cbb
Add user_log_allowed function. 2022-09-15 17:00:57 -06:00
FusionPBX 4fce9a4565
Filter for specific Events 2022-09-15 16:01:47 -06:00
FusionPBX 6f6eb88ebb
Use single quotes for the function_exists parameter. 2022-09-12 20:50:13 -06:00
FusionPBX 694fa611ef
Check to see if posix_getsid exists 2022-09-12 20:49:04 -06:00
FusionPBX 7d641711fc
Get the mime type to set vm_message_ext 2022-09-12 16:53:12 -06:00
FusionPBX 81688cb8c8
Remove transcription from if statements.
Transcription is handled using the email queue.
2022-09-12 16:07:59 -06:00
FusionPBX 5ed64d2be4
Prevent an error message if the directory doesn't exist. 2022-09-12 11:41:03 -06:00
FusionPBX be257eeb03
Use is_array before foreach 2022-09-12 09:19:21 -06:00
FusionPBX 0fce8ac1a5
Add more comments and is_array before foreach 2022-09-12 08:59:28 -06:00
FusionPBX bb56827f4f
Use is_array before foreach 2022-09-12 08:54:16 -06:00
FusionPBX b17748dc1e
Use loop only if destination_actions is an array 2022-09-11 10:22:23 -06:00
FusionPBX bf11de1215
Add option for agent_authorized by default enabled false. 2022-09-09 09:03:13 -06:00
FusionPBX 33ff275c12
Add call_center_agents.php as agent blf helper. 2022-09-08 13:52:08 -06:00
frytimo e88176c755
voicemail boxes can now be text or numeric (#6467) 2022-09-07 16:37:02 -06:00
Joyce Babu ae7c312136
Add Telekonnectors Galaxy 1000 Plus template (#6469) 2022-09-07 16:36:03 -06:00
FusionPBX c12cd0d296
Unset destination_app and destination_data
This fixes a bug where a blank empty value shows the previous value.
2022-09-07 16:33:10 -06:00
FusionPBX 8f8e0795ff
Add label-file_name 2022-09-06 17:16:40 -06:00
FusionPBX aa2d0eb477
Show the file name on the second page of the import. 2022-09-06 17:15:35 -06:00
FusionPBX f9324acecc
Wallboard in ES (panish) 2022-09-06 12:39:45 -06:00
garryavx d71e4075a4
Update app_config.php (#6470)
* Update app_config.php

changed the wording to let the user know they can add multiple email address for delivery.

* Update app_languages.php
2022-09-02 12:22:06 -06:00
FusionPBX 6bed337061
Chunk the work into batches of a 1000 numbers at a time.
This is useful for customers with over 1000 destination numbers. Will work from command line with any number of destination numbers.
2022-09-01 11:11:13 -06:00
FusionPBX 52b06b5afc
Use /proc/$pid if posix_getsid is undefined 2022-08-30 14:45:09 -06:00
FusionPBX 29d1221346
On CentOS posix_getsid function may not be available. 2022-08-30 14:20:40 -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 f63cbfaa78
Fix the find_file function when so it works with base64 2022-08-27 23:29:20 -06:00
FusionPBX fd364879ac
Remove duplicated yealink_firmware_t54s 2022-08-26 14:34:09 -06:00
FusionPBX 0435dc0719
Remove duplicate yealink_remote_phonebook_enable 2022-08-26 14:30:04 -06:00
FusionPBX 2ca336e956
Wait until event socket is ready then connect to it.
If FreeSWITCH is not started yet then wait to connect to it then
2022-08-26 12:05:28 -06:00
FusionPBX d62f360f77
Delete the cache in e.164 format. 2022-08-24 16:53:31 -06:00
FusionPBX 2cd382ec38
Get caller ID from the same call flow -> caller profile
This is the same place we get caller ID from in the XML CDR Details page.
2022-08-23 13:13:34 -06:00
agree d52695b29f
[fax] replace bg_system with os.execute (#6462)
to support systems that have the system commands disabled
2022-08-23 10:14:34 -06:00
FusionPBX e51f48b17f
Update app_defaults.php 2022-08-22 17:54:29 -06:00
FusionPBX 2fcd0dbd9a
Use destination_app and destination_data 2022-08-22 17:30:31 -06:00
yois615 6e2e54922f
Retain recording display name and reset digit timeout (#6163)
This commit fixes 2 issues:
1. The recording name was not preserved upon
rerecording

2. When selecting rerecord, the digit timeout would retain
the value of 100, preventing the user from selecting the recording
id
2022-08-22 11:15:23 -06:00
agree fa270a4ee8
[ring groups] remove unused code (#6456) 2022-08-22 11:11:59 -06:00
emak e52f6626f9
Fix fax_queue to Email PDF Instead of TIF (#6461)
* Fix fax_queue to Email PDF Instead of TIF

Variables `$fax_file_tif` and `$fax_file_pdf` are missing a period before the extension so file_exists is always evaluating to false. Thus, TIF was always sent. Adds the period back into the path so the check works correctly.

NOTE: `$fax_file_tif` is completely unused and can be removed from this code for cleanup.

* Use single quotes.
2022-08-22 10:10:31 -06:00
FusionPBX 4f2d0316c5
Add custom event_guard:unblock 2022-08-20 12:48:41 -06:00
FusionPBX 01b31dce1a
Watch for event_guard:unblock and more debug info. 2022-08-20 12:47:24 -06:00
Joyce Babu 6365b28cf2
Add Telekonnectors Galaxy 1000 template. (#6442) 2022-08-20 09:28:15 -06:00
emak 26b3e7893b
Add Fax Queue TX Email Variables (#6460)
* Add db field to v_fax_queue to link to fax log

* Add fax_duration field to v_fax_logs

Add fax duration to db to allow for logging of this data for fax email templates.

* Add new email variables to fax send

* Fix some logging variables and fax_log_uuid

Added back some missing session variables for the fax log.

Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.

* Update hangup_tx.lua
2022-08-19 18:08:43 -06:00
FusionPBX f8f09f9a31
Skip resolving IP addresses to improve performance. 2022-08-18 23:31:42 -06:00
FusionPBX a9e534f1fa
Remove playback silence_stream 2022-08-18 17:59:41 -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
Alex ada9f69af3
Add status dropdown to Fax Queue search (#6459)
* Update fax_queue.php

* Update app_languages.php
2022-08-18 13:13:50 -06:00
FusionPBX 82bb973ea7
Update the event_guard constructor. 2022-08-17 17:27:47 -06:00
FusionPBX 7e34f1f8f4
Add permission event_guard_log_unblock 2022-08-17 17:26:26 -06:00
FusionPBX 1b8bf75eff
Simplify outbound destinations further by hiding irrelevant settings. 2022-08-17 09:38:24 -06:00
FusionPBX 074628ca7a
Add method unblock to the event_guard class. 2022-08-17 00:27:08 -06:00
FusionPBX 2177091702
Use unblock instead of delete. 2022-08-17 00:25:53 -06:00
FusionPBX c2085c2320
Add button-unblock, label-unblocked, and label-pending 2022-08-17 00:23:54 -06:00
FusionPBX 9b06671810
Add ability to unblock addresses and use more descriptive variable names. 2022-08-17 00:06:52 -06:00
FusionPBX 326544a006
Get the hostname of the server before the loop. 2022-08-16 18:45:48 -06:00
FusionPBX df755fae5c
Hide columns for smaller screens, and truncate the email_body. 2022-08-16 18:43:03 -06:00
Alex a517e185d5
Add status dropdown to search (#6455)
* Update app_languages.php

* Update email_queue.php

* Update app_languages.php
2022-08-16 15:58:05 -06:00
FusionPBX 5fe1f5c601
Add an IPv4 address missing cidr notation add /32 by default. 2022-08-16 14:16:39 -06:00
FusionPBX 3519353008
Hide a few columns for smaller screens. 2022-08-16 11:51:13 -06:00
Alex d9ed7a343f
Update devices.php (#6454)
* Update devices.php

* Update event_guard_logs.php
2022-08-16 11:27:17 -06:00
Alex 93c90c8969
Add a filter dropdown (#6453)
* Update event_guard_logs.php
2022-08-16 10:56:30 -06:00
agree f94bad1730
[xml_cdr] more caller id handling (#6452) 2022-08-16 00:00:43 -06:00
FusionPBX 8a3af98f6b
Multiple changes including reconnect to event socket if needed.
- IN function block replace array with event to prevent a naming conflict.
- Reconnect to event socket if the connection is lost.
- Use condition if is_array around each foreach.
- Unset the database connection
- Use event socket variables and close the session before the loop
2022-08-15 14:54:49 -06:00
FusionPBX 24b9012d8c
Update email_send.php 2022-08-11 13:43:37 -06:00
FusionPBX 68965ccf0a
Update ivr.conf.lua 2022-08-08 20:08:51 -06:00
FusionPBX 25d59d69fe
On change destination type show and hide specific fields 2022-08-08 13:25:56 -06:00
FusionPBX b12c474c19
When using the add button send the destination type in the URL. 2022-08-08 12:56:17 -06:00
FusionPBX 1466659fe6
Change domains ACL to providers for new installs. 2022-08-06 17:13:38 -06:00
FusionPBX da768d984b
If the call goes to voicemail it is a missed call. 2022-08-05 15:05:49 -06:00
FusionPBX 84a3ab143d
Needs to use double equals for the condition. 2022-08-05 14:35:54 -06:00
FusionPBX 6f2a2a76a1
Answered calls to exclude missed calls.
Determining missed_call is done in the import so the extra originating_leg_uuid is not needed.
2022-08-05 13:46:26 -06:00
FusionPBX e0b37ae834
When call goes to voicemail mark it as missed.
Add additional labels and change isset answer_stamp to use billsec greater than zero.
2022-08-05 13:19:35 -06:00
FusionPBX 0a45b7acf1
Don't show these by default.
Permissions are there to show these however its is expected that these permissions will be assigned to a group rarely.
Considering removing the permissions and not import the records.
2022-08-05 11:30:57 -06:00
FusionPBX 440584898b
Missed calls are marked when the call is imported.
Missed calls are marked when the call is imported and in some cases near the end of the call. This simplifies the missed_call in reports and call detail records.
2022-08-05 11:18:40 -06:00
FusionPBX d5e7552fb4
Hide not answered calls Ring Group Destinations that were answered by someone else.
Improve the form
2022-08-05 11:15:09 -06:00
FusionPBX 58d7e402d9
Hide ring group legs by default that were not answered.
Cleans up the Call Detail Records list.
2022-08-05 10:43:40 -06:00
FusionPBX 301dc1501c
Eliminate faxes from missed calls and ring group destinations that didn't answer the call. 2022-08-04 19:09:23 -06:00
FusionPBX 74d034d7a9
Work on missed_call field. 2022-08-04 18:37:14 -06:00
FusionPBX 3418859ee9
Update xml_cdr.php 2022-08-04 15:37:12 -06:00
FusionPBX e1449e5cd3
Change default from allow to deny for the LAN rfc198 ACL 2022-08-04 15:02:41 -06:00
FusionPBX 7a6c44267a
Check for missed_call variable use it if it exists 2022-08-04 12:50:29 -06:00
FusionPBX f591c04f22
Update index.lua 2022-08-04 12:43:16 -06:00
Mendel 10b28721f7
Add cid of remote ext to dialplan (#6449) 2022-08-04 11:53:46 -06:00
FusionPBX a4ff0f1007
Format the date and time with the time zone. 2022-08-02 12:59:09 -06:00
FusionPBX 2c5c522186
Add a better way to detect if the iptables chain exists. 2022-08-02 12:34:03 -06:00
FusionPBX 7103adf98f
Set accountcode variable
Set the account code variable so it can be used in the dialplan after the pin_number.lua has run.
2022-08-02 09:00:55 -06:00
FusionPBX c12b03d31a
Disable the toggle. 2022-08-01 23:41:44 -06:00
FusionPBX 7f494e3baf
Add the user_agent field. 2022-08-01 23:38:03 -06:00
FusionPBX 79b5f70cdf
Add the user_agent field. 2022-08-01 23:37:18 -06:00
FusionPBX d384547adb
Add the user_agent field. 2022-08-01 23:36:47 -06:00
FusionPBX 0680a4d252
Add label and description for user_agent. 2022-08-01 23:36:05 -06:00
FusionPBX 054a33cf3e
Add the user_agent field. 2022-08-01 23:35:31 -06:00
FusionPBX 73ded9bf60
Remove cache from switch.blocked.
Since the IP address is blocked don't need to cache it.
2022-08-01 19:37:59 -06:00
FusionPBX 854f2bf1f0
Add missing _alternate 2022-08-01 18:20:38 -06:00
Luis Daniel Lucio Quiroz 976d983174
Add period and dash to Click 2 Call (#6425)
Source can be not only numbers but letters, dots, and -. They are still valid:

name.lastname,  or name-lastname.
2022-08-01 08:45:21 -06:00
FusionPBX c20e83e64c
Add additional pre-defined variables to the disa dialplan. 2022-07-30 16:41:04 -06:00
FusionPBX 5997aae095
Fix the search and add a link to arin.net 2022-07-29 15:59:21 -06:00
FusionPBX f60d6e7557
Add proxy to the gateway list. 2022-07-29 10:28:22 -06:00
FusionPBX 95c358f8e4
Add database log for new blocked address. 2022-07-28 11:15:48 -06:00
FusionPBX 7897bd16aa
Update event_guard_logs.php 2022-07-28 09:34:16 -06:00
FusionPBX 02522b11f3
Create event_guard.php 2022-07-28 09:33:09 -06:00
FusionPBX 2b457c9dfb
Create root.php 2022-07-28 09:31:04 -06:00
FusionPBX 8779206311
Create event_guard_logs.php 2022-07-28 09:30:41 -06:00
FusionPBX 9c8840ed6a
Create event_guard_log_edit.php 2022-07-28 09:30:00 -06:00
FusionPBX 5dd4459acd
Create app_menu.php 2022-07-28 09:29:28 -06:00
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
M. Skenderian b3fc6e6857
removed duplicate code (#6410)
Co-authored-by: mskenderian <michael@wireprosolutions.com>
2022-06-16 10:04:28 -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
FusionPBX d3af1acd73
Simplify the registrations count method by using the get method. 2022-06-15 10:52:11 -06:00
FusionPBX 611a13c32c
Change the retry_limit to 5. 2022-06-14 23:31:32 -06:00
FusionPBX f214547359
First attempt use the fax variables from settings
Also set fax_retry_attempts, and fax_retry_limit.
2022-06-14 23:09:54 -06:00
FusionPBX 44f07fa5db
Add missing single quotes 2022-06-14 20:42:17 -06:00
agree 4634e1b579
[Ring Groups] Handle 404 (#6407) 2022-06-13 16:08:57 -06:00
agree dfeda45c68
email.lua fix execution from api (#6408) 2022-06-13 16:06:21 -06:00
FusionPBX af6b00bf66
Update page.lua with more options check_destination_status, auto answer and alert info. 2022-06-11 00:58:00 -06:00
FusionPBX d0d0346b42
Use fax_extension_copy permission for the copy button. 2022-06-09 19:23:28 -06:00
FusionPBX 7644c8d4fa
Change ulfile to file to be similar to the voicemail greetings. 2022-06-09 17:42:04 -06:00
FusionPBX 7f6b1472e6
Add conference recording to CDR page.
Tested and works with regular dialplan conference.
2022-06-09 11:04:07 -06:00
FusionPBX d16dd2ae1e
Enable ability to use sip_to_user. (#6406)
* Enable ability to use sip_to_user.

* Set the sip_to_user variable.

* Update index.lua
2022-06-07 16:00:28 -06:00
FusionPBX cf1aad072c
Found a more efficient way to force lower case on boolean values.
Helpful for supporting multiple databases. Make the import safer for users where the value is expected in lower case. Best solution for PostgreSQL is boolean data type but that would still not be a good solution for alternative databases.
2022-06-06 18:11:13 -06:00
FusionPBX e0866eba32
Force the value to lower case for enabled. 2022-06-06 18:04:06 -06:00
FusionPBX 7205c76fba
Force the value to lower case for voicemail_local_after_email, voicemail_tutorial, and voicemail_enabled. 2022-06-06 17:52:34 -06:00
FusionPBX d3eeaab1b4
Set the date using now() instead of the php date function. 2022-06-02 15:11:13 -06:00
FusionPBX 93c7714148
Add new permission voicemail_file (#6403)
* Add new permission voicemail_file

* Update app_config.php

* Update voicemail_edit.php
2022-06-01 10:48:33 -06:00
Dan 4dd80fb779
Add Default Settings for Grandstream Templates, and custom transcription provider for Email Queues (#6401) 2022-05-31 23:05:23 -06:00
FusionPBX 83eaee56a2
number_alias permission removed from superadmin group.
Not providing permissions to this by default to discourage using it. However anyone can assign the permission to any groups of their choice.
2022-05-31 09:42:26 -06:00
Luis Daniel Lucio Quiroz 643f014181
Fix Missed Call email when Follow Me is On (#6323)
When a user has the Email Alerts for Missed Calls set, it works
As soon as there is a Follow Me configured, the email stops arriving

This patch restores the desired behaviour
2022-05-30 20:07:08 -06:00
FusionPBX 54a5fb5a2b
Access Controls protect new users from hurting themselves. 2022-05-28 17:19:37 -06:00
FusionPBX a0718f367a
Create an additional dialplan to set call_direction outbound. 2022-05-28 10:02:58 -06:00
FusionPBX 147956f655
Add bg_system to run the command as non blocking. 2022-05-27 16:58:32 -06:00
FusionPBX 5a89fa5081
Remove code from checks to see if the extension is on the phone.
Having the PBX check if the caller is already on the phone has not worked well at least not the approach that is getting removed in this commit. It is not the right way to solve the issue. Its better for the phone endpoint  to block the intercom or auto answer when it is already on a call.

One way to do this that worked in testing was to disable call waiting. Then the call is rejected and not allowed to interrupt. the call that already exists. Expect there are also other ways to instruct the phone not to interrupt active calls when it receives a SIP message to auto answer.
2022-05-27 14:45:41 -06:00
markjcrane 10748a95c8 Add device_line_label and device_line_display_name permissions. 2022-05-26 21:37:19 -06:00
FusionPBX c87ab41fff
Add FAX Queue with retry_interval (#6398)
* Update app_config.php

* Use the new retry interval.

* Add the new retry interval.
2022-05-26 14:33:19 -06:00
FusionPBX 5d2b919fa9
Correct invalid UUID 2022-05-25 12:38:29 -06:00
FusionPBX 5d41fd01df
Need to allow ability to clear the value. 2022-05-25 12:21:02 -06:00
FusionPBX 3093a0a8cb
Fix a missing semi-colon. 2022-05-25 08:43:59 -06:00
Mendel 1be00e330e
updated yealink cordless files (#6396) 2022-05-24 23:32:56 -06:00
FusionPBX d897fad100
Replace io.popen with api:executeString 2022-05-24 16:55:25 -06:00
FusionPBX 56f8d4ba44
Replace system with api:executeString 2022-05-24 16:50:45 -06:00
FusionPBX d5775257b4
Use system instead of io.open 2022-05-24 16:38:04 -06:00
FusionPBX 46447d83c3
Remove the transcription as this can blocking.
Transcription still available through email queue this way it offloads the work off of FreeSWITCH.
2022-05-24 16:32:40 -06:00
FusionPBX 2326d79113
This function is not being used. 2022-05-24 16:12:29 -06:00
FusionPBX fdbaefa2cf
Create dnd.php 2022-05-23 10:03:03 -06:00
FusionPBX 7d82b82089
Send presence events for DND 2022-05-20 17:51:52 -06:00
FusionPBX 53e8ab5f16
Unset the event socket handles. 2022-05-20 17:49:42 -06:00
FusionPBX ed1d1afd07
Update presence.php 2022-05-20 17:15:57 -06:00
FusionPBX 27f0d9d5b4
Add a new presence class. 2022-05-20 17:14:50 -06:00
FusionPBX 37e3837323
Fix a spelling mistake change Formward to Forward. 2022-05-20 09:33:50 -06:00
FusionPBX c4556ebba4
Add cc-instance-id to callcenter.conf xml. 2022-05-19 21:55:04 -06:00
FusionPBX 1434d39cff
Change condition where the email address was not set.
- When the email address was not set then post process did not happen and the status was not updated to failed.
- Updated debug and file parameters for debugging.
2022-05-19 16:00:58 -06:00
FusionPBX 10de04f929
Send presence when changing the status of the call flow. 2022-05-19 13:28:54 -06:00
FusionPBX a2477f8dd5
Add domain_uuid the email object. 2022-05-19 10:44:54 -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
agree d097d5b64c
[call center] (#6390)
call_center_announce_sound check for permission
2022-05-18 18:06:22 -06:00
FusionPBX f13d538277
Remove a redundant ignore_early_media. 2022-05-17 13:47:53 -06:00
FusionPBX c1f9134654
Remove ignore_early_media because its added below. 2022-05-17 13:42:44 -06:00
FusionPBX bc9f33cde1
Remove ignore_early_media because its added below. 2022-05-17 12:46:32 -06:00
agree 55de8844bf
[fax] use get_accountcode function to get the accountcode (#6387) 2022-05-16 09:35:58 -06:00
FusionPBX 5448ac02a9
Add yealink_call_info_display_method to default settings with a default value of 1 - Number+Name 2022-05-11 13:05:01 -06:00
FusionPBX 38541f7a2d
Add domain_uuid to the email object and remove deprecated code. 2022-05-10 20:21:20 -06:00
FusionPBX d5db02be42
Add sip_h_Alert-Info to cc_export_vars. 2022-05-09 21:53:27 -06:00
FusionPBX 312873fb39
Add sip_h_Alert-Info to cc_export_vars 2022-05-09 21:52:30 -06:00
Jesse Gruver 56b53b5f2c
Remove the country code if not e.164 (#6367) 2022-05-09 16:40:44 -06:00
FusionPBX dd1b315101
Add valet park and line feeds. 2022-05-09 15:32:10 -06:00
FusionPBX ca16c0b622
Fixed hidden calls after picking up a parked call.
Also improved code indentation.
2022-05-07 12:46:14 -06:00
FusionPBX f2aba2251f
Presence is not correctly updated when caller rings an IVR
When a user calls an IVR, the presence is updated and sent to subscribers to notify they are on the phone, however it is never terminated so it appears they are busy long after the call ended. Removing the dialplan setting for the presence_id fixes this issue so the caller no longer appears on the phone when the IVR call ends.
2022-05-07 09:18:42 -06:00
FusionPBX a4c0e93cbe
Only one row allowed so added limit 1. 2022-05-07 09:02:58 -06:00
FusionPBX 4d18f598b2
Use a css class for the sub category labels. 2022-05-06 14:14:29 -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
FusionPBX 9330414120
Use the number alias permission in the extension summary. 2022-05-05 10:59:25 -06:00
FusionPBX 9e77266299
Re-add permission check for xml_cdr_lose_race and xml_cdr_enterprise_leg. 2022-05-05 10:55:52 -06:00
emak 2050d98e3e
Update XML CDR Extension Summary Queries #5979 (#6365)
* Change labels to reflect new CC missed field

* Update extension summary queries

* Hide number alias field
2022-05-05 10:43:44 -06:00
FusionPBX 4e2fe618e7
Fix the dialplan call center greeting and queue_extension. 2022-05-05 10:16:33 -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
Mendel ea337e42ae
Update polycom configs each separate (#6363)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone

* Added all the Polycom Templates separately

* Update app_config.php

* Update app_config.php

* Delete resources/templates/provision/polycom/IP321 directory

* Revert "Delete resources/templates/provision/polycom/IP321 directory"

This reverts commit 6f532a37bb.

* Delete resources/templates/provision/polycom directory

* Working on making the file Lowercase

* Still working on making it lowercase

* Update the Description of Polycom Firmwares

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Updated the name of the Sound Station Duo to just Duo

* Update app_config.php
2022-05-04 15:19:53 -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
FusionPBX b8a71eb59b
Remove the reset on the fax queue search. 2022-05-03 17:46:20 -06:00
FusionPBX 907c2d332c
Remove the reset on the email queue search. Don't think its needed for a single item html form. 2022-05-03 17:35:01 -06:00
FusionPBX d9c3779c47
Update call_center_queue_edit.php 2022-05-03 16:00:24 -06:00
FusionPBX bfa5492e21
Allow an empty destination so that values can be nulled. 2022-05-03 09:46:26 -06:00
FusionPBX 94bc7d9f99
Add distinctive ring to inbound destinations (#6357)
* Add distinctive ring to inbound destinations

* Update destination_edit.php
2022-05-02 18:11:56 -06:00
FusionPBX be5f1e47f6
Add new permissions destination_hold_music and destination_distinctive_ring. Add new field destination_distinctive_ring to to the destinations table. 2022-05-02 16:54:31 -06:00
FusionPBX ee84131443
Fix the yealink_ring_file to match the correct number. 2022-05-02 16:19:27 -06:00
FusionPBX 791d0046c0
Add an option to the select Greeting: none (#6356)
* Update play_greeting.lua

* Update voicemail_edit.php
2022-05-02 12:09:20 -06:00
FusionPBX eee7786529
Remove some code redundancy. 2022-05-02 08:27:15 -06:00
FusionPBX 16b8d5e172
Update extension_edit.php 2022-05-02 08:17:53 -06:00
Joseph f080a39053
Fix voicemail transcriptions not being pushed (#6339)
* Fix voicemail transcriptions not being pushed

When creating a new extension, under the Voicemail tab, Transcribe is empty. This was causing users to not receive VM transcriptions. Adding the above code will push transcribe = true or false (depending on the value in default settings) after creating a new extension.
2022-05-02 08:06:21 -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 06e0e48476
Calculate the time zone for the device list. 2022-04-29 15:45:02 -06:00
FusionPBX ba70234a96
Detect if FAX job still in progress.
Exit the code if the FAX job is still running.
2022-04-27 23:34:26 -06:00
FusionPBX 3fa9f29c86
Add origination_uuid to the fax_queue table. 2022-04-27 23:27:12 -06:00
FusionPBX fb08a0ab61
Change fax_email_address from required to not required. 2022-04-27 23:17:00 -06:00
FusionPBX d4360ce7fb
Default voicemail smtp_from and smtp_from_name to enabled false. 2022-04-27 22:04:49 -06:00
FusionPBX 942212b549
Default fax smtp_from and smtp_from_name to enabled false. 2022-04-27 22:03:42 -06:00
AlexC a0ff692f30
Move Fax/Email Queue under Status in the Menu (#6353)
* Update app_menu.php

* Update app_menu.php
2022-04-26 13:43:08 -06:00
FusionPBX 0d69aedcbd
Add a description to the http_auth_type default setting. 2022-04-26 13:30:08 -06:00
FusionPBX a9cda2b364
Add a few more device profile permissions to users in the admin group. 2022-04-25 15:30:24 -06:00
FusionPBX f57662d162
Allow users in the admin group to see the device profiles. 2022-04-25 15:23:48 -06:00
FusionPBX 399ae77d28
Assign device_key_line permission to the admin group by default. 2022-04-25 15:15:09 -06:00
FusionPBX 1ffc8408bd
Adjust fax mail_to_address.
For email to fax use the sender email address. Otherwise use the notify email addresses listed on the fax server edit page.
2022-04-25 13:57:58 -06:00
FusionPBX d61939e38a
Only send notify if email address is not null (#6351)
* Only send notify if email address is not null

* Update fax_queue.php
2022-04-25 13:54:52 -06:00
FusionPBX 6138c2e138
Prevent running same row from email_queue more than once per row. 2022-04-25 13:16:39 -06:00
AlexC d3fff20f90
Update app_languages.php (#6350) 2022-04-25 13:04:39 -06:00
AlexC ecd99d90bd
Add notify date column to Fax Queue (#6349)
* Add notify date column to Fax Queue

* Update app_languages.php

* Update fax_queue_edit.php

* Update app_languages.php
2022-04-25 10:25:04 -06:00
FusionPBX c2e147e099
Format the fax retry date and time with the time zone. 2022-04-25 09:57:10 -06:00
FusionPBX 0536f6c1b5
Fix formatting for the date and time in seperate columns. 2022-04-25 09:47:42 -06:00
FusionPBX f9e63c2a28
Change prefix from start_ changed to fax_. 2022-04-24 02:00:16 -06:00
FusionPBX c735e7d439
Order items in the queue in descending order and add the time zone. 2022-04-24 01:55:47 -06:00
FusionPBX 5263bfbcd5
Order items in the queue in descending order and add the time zone. 2022-04-24 01:49:15 -06:00
FusionPBX 5967f8ac1a
Prevent running the sub process more than once. 2022-04-24 01:24:18 -06:00
FusionPBX e5a49f4d43
Update email_queue.php 2022-04-24 00:19:57 -06:00
FusionPBX c48e61124d
Update email_queue.php 2022-04-24 00:19:38 -06:00
FusionPBX f3f27ba6a4
Update fax_queue.php 2022-04-24 00:19:07 -06:00
FusionPBX 9c6c5fead0
Update fax_queue.php 2022-04-24 00:18:36 -06:00
FusionPBX 37a0718d44
Send final tif and pdf to the sent box
Prevents having to save them to temp and then to sent box.
2022-04-23 19:37:49 -06:00
FusionPBX 742a648cb0
Make the paths more dynamic 2022-04-23 18:23:11 -06:00
FusionPBX 7a4b79a54e
Make the path more dynamic for the email queue service 2022-04-23 18:21:37 -06:00
FusionPBX 7e5103f831
Make the path more dynamic for the fax queue service 2022-04-23 18:17:45 -06:00
FusionPBX f3047f3f7f
Make the paths more dynamic 2022-04-23 18:16:19 -06:00
FusionPBX 2253f2c17c
Use a better way to exec which command 2022-04-23 17:59:56 -06:00
FusionPBX 5fd2ca9105
Use which command to find the path to the commands.
This fixes the FAX send notification PDF attachment.
2022-04-23 17:46:32 -06:00
FusionPBX 0678c36b58
Update the fax status
Fax status may have reached retry limit and if so need to update the status to failed.
2022-04-22 19:47:09 -06:00
FusionPBX d4a2777f3c
Change path from job singular to jobs. 2022-04-22 13:11:43 -06:00
markjcrane 133c51bfcf Add the email_queue. 2022-04-22 13:00:38 -06:00
FusionPBX f73f9b706f
Move Session code to a better location in the file. 2022-04-21 22:15:45 -06:00
FusionPBX 9ab10fd1d4
Used to prevent a race condition for feature key Sync 2022-04-21 22:02:42 -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 b5c70ce8ca
Add confirm-queued and confirm-sent 2022-04-21 17:03:29 -06:00
FusionPBX e07c37795f
Update the FAX message 2022-04-21 17:02:39 -06:00
FusionPBX 5f462693dd
Unset values for array and parameters. 2022-04-21 15:56:07 -06:00
FusionPBX 596ed957bf
Add more debug info. 2022-04-21 15:36:39 -06:00
FusionPBX 4347c2ab5b
Do not require accountcode for fax. 2022-04-21 14:57:20 -06:00
FusionPBX b5c2cf5d16
Remove debug and a commented out include. 2022-04-21 13:33:00 -06:00
FusionPBX 534094de5e
Change the fax queue interval to 30 seconds. 2022-04-21 11:29:22 -06:00
FusionPBX 8ab8426fc8
Create debian.service 2022-04-21 11:21:58 -06:00
FusionPBX 1922d0b7be
FAX Queue option to run as a service. 2022-04-21 11:21:32 -06:00
FusionPBX 652f128f81
Adjust fax_success if not equal to 1 then set to trying. 2022-04-20 23:44:12 -06:00
FusionPBX 54623d8d3b
Remove missing file it's causing a issue. 2022-04-20 23:23:30 -06:00
FusionPBX 48056196bc
Add fax destination and update the caller ID. 2022-04-20 23:05:03 -06:00
FusionPBX e32c9d1870
If fax file is missing set status to missing file. 2022-04-20 22:34:42 -06:00
FusionPBX 0c0f07d994
Update hangup_tx.lua 2022-04-20 21:58:01 -06:00
FusionPBX e73af240f9
Add a missing single quote. 2022-04-20 21:27:00 -06:00
FusionPBX fb06a0a45f
Update fax_files.php
Minor changes to the select statement.
2022-04-20 20:44:01 -06:00
FusionPBX 8c2e2b1f69
Add fax_queue.log and update fax_notify_sent and fax_notify_date. 2022-04-20 18:21:05 -06:00
FusionPBX 98e1ab49f5
Select rows from where fax_status = sent and fax_notify_date is null. 2022-04-20 18:19:19 -06:00
FusionPBX 9e6c26d194
Add fax notify sent and date 2022-04-20 18:16:46 -06:00
Antonio Fernandez 8a595b2b31
Updated the Outbound Proxy (#6345)
Updated the Outbound Proxy to specify the Primary or Secondary
2022-04-19 20:17:34 -06:00
Mendel c3e361175e
Update app_config.php (#6346)
Added t23g firmware
2022-04-19 20:16:47 -06:00
FusionPBX 7511109c25
Fix a spelling mistake. 2022-04-19 16:41:50 -06:00
FusionPBX 1fc99311a5
Update fax_emails.php
Added spaces to the code to be more consistent.
2022-04-17 14:21:54 -06:00
FusionPBX e80a04f1a5
Update email_logs.php 2022-04-17 14:16:29 -06:00
FusionPBX 652d135452
Setting fax_send_mode not used so removing it. 2022-04-16 11:20:28 -06:00
FusionPBX 2f32ebd357
Use setting fax_queue enabled boolean. 2022-04-16 11:17:59 -06:00
FusionPBX 633b69eb6d
Add fax_queue enabled boolean option. 2022-04-16 10:56:54 -06:00
FusionPBX 12c1f5994e
Uncomment line for send method direct. 2022-04-15 21:36:07 -06:00
FusionPBX c9f426b65f
Use the new email class. 2022-04-15 18:01:34 -06:00
ggflow 9bd38e6cc5
Fix typo in app config (#6344) 2022-04-13 08:03:36 -06:00
ggflow 0c1ed8b920
Add DND Variable to Yealink settings (#6342) 2022-04-12 22:26:46 -06:00
FusionPBX a81f1ece8f
Add fail_on_single_reject for better support of multiple registrations. 2022-04-12 09:28:45 -06:00
FusionPBX a4c4b71232
Give admin the fax_queue_view permission by default. 2022-04-11 23:52:17 -06:00