Commit Graph

417 Commits

Author SHA1 Message Date
FusionPBX a9baddb6e0 prevent domain_uuid nil error
If the domain_uuid is null then use a random uuid to prevent an error and allow domain_uuid is null SQL to still run
2023-05-11 13:23:13 -06:00
frytimo 69bd42af05 remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
FusionPBX 2973ca1e4d [bug] after moving sanitize remove the original one 2023-04-26 11:28:55 -06:00
FusionPBX 4859282306 [bug] Allow specific safe variables
This is a bug fix for recent security changes. These particular variables are essential to the SIP profile: record-template.
2023-04-26 10:20:13 -06:00
FusionPBX 600d5db942 Use enabled for extensions and domain_enabled for domains 2023-04-21 18:07:45 -06:00
FusionPBX 7c10962a5f Add domains automatically to the acl 2023-04-20 23:42:27 -06:00
FusionPBX d906b8e60d Add a missing required bracket 2023-04-20 16:00:23 -06:00
FusionPBX 8dbd85484e xml.santize allow required variables 2023-04-20 14:20:14 -06:00
FusionPBX 30e75b1288 After sanitize allow ${accountcode} 2023-04-17 15:12:43 -06:00
FusionPBX 74f6630df4 Add a comment for the xml library 2023-04-14 22:33:32 -06:00
FusionPBX 61469d8cb9 Add the xml library description 2023-04-14 22:31:13 -06:00
FusionPBX 94288b7e96 Add a description 2023-04-14 22:29:11 -06:00
fusionate 19e58af546 Email Queue Attachments - Add CID and Mime Type fields. 2023-04-12 20:06:41 +00:00
Finn cd0e603521 add a missing import to some of the xml_handling lua scripts. (#6607)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-10 09:30:34 -06:00
FusionPBX b9776041c1 xml.sanitize on ivr_menu_option_digits
The sanitize breaks  /^(\d{4})>$/ as removes the $
2023-04-07 13:42:01 -06:00
FusionPBX 3d62b16259 xml.santize removed from direct_dial_regex
This wasn't needed since direct_dial_regex is built from ivr_menu_option_digits that have a statement ensuring they are numeric.
2023-04-07 13:30:30 -06:00
FusionPBX 005cd93c3e Bug fixed for hold_music for ring groups 2023-04-04 13:53:26 -06:00
FusionPBX 3e0b41ef0f Refactor cidr and number-alias 2023-03-31 18:29:23 -06:00
fusionate 120a25e6db [security] Implement Sanitize in XML Handler Scripts 2023-03-31 21:03:21 +00:00
yois615 d92c32764a [database] Handle NULL literal in params (#6581) 2023-03-30 12:50:47 -06:00
agree ca36d10121 [security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
FusionPBX 7a3c67f6c5 Preserve the fax_result_code and set USER_BUSY 2023-03-28 12:49:46 -06:00
FusionPBX d03fca2970 Always update the fax_status
We want to show fax_status to be updated to show busy if the call was busy.
2023-03-28 12:46:54 -06:00
FusionPBX a1505ea945 Preserve the fax_result_code 2023-03-28 12:23:05 -06:00
FusionPBX 366577891f Do not overwrite the fax_result_code 2023-03-28 12:21:59 -06:00
FusionPBX 2f37571b64 Set fax result text to USER_BUSY 2023-03-28 12:14:57 -06:00
FusionPBX 5c14e0b8cf Update result text to USER_BUSY 2023-03-28 12:11:34 -06:00
fusionate c41121a00f Dialplan - Feature code to control agent Break status. 2023-03-16 20:23:39 +00:00
FusionPBX 9a565cdb14 Update send_email.lua 2023-03-16 11:22:14 -06:00
fusionate 934d653b21 Script - is_local: Add space. 2023-03-03 18:32:23 +00:00
fusionate e2c1157227 Voicemail Email: Use (First Assigned) Extension User Time Zone, where set. 2023-03-01 04:04:15 +00:00
David Jacob ae98ad2d49 Fix page issue of hold music heard (#6555)
Adding "mintwo" flag will tell the system that there has to be a minimum of two people in the conference to keep it open. This fixes the problem of when a user initiates a *8[ext] to someone and the far end hangs up and the initiator does not hang up the line they will hear hold music till they hang up.  Adding this will disconnect the intercom page if either party hangs up the call.
2023-02-16 15:51:01 -07:00
FusionPBX eda9ee41fb Default settings will override channel variables
These two settings when enabled
- message_caller_id_number 
- message_date_time

Override the following channel variables
- vm_say_caller_id_number
- vm_say_date_time
2023-02-14 18:19:48 -07:00
FusionPBX 9ef904fed1 Backwards comptability for these channel variables
- vm_say_caller_id_number
- vm_say_date_time
2023-02-14 17:33:25 -07:00
fusionate 854802ea7f Recordings - Enable Default/Domain/User setting to control filename prefix and password. 2023-02-14 01:27:37 +00:00
fusionate 9438b6979b Dialplan - Wakeup Call: Remove deprecated pin_number reference. 2023-02-14 00:35:30 +00:00
FusionPBX f862d65f4b If fax succes is 1 then fax_status set to sent 2023-02-09 12:28:22 -07: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
FusionPBX 0a6148bbc4 Use the switch database defined in config.conf 2023-02-01 19:51:33 -07:00
fusionate 107b8a48f2 Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
fusionate 8f2e1b0cd1 IVR Menu: Implement Enabled toggle control on Options. 2023-01-23 23:45:57 +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 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
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
FusionPBX 0dbbdd000e Create shell_esc.lua 2023-01-04 19:48:36 -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