Commit Graph
100 Commits
Author SHA1 Message Date
Ahron Greenberg (agree) e050827598 [dashboard] Fix memory exhaustion on system counts (#6844)
Getting all rows from the database caused PHP to exhaust the memory on systems with a huge amount of VM messages. This was fixed by querying from the database just the total counts.
2023-12-07 18:40:23 -07:00
agree 90946bbc07 [security] xml validate ringback fields (#6819) 2023-11-12 19:09:34 -07:00
agree 37d7c43e17 [dialplan] Bind digit bleg without a lua script (#6817) 2023-10-26 13:27:31 -06:00
agree a785292811 [eavesdrop] Fix eavesdropping wrong uuid (#6815)
If the extension is in a call and also receives calls at the same time, the query will return more than one uuid causing to eavesdrop the wrong channel.
2023-10-24 17:07:55 -06:00
agree ca36d10121 [security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
agree 4c29c3c4cf [security] import pages xss prevention (#6553) 2023-02-14 15:34:53 -07:00
agree 095e1f6016 [directory.lua] Add domain_uuid to export_vars (#6493) 2022-11-15 22:22:11 -07:00
agree d9e43cda4c set dbh if there isn't a global dbh set (#6489) 2022-11-03 10:49:22 -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
agree fa270a4ee8 [ring groups] remove unused code (#6456) 2022-08-22 11:11:59 -06:00
agree f94bad1730 [xml_cdr] more caller id handling (#6452) 2022-08-16 00:00:43 -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
agree f89ecf5b36 [dialplan] NANP match + only if followed by a 1 (#6436) 2022-07-12 17:32:49 -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
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
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
agree d097d5b64c [call center] (#6390)
call_center_announce_sound check for permission
2022-05-18 18:06:22 -06:00
agree 55de8844bf [fax] use get_accountcode function to get the accountcode (#6387) 2022-05-16 09:35:58 -06:00
agree 90f33bd64d [domains] add exit after redirect (#6366) 2022-05-06 17:08:52 -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
agreeandFusionPBX ea8a8cb3ce [user_record] move back to record_session (#6230)
* [user_record] move back to session_record

use RECORD_ANSWER_REQ variable to start recording after answer

* Use record_session but leave api_on_answer as an disabled option.

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-03-22 22:45:10 -06:00
agree 81666dd882 [login] fix url redirection (#6325)
* prevent open redirection attack
2022-03-10 20:10:16 -07:00
agree df1bed913c [extension settings] fix cache not deleted on toggle (#6324) 2022-03-09 16:14:42 -07:00
agree 758276d372 [Yealink] T54W Add DND code variables (#6321) 2022-03-07 14:25:04 -07:00
agree 81bf5f496c [email validation] improve validation to conform the RFC (#6232)
The current validation regex didn't conform with RFC 5322 PHP `filter_var` does.
More information can be found https://en.wikipedia.org/wiki/Email_address#Local_part
2022-02-19 11:38:00 -07:00
agree a62c668970 [yealink] fix g722 enable (#6310) 2022-02-16 07:59:37 -07:00
agree 7a9603dbb8 Add scroll to dashboard when overflowed (#6289) 2022-02-08 20:33:44 -07:00
agree d8bd345d3a [fax] fix new templates not being enabled (#6290) 2022-02-07 13:15:13 -07:00
agree 0404f14c58 [call block] Fix ring group action (#6288) 2022-02-06 23:13:10 -07:00
agree ccf367b189 [outbound route] Improve north America regex (#6283)
don't match if first digit of NPA and NXX are a 1
2022-02-02 12:21:35 -07:00
agree 9d69d91630 [destinations] fix missing dialplan extension name (#6237) 2022-01-10 22:25:42 -07:00
agree e3e41624e2 [send_mail] return freeswitch.email Boolean value (#6231) 2022-01-09 08:53:40 -07:00
agree 37d3baa773 [Yealink] add ringing_timeout variable (#6227) 2022-01-06 17:11:34 -07:00
agree d97308e0ad [provision] don't show file path on not found (#6229) 2022-01-06 11:47:17 -07:00
agree c8a8ea9bf4 [agent status] Add *22 followed by agent ID (#6184)
* [agent status] Add *22 followed by agent ID

* change break never to on-true
2021-12-14 08:22:24 -07:00
agree ee29867e2b grandstream ht801 fix fax mode (#6177) 2021-12-07 12:14:06 -07:00
agree 7d6a45eeb7 Update ring_groups.php (#6175) 2021-12-06 23:03:58 -07:00
agree 5e760a363f [feature event] Don't update extension dial string (#6166)
* [feature event] Don't update extension dial string

* remove comma

* [feature_event] dnd don't update follow me and forward all

* cleaned up some code
2021-12-02 17:45:01 -07:00
agree c94a7f5081 [xml handler] Fix error channel (#6167)
using !USER_BUSY gives an error `Could not locate channel type !USER_BUSY`
2021-12-02 17:42:23 -07:00
agree dbd1fc27fe [device profiles] Only allow editing device settings when having permission (#5980)
* [device profiles] Only allow editing device settings when having permission

* Update device_profile_edit.php
2021-11-13 11:29:21 -07:00
agree b02cb75620 [voicemail] Add option whether to delete or keep message after forwarding (#5985)
* [voicemail] Add option whether to delete or save message after forwarding

* Fix recording playback

phrase doesn't exist
2021-11-09 13:57:16 -07:00
agree cab67fbb9e [voicemail] remove not existing phrase (#6075) 2021-10-28 09:44:59 -06:00
agree 113ade4fc5 [follow me] Persist follow me enabled when enabling DND or call forward (#6076)
If follow-me is enabled and then turning on DND or call-forward, follow-me should be enabled when disabling the DND or the call-forward.
2021-10-28 09:44:27 -06:00
agree 1fb6878734 [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route (#5974)
* [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route

* Update and rename 530_click_to_call_auto_answer.xml to 25_click_to_call_auto_answer.xml
2021-10-14 00:44:10 -06:00
agree 08bf6ad86f [devices] Use the default settings only when adding a device (#6061)
When a device is being updated then we want to persist the old values
2021-10-14 00:26:54 -06:00
agree bbd8bc8d55 [Devices] fix wrong values being saved to the database (#6060) 2021-10-05 16:46:02 -06:00
agree 7fd5f53384 Voicemail use tail calls (#5984)
reference https://www.lua.org/pil/6.3.html
2021-09-18 10:36:37 -06:00
agree f17a4e2e8e [follow me] *21 don't null dial string (#6051)
* [follow me] *21 don't null dial string
2021-09-18 10:28:19 -06:00
agree a2e4fd00bd [Extension] Don't null dial_string when enable/disable follow me or dnd (#6000) 2021-08-25 10:28:26 -06:00
agree b0fef5135c ring group lua minor improvement (#5998)
ring_group_distinctive_ring is always an empty string
2021-08-20 18:28:40 -06:00
agree dd26e357e0 Yealink add mwi subscribe variables (#5989) 2021-07-08 00:47:04 -06:00
agree 2fca558eb8 Yealink add call forward code variables (#5990)
* Yealink add call forward code variables

* change all to always

* change all to always
2021-07-08 00:46:03 -06:00
agree 2c400bf6d8 polycom 4.x remove duplicate value and wrong if (#5987) 2021-07-05 14:28:25 -06:00
agree 2d25eeed8d call forward fix regex (#5986) 2021-06-28 22:07:23 -06:00
agree 7d4b423219 [devices] Add line port permission (#5981) 2021-06-25 11:35:27 -06:00
agree 64afa5df36 [extensions] outbound caller id select list remove duplicates (#5977) 2021-06-22 14:46:34 -06:00
agree 68d9e583ef [extensions] Fix mwi_account field not emptying (#5978) 2021-06-22 14:41:54 -06:00
agree 1cc68f757b Yealink add call forwarding dial code variables (#5923) 2021-06-21 16:50:51 -06:00
agree 369324b10e Fix fax search (#5975) 2021-06-18 14:40:54 -06:00
agree 13c5d984f2 [voicemail] Add # option to go to next recording without saving the message (#5973)
This useful for shared voicemail boxes and a voicemail is meant for someone else or a person doesn't want yet to mark the voicemail as saved
2021-06-12 13:42:47 -06:00
agree c45ffc6754 agent+ fix dialplan (#5958) 2021-06-10 01:14:06 -06:00
agree 74b806a1e9 [valet park] Add answer for calls that are still in early media 2021-05-20 11:52:17 -04:00
agree d7d7c6c678 remove reference 2021-05-09 16:07:17 -04:00
agree bb683c101d [Valet Park] fix caller id for outbound call parks 2021-05-05 18:52:43 -04:00
agree 29bbce6888 Fix html error 2021-05-03 23:09:12 -04:00
agree b9c169240d [call center] allow setting agent ring delay params to 0 2021-05-03 18:26:11 -04:00
agree 60220abf33 [RIng Group] Improve presence
the whole point of ring group presence is to monitor the ringing state If the call was bridged or went to timeout destination the presence should be set to terminated
2021-05-03 17:26:49 -04:00
agree b108eff0cc [callcenter] fix cmd
was checking for wrong variable `$queue`
2021-05-03 10:59:17 -04:00
agree 09e5280f3e [voicemail] allow setting greeting_number_id to defualt 2021-04-29 16:43:39 -04:00
agree 2c7f103deb [callcenter] Add to app defaults to update all callcenter dialplans to have @domain 2021-04-23 17:48:43 -04:00
agree 0c605dfd30 Update extension_edit.php 2021-04-11 10:36:45 -04:00
agree c2558237f0 Update extension_settings.php 2021-04-10 23:42:18 -04:00
agree 71c7b40e34 fix extension settings using wrong class
extension setting used the database class instead of the extension_setting class causing not to clear the cache
2021-04-10 23:39:00 -04:00
agree 1ba45e6800 T57W fix static dns
missing newline causes smarty to combine `static.network.static_dns_enable` with the next line and breaking it
2021-04-06 14:38:12 -04:00
agree bf2418f131 fix extension setting edit not clearing cache 2021-03-18 18:09:03 -04:00
agree 829d3f1abe extension settings fix not clearing cache 2021-03-18 18:06:24 -04:00
agree 47d6bac050 Yealink T54w Add missing parameter and variable 2021-03-18 14:10:50 -04:00
agree 05befb3f99 Extension fix cache not clearing
The cache was broken for user users without the extension_user_context permission
2021-03-16 17:36:11 -04:00
agree 229675ae49 Yealink T29g add yealink_dnd_allow variable 2021-03-01 15:01:29 -05:00
agree 15e2dcd0d2 fix unassigned group permission 2021-02-23 21:14:13 -05:00
agree 74c7f236ff Follow me fix call recording 2021-02-11 12:59:34 -05:00
agree ee1ca8a507 fix comparison operator 2021-02-09 14:18:21 -05:00
agree b7eef0e69e Fix negative lookahead 2021-02-03 23:29:10 -05:00
agree 9ad77b64bd Ring group fix missed call alert 2021-02-03 12:18:34 -05:00
agree a39a65d21e ring group release database handle before bridge 2021-02-02 12:58:23 -05:00
agree 1205e89796 dialplan xml fix cache delete when editing global dialplans 2021-01-31 16:08:29 -05:00
agree 50d2d49b9e Fix agent record selected
`$agent_record` is a string not a Boolean
2021-01-30 22:40:26 -05:00
agree 8e7452e8c7 click to cal 2021-01-27 13:49:01 -05:00
agree 08f5c1631c Add missing variable 2021-01-23 23:53:36 -05:00
agree 9c9507e2e3 Fix xml_cdr_details fix application log
When there's a single app in the app log it's saved as an single object in the json not as an array of objects
2021-01-23 23:47:53 -05:00
agree 546ecc79f8 Grandstream add session timer variable 2021-01-19 15:18:03 -05:00
agree 9dfec2ce9a Grandstream HT802 fix loop_current_disconnect} 2021-01-19 12:27:21 -05:00
agree c21961922a Add extension_extension permission 2021-01-18 23:39:49 -05:00
agree 4037331e4b Extension add permission for extension field 2021-01-18 23:38:08 -05:00
agree 7a40461272 Group permission add filter for displaying protected permissions 2021-01-18 17:29:08 -05:00
agree 71a468113a add destination_accountcode permission 2021-01-18 17:12:13 -05:00
agree a1baa68230 Destinations add accountcode permission 2021-01-18 17:08:12 -05:00
agree 5778f71663 Update app_config.php 2021-01-13 13:13:11 -05:00