Commit Graph
100 Commits
Author SHA1 Message Date
FusionPBX 63ac177ebe Fixes an error 'Strict Standards: Only variables should be passed by reference'
Would see this on some systems when saving call forward
2022-01-24 15:33:34 -07:00
markjcrane 4773ffc6ea Default setting yealink_trust_certificates change value from true,false to 0,1 2022-01-24 15:16:19 -07:00
markjcrane ecc01c7a87 Set a new value and description for yealink_trust_certificates 2022-01-24 14:39:43 -07:00
markjcrane f3dacc581b Use yealink_trust_certificates 0-Disabled, 1-Enabled instead of false and true 2022-01-24 14:35:31 -07:00
FusionPBX 0154e149f6 Make it possible to use domain_name variable in the provision setting. (#6260)
* Make it possible to use domain_name variable in the provision setting.

* Set https://{$domain_name}/app/provision/ as the default value for yealink_provision_url.
2022-01-24 13:28:54 -07:00
FusionPBX 9441a238e7 Fix the email_log_all permission. 2022-01-24 09:14:42 -07:00
FusionPBX 700f4748fb Make transaction_old and transaction_new searchable. (#6258)
* Make transaction_old and transaction_new searchable.

* Update database_transactions.php
2022-01-23 18:47:20 -07:00
FusionPBX d67b9597f1 Update directory XML to handle the contacts information. (#6256)
* Update directory XML to handle the contacts information.

Better conditions to use all contact name variations.
2022-01-22 20:05:35 -07:00
FusionPBX dc85871009 Fix the caller ID information for DISA 2022-01-22 14:07:04 -07:00
FusionPBX b8e87d2d75 Improve yealink phonebook for contact organization (#6254) 2022-01-21 22:47:16 -07:00
FusionPBX 9cce80ff9b Add contact_permissions to default settings. 2022-01-21 19:36:33 -07:00
FusionPBX 98255b14bf Option to show all contacts for the domain. 2022-01-21 19:32:49 -07:00
FusionPBX 63e1f7741e Fix inbound fax using alternative to system command.
This is needed because FreeSWITCH has made it possible to disable the system command.
2022-01-21 11:34:48 -07:00
FusionPBX 6dee085009 Replace gateway_domain with gateway_all. 2022-01-21 02:45:38 -07:00
FusionPBX 34e4ea9ca3 Allow the toggle enabled across all gateways using the Show All button. 2022-01-21 02:07:42 -07:00
FusionPBX 00c23e5390 Use larger icons on the contact edit page. 2022-01-20 02:54:30 -07:00
FusionPBX 8bf4bec589 Add $ as this makes it look for an exact match. 2022-01-19 15:32:19 -07:00
FusionPBX 28c28fab84 Enable *72 in addition to the *72(2-20) digits
Some people were used to *72 original behavior then at some point someone added *72 followed by 2 - 20 digits. However to make everyone happy both of these can co-exist.
2022-01-19 15:27:17 -07:00
FusionPBX d4ab7ed9bf Fix the Caller ID name. 2022-01-19 10:33:42 -07:00
FusionPBX a6ae75bf10 Fix a syntax error in the Polycom 5.x and 6.x templates. (#6247)
* Fix a syntax error
* Update {$mac}.cfg
2022-01-19 10:25:05 -07:00
FusionPBX 825f5f2269 Assign the device_location to the template. 2022-01-19 00:08:26 -07:00
FusionPBX 55ba4cb2a5 Make contact edit more interactive.
CDR Search for phone numbers
Click to Call for phone numbers
Added mailto link for email address
Link for the URL
2022-01-18 21:49:59 -07:00
FusionPBX 7f91e009b1 Add registration count to the the SIP Status -> Profile Registrations button. 2022-01-18 16:45:48 -07:00
FusionPBX ba2f5c379f Only compare sip_from_domain with domain_name if the sip_from_domain exists. 2022-01-18 12:05:32 -07:00
FusionPBX e16cc5e725 Need to keep the caller ID prefix on the caller ID name.
This was needed to keep caller id prefix for the caller ID name so it shows up in the Call Detail Records.
2022-01-18 11:52:26 -07:00
FusionPBX a911086dd6 Add field device location (#6244)
* Add device location

* Add label-device_location

* Add permission and field device_location.

* Update app_languages.php
2022-01-17 23:53:55 -07:00
FusionPBX a9fff8b937 Add Call Flow - Feature Code to the list of destinations. (#6243)
* Add Call Flows - Destination and Feature Code

* Add call flow feature code
2022-01-17 14:44:09 -07:00
FusionPBX d7d99fc9cf Add permissions=false to the speed_dial dialplan. 2022-01-17 10:10:54 -07:00
FusionPBX c084373d0a Add a new permissions variable. 2022-01-17 10:09:12 -07:00
FusionPBX 3779b4a93e No need to require contact type when adding a new contact. 2022-01-15 13:01:12 -07:00
FusionPBX 0a8c6f01fb Increase the number used in the ring group destination delay and timeout. 2022-01-14 10:35:06 -07:00
FusionPBX daf9694c7c Add from_address to the send_mail function for missed call emails. 2022-01-12 12:04:56 -07:00
FusionPBX 9e18d5a13d Add the fax call uuid and add include for send_mail function. 2022-01-10 12:06:24 -07:00
FusionPBX 6815388b73 Get the email from_address using default settings. 2022-01-10 11:02:37 -07:00
FusionPBX a432996055 Add missing part of the array. 2022-01-09 06:41:25 -07:00
FusionPBX 2c096c9e01 Only load default settings that are not in the database. 2022-01-08 16:22:03 -07:00
FusionPBX fa2d817254 Correct the UUID format for these yealink provision settings. 2022-01-08 16:14:36 -07:00
FusionPBX c0946a03ce Only add sofia global settings that are not in the database 2022-01-08 11:46:18 -07:00
FusionPBX ccf59f4a0c Fix the delete for sofia global settings. 2022-01-08 10:53:44 -07:00
FusionPBX 63ab72df13 Change value to be consistent with other cert value both are enabled false. 2022-01-06 18:46:40 -07:00
FusionPBX f52b33caf2 Remove sub table data if it doesn't have more details than domain_uuid an device_uuid. 2022-01-05 19:53:31 -07:00
FusionPBX 9f0b304a4f Deprecate v_device_keys.device_profile_uuid, and v_device_settings.device_profile_uuid.
These fields were moved to their own table device profile keys and device profile settings tables so these fields are no longer used.
2022-01-05 12:13:37 -07:00
FusionPBX 9d01324da7 Use sip_from_display and sip_from_user when the call originated from the VoIP Provider.
When an inbound call is forwarded the call_direction is set to inbound and then updated to outbound. In this situation we use the sip_from_display and sip_from_user to get the original caller ID instead of the updated caller ID after the call was forwarded.
2022-01-04 17:50:51 -07:00
FusionPBX 1f0af43d83 Use the date c function only if the the epoch is_numeric 2022-01-04 16:54:47 -07:00
FusionPBX 3f144a35a4 Add from in a few more places. 2022-01-03 15:31:30 -07:00
FusionPBX b6908307c1 Add yealink_ring text and file 1 to 10 2021-12-30 15:47:37 -07:00
FusionPBX 222ff82c85 Add yealink_ring text and file 1 to 10 2021-12-30 15:46:48 -07:00
FusionPBX 55d73302fb Add yealink_ring text and file 1 to 10 2021-12-30 15:45:41 -07:00
FusionPBX 4c7f6d0a6b Change mkdir to recursive. 2021-12-30 10:19:47 -07:00
FusionPBX 05cae1be62 Remove local so the email_from has a value outside the if statement. 2021-12-29 15:30:15 -07:00
FusionPBX 71147dcb7e Have the email.lua function use the send_mail function. 2021-12-29 15:08:28 -07:00
FusionPBX 2c7cfbe44f Account for bridge variables and more advanced agent contact string.
If using the { and } with the contact string it would add an extra } bracket. The following changes remove the extra bracket and account for more of the bridge variables.
2021-12-29 14:29:17 -07:00
FusionPBX eefd5e78ef Add from send_mail function consistently. (#6216)
* Update send_mail.lua

* send_mail send nil email_from

* Update index.lua

* Update send_email.lua

* Use the lua send_mail function.

* Update index.lua

* Update index.lua

* Replace freeswitch.email with send_email lua function.

* Replace email.lua with the send_mail function.
2021-12-29 11:44:49 -07:00
FusionPBX 975180f248 User dialplan mkdir in the user_record dialplan. 2021-12-27 16:20:30 -07:00
FusionPBX d94390a157 Update user_logs.php 2021-12-24 13:13:41 -07:00
FusionPBX 0e5558522e Update app_defaults.php 2021-12-24 12:44:49 -07:00
FusionPBX 7ef28525c8 Update app_defaults.php 2021-12-24 12:44:19 -07:00
FusionPBX 67be72b452 Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
FusionPBX 5c4da3262e Update app_defaults.php 2021-12-24 12:39:43 -07:00
FusionPBX f6748d8f13 Update app_defaults.php 2021-12-24 12:39:14 -07:00
FusionPBX f56132e1a6 Update app_defaults.php 2021-12-24 12:37:19 -07:00
FusionPBX 9f49748d27 Update app_defaults.php 2021-12-24 12:36:18 -07:00
FusionPBX c3ebda9378 Music on hold need recursive true because its creating the directory and another one with the sample rate. 2021-12-20 15:05:11 -07:00
FusionPBX 5f88e3ca87 Fix call block hold music to play the hold music.
Allows defining hold_music in the dialplan for a custom music on hold.
2021-12-17 15:13:07 -07:00
FusionPBX 0e8eeb0cc3 If the Label is empty use the extension number as the label. 2021-12-17 10:34:12 -07:00
FusionPBX 27540bb42c Fix the display_name 2021-12-15 19:36:05 -07:00
FusionPBX 4852db3870 Minor version update 4.5.32 2021-12-15 16:02:59 -07:00
FusionPBX a80a22f797 Default the device line label to the extension number 2021-12-15 15:06:13 -07:00
FusionPBX 2db571f2fc Correct the name dislplay_label to label. 2021-12-15 15:02:17 -07:00
FusionPBX ab457e5ee9 Default the line_label and line_display_name to auto. 2021-12-15 14:54:24 -07:00
FusionPBX b2c8f976a7 Add line_label and line_display_name default settings. (#6195)
* Update app_config.php

* Add device line_label and line_dislplay_name.
2021-12-15 14:39:34 -07:00
FusionPBX fcf53a0976 Don't show this until its ready for production. 2021-12-15 14:37:02 -07:00
FusionPBX 6eb6732cd3 Update app_defaults.php
Minor change
2021-12-15 13:11:13 -07:00
FusionPBX b7aaf582eb Add device line label. (#6192)
* Add device line label.
2021-12-15 09:40:14 -07:00
FusionPBX 6e8fd019b2 Add group_uuid to the destinations table. 2021-12-14 21:49:29 -07:00
FusionPBX 4b68118d3e Add group select 2021-12-14 16:23:47 -07:00
FusionPBX ad5a57a379 Add label users and group 2021-12-14 16:02:09 -07:00
FusionPBX 35b982e569 Change the comment text 2021-12-13 14:04:02 -07:00
FusionPBX dae6b760e4 Use field_count instead of row_id. 2021-12-13 14:02:54 -07:00
FusionPBX 6231a588ad Update contact_import.php 2021-12-13 11:49:13 -07:00
FusionPBX 5898923e73 Replace counting the array with adding a count inside the array. 2021-12-13 10:00:20 -07:00
FusionPBX 7b088e187e Update contact_import.php 2021-12-11 21:18:18 -07:00
FusionPBX 3b0d6b3d11 Contact import change how the array ordinal ID is determined. 2021-12-11 21:18:07 -07:00
FusionPBX 59187fc64c Removing trailing white spaces and add previous_field_name variable. (#6182) 2021-12-11 10:50:28 -07:00
FusionPBX 75e4fd94ab Use global instead of ${domain_name}. 2021-12-11 10:07:52 -07:00
FusionPBX 15c8f0bd16 Code changes to get the code closer to consistent with the FusionPBX code base.
Still needs the following.
- Only show the current domain
- Use the text from app languages to support multi-lingual.
2021-12-10 20:25:52 -07:00
FusionPBX 3778e449f5 Change back to original fax_files.php as the fax_outbound.php is not ready. 2021-12-10 20:21:03 -07:00
FusionPBX abec5fb5e5 Use the labels array which will always exist. 2021-12-10 18:55:02 -07:00
FusionPBX 8eb0854e73 Rename header_domain_visible back to domain_visible 2021-12-08 17:55:21 -07:00
FusionPBX 68238e9ce4 Account for destination_prefix larger than one character.
Also account for trunk prefix when not using the area code.
2021-12-08 13:49:15 -07:00
FusionPBX 406cc25c70 Add a missing quote. 2021-12-06 17:17:22 -07:00
FusionPBX 38dea5f699 Prevent application duplicates and update the applications array. (#6173)
* Prevent application duplicates and filter the applications before the content.
* Don't allow the new spawn commands as they are as dangerous as system commands.
* Update dialplan_valid false to include bg_spawn, spawn and spawn_stream.
2021-12-05 14:52:36 -07:00
FusionPBX 72c9aa5a61 Conference Center - Change accountcode to account_code. 2021-12-05 00:57:27 -07:00
FusionPBX 02b5aefe30 Rename accountcode to account_code (#6172) 2021-12-04 23:20:45 -07:00
FusionPBX cca7b364e5 Option to request accountcode when setting accountcode_enabled is set to true. (#6171) 2021-12-03 23:28:01 -07:00
FusionPBX 1f2ce0c4f1 Update app_defaults.php 2021-12-03 18:05:00 -07:00
FusionPBX dd106a6871 Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
FusionPBX a5e249db02 Use PHP mkdir function. 2021-12-02 18:14:46 -07:00
FusionPBX a61cfa4020 Remove mkdir (#6169)
* Remove mkdir
* Delete app/scripts/resources/scripts/app/messages/resources directory
* Use curl instead of system curl.
* Update file_cache.lua
2021-12-02 17:30:14 -07:00
FusionPBX 76df5a03dc Make the mkdir recursive 2021-12-02 15:49:04 -07:00