Commit Graph

9466 Commits

Author SHA1 Message Date
FusionPBX c4fc66a384
Add a new permission called dialplan_global. 2021-07-08 00:15:50 -06:00
markjcrane 056ce8368e Show only assigned contacts if missing the contact_domain_view permission 2021-06-30 13:13:37 -06:00
markjcrane d42ddd2219 Correct the syntax 2021-06-30 13:08:01 -06:00
markjcrane 197948aa4a Add new permission contact_domain_view 2021-06-30 13:01:33 -06:00
markjcrane bfba65c494 Add grandstream_accept_sip_from_proxy_only and synchronize the templates 2021-06-30 10:14:10 -06:00
agree 2d25eeed8d
call forward fix regex (#5986) 2021-06-28 22:07:23 -06:00
FusionPBX a8ed7efd11
Fix a conflict with the page dialplan *724 2021-06-28 10:17:23 -06:00
chansizzle 398b52fa23
date and time moved to envelope information (#5982) 2021-06-26 10:40:06 -06:00
FusionPBX 4dc1833b53
Add default settings for yealink_voice_cng, yealink_voice_vad, and yealink_fwd_allow. 2021-06-25 17:34:19 -06:00
agree 7d4b423219
[devices] Add line port permission (#5981) 2021-06-25 11:35:27 -06:00
FusionPBX 3f33e4dfeb
Update continue_on_fail to be more specific.
Change continue_on_fail to fail for specific errors 1,2,3,6,18,21,27,28,31,34,38,41,42,44,58,88,111,403,501,602,607
2021-06-23 11:18:13 -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
FusionPBX 7bbdb8160f
Improve the code comment 2021-06-22 11:10:32 -06:00
FusionPBX 3a063bc2ff
Update call_flow_monitor.lua 2021-06-22 10:02:09 -06:00
demonspork 910549919b
Grandstream headset ring (#5967)
* Add Grandstream Headset/Speaker Ring

Add variable to choose whether the speaker rings with the headset.

* Add Speaker Only option

Add note that speaker only is supported with a value of 2.
2021-06-21 20:17:58 -06:00
FusionPBX 77dade95c8
Use the user_exists function. 2021-06-21 16:47:27 -06:00
chansizzle 87d47fe961
create voicemail envelope information option (#5966)
* create voicemail envelope information option

* Update voicemail.xml
2021-06-21 16:16:47 -06:00
FusionPBX a3a1fc737b
HTTP POST corrects destination delete. 2021-06-19 12:08:57 -06:00
agree 369324b10e
Fix fax search (#5975) 2021-06-18 14:40:54 -06:00
FusionPBX bc2e9ffab5
Allow dialing the call center with the callcenter+ prefix 2021-06-17 15:29:10 -06:00
FusionPBX 6e1c09f5d6
Add new provision setting yealink_screensaver_wait
Options: 1h, 2h, 3h or 6h, the default is 6h
2021-06-17 11:46:54 -06:00
FusionPBX bcd7482e5c
Use elseif instead of a series of if statements. 2021-06-15 13:44:14 -06:00
FusionPBX 6d536ce4d7
Add more to the missed call check
Only count as a missed call if the bridge_uuid has a length.
2021-06-15 12:53:46 -06:00
FusionPBX 3e2ae03295
Count a going to voicemail as a missed call. 2021-06-15 12:20:04 -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
FusionPBX 89de896e75
Changed to maintain compatibility with newer version of ghost script.
Credit to demonspork for this fix.
2021-06-12 13:15:56 -06:00
FusionPBX 4b1ab310b7
Remove the login.php code as it breaks the destinations and not needed for this.
Retract changes from this pull request. Its not constantly refreshing and so this login check is not needed for this feature.
https://github.com/fusionpbx/fusionpbx/pull/5951
2021-06-10 22:51:29 -06:00
agree c45ffc6754
agent+ fix dialplan (#5958) 2021-06-10 01:14:06 -06:00
emaktech f44467a2b5
Remove these as they break HTML emails. (#5969)
* Remove these as they break HTML emails. 
*  Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:10:32 -06:00
emaktech e9207b114e
Update index.lua (#5970)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:58 -06:00
emaktech 0891590141
Remove these as they break HTML emails. (#5971)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:29 -06:00
emaktech f6a5d171ca
Remove these as they break HTML emails. (#5972)
* Remove these as they break HTML emails. 
* Remove quotes from Caller ID name and number. 

Same as following commits:

29c1d52533
c93c20c4e1
2021-06-10 01:09:07 -06:00
FusionPBX b551ef2148
Improve the search to maintain the type. 2021-06-10 00:04:27 -06:00
FusionPBX c4219d7fe0
Add three new permissions fax_subject, fax_message, and fax_footer. 2021-06-09 10:56:10 -06:00
FusionPBX c5209d24e6
Add three new permissions fax_subject, fax_message, and fax_footer 2021-06-09 10:55:23 -06:00
FusionPBX 9c08b84fa2
Consistency is a good thing change spaces to tabs. 2021-06-09 10:20:41 -06:00
FusionPBX b2a7ebb4b0
Add two descriptions. 2021-06-04 10:54:43 -06:00
FusionPBX e400815c75
Add ability to assign destinations to users.
- Remove trim
2021-06-04 10:46:35 -06:00
FusionPBX c1caba1e7c
Add new field user_uuid and permission destination_user_uuid 2021-06-04 10:33:50 -06:00
FusionPBX 3073001e5c
Escape message_media_source to prevent xss. 2021-06-04 10:28:31 -06:00
FusionPBX 123407f3b8
Helps with conference center upgrade. 2021-06-03 21:43:06 -06:00
FusionPBX b21572fb44
Add better support for destination alternate
Get the destination actions from columns in the destination table instead of filtering through the dialplan details. If a destination action app is set or export then use inline = true.
2021-06-03 21:30:31 -06:00
chansizzle c0b8b1df08
Add custom yealink dss keys variable (#5963) 2021-06-03 17:56:06 -06:00
FusionPBX f97b0a7de7
Remove past tense. 2021-06-02 17:13:38 -06:00
FusionPBX d24d5c1676
Add is_array and hide irrelevant -ERR no reply 2021-06-02 17:12:01 -06:00
FusionPBX 661035f8fb
Improve them message for reboot, provision and unregister. 2021-06-02 17:07:48 -06:00
chansizzle 82c0a4af7c
yealink suppress dtmf set to default value (#5964) 2021-06-01 15:03:26 -06:00
mhoogveld bcf2366dbd
Redirect to login page when auto-refreshing a (part of a) page while being logged out (#5951) 2021-05-28 22:45:11 -06:00
emaktech b94fafbfb9
Update app_languages.php (#5928)
* Update app_languages.php

"At max no answer, then the agent's Status will changed to 'On Break'.";

* Update app_languages.php

* Update app_languages.php

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2021-05-28 22:32:01 -06:00
mhoogveld 5373e97b40
Bugfixes (#5949)
* Added missing parameter to send_email()

* Preserving the call-center queue_record_template value when saving

* Removed unused declarations using the commented-out $last_offered_call

* Fix for redirecting to previous page after login, if set

* Removed duplicate bugfix in /resources/login.php
2021-05-28 20:56:25 -06:00
chansizzle db48b2fc69
added firmware for T53 (#5961) 2021-05-28 17:58:39 -06:00
FusionPBX ede0eca9ca
Remove conference_session_view permission as a default. 2021-05-28 13:12:16 -06:00
markjcrane 9bf7b8c8ef Deprecate the meetings table and move the moderator and participant pins to the conference rooms table 2021-05-27 02:30:49 -06:00
markjcrane af3610d986 Add CIDR option to HTTP POST 2021-05-26 20:41:26 -06:00
markjcrane 2750475ab2 Add better logging to XML CDR 2021-05-26 14:29:46 -06:00
FusionPBX 764a46458e
Update xml_cdr_import.php 2021-05-26 10:53:50 -06:00
Andrew Querol b67d55b39c
Replace duplicated v_xml_cdr_import.php with a call to the post method of xml_cdr (#5956)
* Redirect duplicated xml_cdr_import script

This replaces the duplicated code in v_xml_cdr_import.php with xml_cdr_import.php

This also adds a call to `$cdr->post();` in that file to then process the POSTed data from FreeSWITCH
2021-05-26 09:54:08 -06:00
demonspork 7133f35af5
Use epoch times for CDR Imports (#5955)
* Use epoch times for CDR Imports

There has been some discussion of edge cases for CDR Importing time zones/time stamps.

This modification makes the start_stamp, answer_stamp, and end_stamp values use the corresponding _epoch times for import into the v_xml_cdr table to remove any chance of time zone mis-alignment.

* Set Call recording date with Epoch

Use the start_epoch to set the call recording date.
2021-05-26 09:11:09 -06:00
borisk1976 668a073355
Update call_center_agent_edit.php (#5942)
Remove a deprecated line of code.
2021-05-24 15:41:43 -06:00
demonspork 0acb7c4ac3
Yealink Support Searching Remote Phonebook on Dial pad (#5953)
By default, the dial pad only searches the Local phonebook and recent call history for suggestions while dialing. This adds support for searching the Remote Phonebook if configured and enabled. There is also commented out the definition to search an LDAP phonebook if one has been configured elsewhere.
2021-05-24 15:19:39 -06:00
FusionPBX b2e0402478
Get the call_center_queue_uuid from the channel variables. 2021-05-21 13:16:18 -06:00
FusionPBX a7efbe178f
Merge pull request #5952 from greenbea/patch-40
[cdr] Add call stats to cdr details
2021-05-21 09:05:02 -06:00
FusionPBX 227cbcd61f
Merge pull request #5948 from greenbea/patch-30
[valet park] Add answer for calls that are still in early media
2021-05-21 00:31:29 -06:00
agree aef22cd47f remove unnecessary line 2021-05-21 01:02:34 -04:00
agree 0fc6915a7a [cdr] Add call stats to cdr details 2021-05-21 00:55:42 -04:00
FusionPBX c93c20c4e1
Remove quotes from Caller ID name and number. 2021-05-20 12:15:14 -06:00
FusionPBX 29c1d52533
Remove these as they break HTML emails. 2021-05-20 12:00:17 -06:00
agree 74b806a1e9
[valet park] Add answer for calls that are still in early media 2021-05-20 11:52:17 -04:00
FusionPBX 1786b9b340
Improve the indentation. 2021-05-19 13:34:54 -06:00
chansizzle 990218342d
added new SNOM variables 2021-05-18 14:29:11 -06:00
chansizzle 6c47a567c9
improved export page descriptions 2021-05-17 14:37:34 -06:00
chansizzle 72bef9be31
improved export page descriptions 2021-05-17 14:36:27 -06:00
chansizzle 24fe361140
improved export page descriptions 2021-05-17 14:34:53 -06:00
chansizzle 3c9b1dcd53
improved export page descriptions 2021-05-17 14:32:14 -06:00
FusionPBX e52cd61887
Merge pull request #5924 from greenbea/patch-34
[voicemail] allow setting greeting_number_id to default
2021-05-13 23:14:40 -06:00
chansizzle c25037ca13
create destinations export 2021-05-12 15:49:18 -06:00
chansizzle 15e7807e90
create destinations export 2021-05-12 15:48:33 -06:00
chansizzle 5999d79b6a
create destinations export 2021-05-12 15:46:50 -06:00
chansizzle d5de5ec791
create destinations export 2021-05-12 15:45:07 -06:00
FusionPBX f99d9198c8
Add cc_export_vars to the call center dialplan. 2021-05-10 15:50:34 -06:00
FusionPBX 17c7c2c69b
Merge pull request #5934 from chansizzle/patch-469
added grandstream IPV4/6 mode
2021-05-10 13:04:26 -06:00
FusionPBX 21ab598390
Merge pull request #5935 from greenbea/upstream/patch-39
[call_center] export call_center_queue_uuid channel variable to agent legs for cdr import
2021-05-10 12:29:55 -06:00
FusionPBX 10ca93cbc0
Add timestamptz and timezone to the extension summary. 2021-05-10 11:34:47 -06:00
FusionPBX 755f5aaf66
Use the database for formatted date and time. 2021-05-10 11:30:22 -06:00
FusionPBX 49cf078c5c
XML CDR add timestamptz and timezone
- If the server time is set to UTC then the search needs to account for the local time zone.
- Use the database to format the date in the most efficient way.
2021-05-10 11:28:22 -06:00
chansizzle 6eadf09626 Merge branch 'fusionpbx:master' into patch-469 2021-05-10 11:06:34 -06:00
agree d7d7c6c678
remove reference 2021-05-09 16:07:17 -04:00
agree 06062b7fba * export call_center_queue_uuid channel variable to agent legs for cdr import
* add call_center_queue_uuid field to cdr for referenceing the call center queue table (cc_queue is a freeswitch variable for  the queue name)
2021-05-09 15:52:42 -04:00
markjcrane 884720489f Use the cc_queue to get the call_center_queue_uuid 2021-05-07 22:21:08 -06:00
markjcrane 8bd751f1c9 Use the cc_queue to get the call_center_queue_uuid 2021-05-07 22:04:38 -06:00
markjcrane e09a97f013 Add { and } brackets for each $field 2021-05-07 19:08:11 -06:00
markjcrane a7b014df6a Set session variables conference_room_uuid and conference_room_name 2021-05-07 18:19:40 -06:00
chansizzle a8b9694181
added grandstream IPV4/6 mode 2021-05-07 17:08:29 -06:00
markjcrane 9cfd41d222 Update CDR imports fix syntax 2021-05-07 16:06:03 -06:00
markjcrane cfd70fb18f Use the queue uuid for the cc_queue 2021-05-06 23:23:07 -06:00
markjcrane 13b6be49c8 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2021-05-06 21:52:21 -06:00
FusionPBX 9c3692ccfc
Add conference_uuid, and conference_extension variables. 2021-05-06 21:39:25 -06:00
markjcrane 3ce6855116 Add hold_music support to ring groups 2021-05-06 15:09:34 -06:00
FusionPBX 375deea90c
Merge pull request #5930 from greenbea/default_accountcodes
Add ability to set default accountcodes
2021-05-05 21:25:45 -06:00
FusionPBX 214fa97f7a
Merge pull request #5929 from greenbea/patch-38
[Valet Park] fix caller id for outbound call parks
2021-05-05 21:17:35 -06:00
markjcrane 014cbd1cd0 Replace data type timestamp with timestamptz 2021-05-05 20:46:53 -06:00
agree cf4f8d1e36 Add ability to set default accountcodes 2021-05-05 21:28:47 -04:00
FusionPBX b9b8bed853
Merge pull request #5926 from greenbea/patch-36
[Ring Group] Improve presence
2021-05-05 17:02:49 -06:00
FusionPBX 00f2263f3d
Merge pull request #5927 from greenbea/patch-37
[call center] allow setting agent ring delay params to 0
2021-05-05 17:01:44 -06:00
agree bb683c101d
[Valet Park] fix caller id for outbound call parks 2021-05-05 18:52:43 -04:00
markjcrane 8d95421fc6 Only add continue_on_fail when using application bridge 2021-05-05 13:33:15 -06: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
markjcrane fd4fa5a19d Change call center queue id from uuid to extension@domain_name 2021-04-29 19:07:58 -06:00
markjcrane 2df03caa5f Adjust queue edit commands such as restart to get the queue_extension 2021-04-29 16:08:56 -06:00
agree 09e5280f3e
[voicemail] allow setting greeting_number_id to defualt 2021-04-29 16:43:39 -04:00
markjcrane 88f730b251 Change simple conference switch name from uuid@domain to extension@domain 2021-04-28 14:23:35 -06:00
FusionPBX 77064157d5
Merge pull request #5756 from greenbea/patch-19
IVR Menu fix menu options with same length as direct dial regex
2021-04-28 11:33:26 -06:00
FusionPBX 849c93ffd9
Merge pull request #5921 from greenbea/patch-32
Add presence support for ring groups
2021-04-27 22:43:15 -06:00
markjcrane a6e59c3522 Call Center Queue name change from uuid@domain to extension@domain 2021-04-27 22:42:09 -06:00
agree 17d35e6501 Ring group presence add missing channel variable
without presence_id set freeswitch won't update any presence changes for
a call
2021-04-27 23:34:36 -04:00
Andrew Querol c5af288caf Revert "Revert "Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring""
This reverts commit e853db42
2021-04-27 12:44:33 -05:00
agree 00526b4334 Add presence support for ring groups 2021-04-27 11:55:19 -04:00
FusionPBX 5f4ef5bf96
Revert "Update the valet park dialplan to allow matching park+5901-5999" 2021-04-27 09:32:04 -06:00
FusionPBX e853db421f
Revert "Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring" 2021-04-27 09:31:13 -06:00
FusionPBX a5afa0afec
Validate the http_method, device_provisioned_ip and move user_agent string to the date. 2021-04-26 21:40:59 -06:00
FusionPBX a445c1d9b0
Use api_on_answer and fix inbound call mask and unmask
- Used api_on_answer so that the recording only starts when the call is answered. Should save diskspace and prevent the need for using action: ringback. 
- Added 'both,self' to the end of the bind_digit_action to fix inbound call mask.
2021-04-26 19:19:05 -06:00
markjcrane f53b284e58 Move nginx app/errors to its own repo 2021-04-24 09:50:20 -06:00
FusionPBX a70191ef91
Merge pull request #5723 from winsock/operator_grouped_extensions
Group extensions by call_group when viewing all groups in Operator Panel
2021-04-23 19:25:47 -06:00
FusionPBX ce2063b1ec
Merge pull request #5611 from winsock/valet-park-update
Update the valet park dialplan to allow matching park+5901-5999
2021-04-23 19:24:51 -06:00
FusionPBX 69a058dab1
Merge pull request #5776 from winsock/device_import_duplicate_mac_check
Check for duplicate MAC addresses in the device import
2021-04-23 19:23:01 -06:00
FusionPBX a4099bcbe2
Merge pull request #5612 from winsock/valet-park-auto
Improve the valet_park_auto dialplan to support auto out and whole lot BLF monitoring
2021-04-23 19:18:49 -06:00
chansizzle 74fb178643
add android apps disable 2021-04-23 17:03:06 -06:00
FusionPBX bf5728d6ef
Merge pull request #5911 from greenbea/patch-31
[callcenter] Add to app defaults to update all callcenter dialplans to have the @domain
2021-04-23 16:34:37 -06:00
agree 2c7f103deb
[callcenter] Add to app defaults to update all callcenter dialplans to have @domain 2021-04-23 17:48:43 -04:00
FusionPBX 55e2316a11
Merge pull request #5894 from greenbea/patch-29
Add max registrations per extension setting
2021-04-23 10:36:01 -06:00
FusionPBX c7076a9883
Merge pull request #5896 from konradSC/patch-91
MWI for Multi Registrations on Multi Profiles
2021-04-23 08:03:41 -06:00
FusionPBX 047d492a9a
Merge pull request #5910 from greenbea/patch-31
[callcenter] Add ability for callcenter presence
2021-04-22 17:04:44 -06:00
agree 69e892e790 [callcenter] Add ability for callcenter presence
* Freeswitch requires callcenters to have queue_name@domain for presence to work
2021-04-22 18:51:25 -04:00
chansizzle f6bb3228aa
add PA1 firmware filename 2021-04-21 17:47:28 -06:00
FusionPBX 41e76c34f3
Merge pull request #5902 from greenbea/patch-30
Provision save and show user agent information
2021-04-21 11:20:06 -06:00
agree ab302ebfbb Provision save and show user agent information 2021-04-20 16:31:39 -04:00
chansizzle 9a59331e4e
added yealink t46u firmware path var 2021-04-19 17:21:11 -06:00
konradSC ac388f9229
MWI for Multi Registrations on Multi Profiles
Sometimes you can have multiple registrations for the same extension across multiple SIP profiles. This adds the functionality to fire an event for each unique SIP profile. I also added a check to see if we have already send an event for a profile since you don't want multiple events fired one SIP profile.
2021-04-16 11:08:57 -04:00
FusionPBX f5d766ad66
Add polycom_subscribe_expires to default settings. 2021-04-13 18:34:17 -06:00
FusionPBX a80cae4259
Add cache dialplan ring_group_context 2021-04-13 15:16:09 -06:00
FusionPBX 18b8a7478a
Change user_context to domain_name as the cache uses domain name not the context.
Context and domain are usually the same but there could be times that they are different. However code is always using the domain name for the cache key.
2021-04-13 13:37:15 -06:00
agree 0c605dfd30
Update extension_edit.php 2021-04-11 10:36:45 -04:00
agree 5967dfbfaf Add max registrations per extension setting 2021-04-11 00:28:06 -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
FusionPBX 3ce50ef8d2
Add a comment with description: add a band-aid for CLI editors with faulty syntax highlighting 2021-04-09 12:12:31 -06:00
FusionPBX b7b0df86b0
Merge pull request #5855 from daniel-lucio/patch-186
Add a band-aid for CLI editors with faulty syntax highlighting.
2021-04-09 12:10:27 -06:00
FusionPBX 74b26dd1b3
Merge pull request #5851 from kovacsrobi77/master
Registrations list is empty
2021-04-08 17:42:36 -06:00
chansizzle 725b347ead
added snom update policy variable 2021-04-08 17:15:07 -06:00
FusionPBX 7d01da7464
Merge pull request #5865 from tony1661/patch-1
Fixed Queues so they work and fixed the commented examples
2021-04-07 21:49:19 -06:00
FusionPBX 90c7225086
Merge pull request #5866 from tony1661/patch-2
Updated the descriptions for some fields
2021-04-07 21:48:10 -06:00
Gill Abada eff7246ef4 add 988 national suicide prevention lifeline (USA) 2021-04-07 23:24:11 -04:00
Antonio Fernandez d9ae3d9288
Updated the descriptions for some fields
The description will be a bit easier for newer admins who want to know how a Queue works.
2021-04-07 01:20:13 -04:00
Antonio Fernandez fe390a3509
Fixed Queues so they work along with example cleanup
In troubleshooting a known FreeSwitch bug with mod_callcenter, I started to try out mod_fifo as an alternative. I realized that the dialplan that was being created by Fusion was not working. Creating a queue is very simple so I knew it wasn't a user error on my part so I dug in deeper. There were a few issues I needed to fix to get queues working again.

1. Add a "break on-true" to each condition destination_number (it was changed in two places)
2. populate the "action" for callers entering the queue via the $agent_queue_extension_number
3. remove the appended "_agent" which was added to the $queue_name which was causing the queue for entering and retrieving calls different.
4. remove the inline="true" for the action that executes the lua script

I also fixed the example comments to be accurate to how the queues should be written in the dialplan.
2021-04-07 01:09:22 -04:00
FusionPBX aa4cfbc791
Merge pull request #5864 from demonspork/Fix-Yealink-feature-key-race-dnd
Dialplan Fix for Feature Key Sync Race
2021-04-06 22:17:31 -06:00
demonspork d53bac7f55 Dialplan Fix for Feature Key Sync Race
This is a dialplan approach to fix the feature key sync loop/race with yealink phones. This aproach may also need to be extended to the Call Forward dialplans as well. It limits the number of simultaneous calls for a particular user to change their DND/Forwarding status to a single call at a time. This prevents the infinite loops that the yealinks can get into if the user presses the DND button too quickly with feature key sync enabled.

I am also reverting the lua fix because it was not reliable and can still easily allow the loop to occur.
2021-04-06 15:35:40 -05:00
FusionPBX 06617e0c1e
Change effective_caller_id_name inline false
The inline attribute breaks effective_caller_id_name. Changed inline attribute to false to fix the issue.
2021-04-06 13:25:36 -06:00
chansizzle c85dd621c8
remove duplicate, vmtransfer softkey position var 2021-04-05 17:30:54 -06:00
FusionPBX 94d35ca1d7
Update call-forward-all disable accountcode variable
This variable should be optional as it can be defined in other places as well. It should not be assumed that this is the only place it could be set for those that need it.
2021-04-03 08:41:53 -06:00
Luis Daniel Lucio Quiroz 3d1360b932
Important variable that needs to be present 2021-04-02 10:57:21 -04:00
Luis Daniel Lucio Quiroz 8721dc8e80
[4.5] This is a pure cosmetic fix
When editing in the CLI with any editor that does syntax highlight, the * breaks it. Adding on the following line /* **/ restores the right highlighting
2021-04-01 14:25:17 -04:00
nemerald-voip 65c80c7d55 Fix broken script 2021-03-31 16:33:54 -07:00
nemerald-voip 6560f39c1d rebase file 2021-03-31 09:02:46 -07:00
nemerald-voip c1057293b5 Fix voicemail transcription using Google
Transcriptions using Google were broken after last commit. 
transcribe_alternate_language was not defined anywhere it Google would return 400 error.
Added variable to fix the issue
2021-03-31 08:51:59 -07:00
FusionPBX 3385b296fa
Improve dialplan import efficiency.
- Add a more efficient way to check if the dialplan exits
- Remove restore_advanced_xml not used anymore.
- Add dialplan_context = public
2021-03-30 12:59:47 -06:00
FusionPBX 045248ae19
Change the style of the code to match preferences. 2021-03-27 01:53:34 -06:00
kovacsrobi 40ac4ff212 Correct ignore to IGNORE in iconv paramter. 2021-03-26 23:31:51 +01:00
Andrew Querol 65cdf03be3 Remove unused info action 2021-03-25 09:17:16 -05:00
Andrew Querol 972934e780 Update the main valet_park dialplan to match the improvements made to the auto dialplan.
Parking lots are no longer directly prefixed with *. But for backwards compatibility can be called that way still.

Parking lot name changed from `park` to `5900` to allow monitoring the whole parking lot with a BLF if desired.

Fix regex from matching 5900 to allow this dialplan to work with the valet_park_auto if enabled.
2021-03-25 09:17:16 -05:00
Andrew Querol df7f4db55d Improve the valet_park auto dialplan by adding support for auto out and support for whole lot BLF monitoring.
If the Referred-By header is set call the normal `auto in` code. If it isn't set that means someone called it directly, call `auto out` ato attempt to pop the calls in the lot in FIFO order.

This also changes the parking lot name from `park` to `5900` this allows phones to monitor `park+5900` to get the status of the whole parking lot. Before you would have to monitor `park+park` to get this functionality.
2021-03-25 09:17:01 -05:00
Andrew Querol 42b421e646 Add a setting to control the grouping behavior if people want it back the old way. 2021-03-25 09:16:12 -05:00
Andrew Querol c16a4f60b5 Group extensions by their call_group when viewing all extensions. 2021-03-25 09:16:12 -05:00
Andrew Querol 92bbb77561 Check for duplicate MAC addresses in the device import 2021-03-25 09:15:46 -05:00
Andrew Querol 228b3d0b31
Fix typo with destination ID for the new destination buttons 2021-03-23 00:42:33 -05:00
FusionPBX 49adc1922a
Merge pull request #5802 from netpro25/patch-1
Small error in Fax Retry.lua
2021-03-22 23:39:25 -06:00
Andrew Querol 4075a12a74 Do not use the null coalescing operator to retain pre PHP 7 support. 2021-03-23 00:07:35 -05:00
Andrew Querol ee30b59909 Switch to window.open to '_blank' to prevent accidental navigation that looses changes. 2021-03-22 23:44:33 -05:00
Andrew Querol 59dbcd02a7 Check if there is an ID before redirecting 2021-03-22 23:37:11 -05:00
Andrew Querol 14a8c10849 Fix voicemails to support the new UUID linking 2021-03-22 23:34:51 -05:00
Andrew Querol f1fbbad7ab Recordings are stored in 'uuid' not 'recording_uuid' 2021-03-22 23:25:12 -05:00
Andrew Querol 152955625c Initial attempt at allowing the destination button button
to dynamically change

This sets the UUID as the ID in the options list. The we use the javascript onclick listener to get the id(uuid) of the selected option and open the link to the edit page.
2021-03-22 23:13:39 -05:00
FusionPBX 0af832a0a7
Merge pull request #5842 from junction1153/patch-9
Update record_message.lua
2021-03-22 22:06:26 -06:00
FusionPBX 8d3852328b
Merge pull request #5844 from demonspork/Destination-Click
Add direct link button for dynamic destinations
2021-03-22 22:03:42 -06:00
demonspork ea8aa47029 Add direct link button for dynamic destinations
Added a button that links directly to the currently selected destination's edit page if you have the permission to view or edit it.
2021-03-22 20:59:18 -05:00
FusionPBX 325f4f1513
Change socket.sleep(0.2) to freeswitch.msleep(200) 2021-03-22 15:18:57 -06:00
Joseph 92fd572b33
Update record_message.lua
Additional flexibility for google transcription
2021-03-20 20:40:50 -04:00
demonspork efd27fbe90 fix send_email function for multi-part addresses
The send_email function wasn't successfully parsing ; or , separated email address lists. I simplified it's processing.

While I was at it I removed the "valid email" check from email_test.php because that step is already being done in the send_email function that is called and it safely returns the appropriate error. I would have had to rewrite that function to handle the multiple email lists otherwise.
2021-03-19 19:15:32 -05:00
FusionPBX 2dcf3e1fdc
Merge pull request #5840 from chansizzle/patch-425
Added Yealink DST vars to default settings.
2021-03-19 11:42:44 -06:00
chansizzle 3546e7debe
added yealink DST vars 2021-03-19 10:32:13 -06:00
demonspork 3ef6cf05db
Merge branch 'master' into Fix-DND-Feature-Sync-Loop 2021-03-19 11:12:44 -05:00
FusionPBX 4c708bf692
Merge pull request #5813 from chansizzle/patch-405
Grandstream call waiting ring
2021-03-19 09:30:46 -06:00
FusionPBX eef13cbb96
Merge pull request #5566 from winsock/multiple-registration-fix
Fix Device Provisioning and Feature Sync across SIP Profiles
2021-03-19 09:25:51 -06:00
demonspork cf1dfe9070 Fix DND Feature Sync loop
Add Delay to prevent infinite feature key Loops on some phones (Yealink....)
2021-03-18 20:05:31 -05: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
FusionPBX 48cffe41da
Use permission fax_extension_view instead of if_group. 2021-03-18 10:44:43 -06:00
FusionPBX d0fbbd6a2e
Use the new fax_extension_view_domain instead of if_group function 2021-03-18 10:37:38 -06:00
FusionPBX 95b5660da9
Use the new fax_extension_view_domain instead of if_group superadmin and admin. 2021-03-18 10:35:37 -06:00
FusionPBX d27c7e210e
Use the new fax fax_extension_view_domain permission.
Also selected specific fields rather than using the * wild card in the select statement.
2021-03-18 10:23:03 -06:00
FusionPBX 4ec6e5832d
Add a new permission fax_extension_view_domain 2021-03-18 09:56:07 -06:00
Andrew Querol 7217da15f0 Update the feature event LUA code to match the fix in PHP
This renames `get_profile` to `get_profiles` which either returns nil for no profiles or a array of unique profiles.

Then each function that used to take the single sip_profile was updated to take this array and send events to each profile the user is part of.
2021-03-18 09:31:22 -05:00
Andrew Querol 7d57cef6ac Fix device provisioning and event notification for multiple registrations across different SIP profiles. 2021-03-18 09:31:22 -05:00
FusionPBX 71532a0cea
Merge pull request #5805 from demonspork/patch-2
Fix follow_me_uuid error when enabling DND
2021-03-17 17:44:28 -06:00
FusionPBX be990c2584
Merge pull request #5814 from daniel-lucio/patch-184
[4.5] DTMF handling
2021-03-17 17:43:31 -06:00
Luis Daniel Lucio Quiroz fa12c4daea
Update dtmf_handler.lua
Event-Date-Timestamp resolution is in microseconds, transfer_history is only seconds. We need have the same key.
2021-03-17 19:19:55 -04:00
Luis Daniel Lucio Quiroz 908e7f67d6
Update dtmf_handler.lua 2021-03-17 12:02:54 -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
Luis Daniel Lucio Quiroz fc96e3ae77
DTMF handling
this will give the dtmf_history (similar to the transfer_history variable)

the use cases of this are only limited to the imagination
2021-03-16 15:43:21 -04:00
chansizzle 8672784b02
grandstream call waiting ring 2021-03-15 15:12:12 -06:00
FusionPBX b336537da7
Merge pull request #5597 from winsock/mwi_only_enabled
Only send MWI notifications for enabled voicemail boxes.
2021-03-12 10:05:07 -07:00
FusionPBX ea800eefa8
Merge pull request #5804 from winsock/patch-10
Fix bulk device imports with TFTP path enabled
2021-03-12 10:02:10 -07:00
FusionPBX f6aef73231
Merge pull request #5803 from winsock/patch-9
Update provision write() to match render()
2021-03-12 10:00:49 -07:00
FusionPBX 1110b12e1b
Update the Queue assigned agents to me more efficient.
- Populated select list for all assigned agents does not scale well in the browser. 
- Assigned list scales better without the all of the agents in the list. 
- New select list shows all agents so that new agents can be added.
2021-03-11 22:48:49 -07:00
Andrew Querol 78276cb258 Only send MWI notifications for enabled voicemail boxes. 2021-03-11 11:55:02 -06:00
demonspork d7eccddf25
Fix follow_me_uuid error when enabling DND
The follow me update code in do_not_disturb.lua was being executed even when the follow me uuid didn't exist. Let me know if this is the wrong approach to fix this in lua, I'm not particularly well versed in this but this seemed to have fixed it in my testing.

I have some concerns about this section of code in general though, it seems that enabling server side DND will turn off follow me, but then turning off DND won't return follow me to its original state. Is this the intended behavior? and if so we might need to make a workaround.
2021-03-11 11:29:05 -06:00
Andrew Querol 2d175db556
Fix bulk device imports with TFTP path enabled
If you bulk imported devices and had the TFTP path set the configuration files would not be written out to the TFTP path.
2021-03-11 10:36:16 -06:00
Andrew Querol 57c9bc7460
Update provision write() to match render()
This will ensure that anyone using TFTP still can use array template variables
2021-03-11 10:25:22 -06:00
Marcel Manning f03224cf16
Update retry.lua
Zero should not be wrapped in double quotes as it's causing an SQL error.

PGRES_FATAL_ERROR
2021-03-11 10:30:47.738673 [ERR] switch_pgsql.c:680 Error executing query:
ERROR:  invalid input syntax for type numeric: "'0'"
LINE 1: ...p/c8505148-1b02-4f6f-9157-b5cf64ebcc4d.tif','','','''0''',''...
                                                             ^
2021-03-11 10:59:11 -05:00
FusionPBX a3269a3d6d
Merge pull request #5798 from winsock/patch-5
Update switch_recordings.php to optimize base64 recordings
2021-03-10 00:05:29 -07:00
FusionPBX 25fee0b7f5
Merge pull request #5799 from winsock/patch-6
Do not load base64 data into MOH edit by selecting the specific fields that are needed.
2021-03-10 00:05:05 -07:00
FusionPBX 242b38557c
Merge pull request #5800 from winsock/patch-7
Update recording edit to not pull base64 data by selecting the specific fields that are needed.
2021-03-10 00:03:45 -07:00
FusionPBX 1597d338ee
Merge pull request #5797 from winsock/patch-4
Do not load base64 data into phrase edit by selecting the specific fields that are needed.
2021-03-10 00:03:00 -07:00
FusionPBX 61bc654f61
Update phrase_edit.php 2021-03-10 00:01:18 -07:00
FusionPBX 166e76bb77
Merge pull request #5791 from emaktech/patch-21
CDR - Don't Check Filesystem for Recording on Load
2021-03-09 22:34:52 -07:00
Andrew Querol 5a9b734a51
Update recording edit to not pull base64 data
This is less of an improvement than the other changes I proposed since it's only doing it for one file. But it still doesn't need to pull that recordings base64 data here if it has it.
2021-03-09 16:36:52 -06:00
Andrew Querol 67eecb5485
Do not load base64 data into MOH edit
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
2021-03-09 16:32:35 -06:00
Andrew Querol d48d98893f
Update switch_recordings.php
recording_base64 was pulled from the database and never used. Remove it to optimise base64 handling.
2021-03-09 16:23:49 -06:00
Andrew Querol ea0823ea4d
Do not load base64 data into phrase edit.
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
2021-03-09 16:15:01 -06:00
FusionPBX 864397a453
Merge branch 'master' into master 2021-03-09 09:44:47 -07:00
FusionPBX f455e8fa94
Make sure the database object is accessible to Settings ojbect. 2021-03-08 18:12:31 -07:00
nemerald-voip 4bcbed524c
Update app_config.php
Enabled pagination available in in recent firmware. Added ability to control which buttons show on idle and home screens
2021-03-08 07:14:42 -08:00
Antonio Fernandez 8c1d73e02e
Update app_languages.php
Added a better description for the value based on a video in the members portal.
2021-03-07 11:52:42 -05:00
FusionPBX 739d9c3365
Remove the dash from the time_base_score_sec label 2021-03-06 16:53:59 -07:00
FusionPBX 5f1ca5888b
Fix a small bug with queue_time_base_score_sec. 2021-03-06 16:52:05 -07:00
Antonio Fernandez 468d932063
Update call_center_queue_edit.php 2021-03-06 16:11:34 -05:00
Antonio Fernandez d664d5579d
Update app_config.php 2021-03-06 16:09:33 -05:00
Antonio Fernandez 0f9bacf9bf
Update call_center_queue_edit.php 2021-03-06 16:07:59 -05:00
Antonio Fernandez 6a116dd78b
Update call_center_queue_edit.php 2021-03-06 16:03:20 -05:00
Antonio Fernandez ef93ff09f1
Update call_center_queues.php 2021-03-06 15:58:38 -05:00
Antonio Fernandez ff38a86118
Update app_languages.php 2021-03-06 15:56:59 -05:00
Antonio Fernandez 394e67ede0
Update app_languages.php
The translations are copied from the label-time_based_score however I used Google Translate to translate "seconds" in various languages.
2021-03-06 15:53:21 -05:00
Antonio Fernandez 64a6128b21
Update app_config.php 2021-03-06 15:47:13 -05:00
FusionPBX 44300f81e3
Merge pull request #5775 from winsock/device_import_mac_address_normalize
Fix device MAC address imports not normalizing.

# Context
MAC addresses were not being normalized when importing CSV files. If it is not normalized you can get a not found error when provisioning since that is checking the database with a normalized MAC address

# Overview
- Use the same normalization done in device_edit.php in device_imports.php
2021-03-06 09:55:56 -07:00
FusionPBX 98392adcf0
Merge pull request #5790 from demonspork/grandstream_hide-remote-blf_status
Grandstream: Hide BLF Remote Status And More Distinctive Ring

Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex! (plus a typo was made in the previous version)
2021-03-06 09:49:00 -07:00
FusionPBX 5b3f849b4a
Remove forward_caller_id_uuid field and minor code cleanup.
Minor code cleanup improve indentation, trailing spaces and add some line feeds.
2021-03-06 09:43:31 -07:00
FusionPBX 7cb17effe8
Remove follow_me_caller_id_uuid field. 2021-03-06 09:26:19 -07:00
FusionPBX 07fb1c2dc6
Remove follow_me_caller_id_uuid field. 2021-03-06 09:12:39 -07:00
FusionPBX 297fea5d64
Remove the forward_caller_id_uuid field. 2021-03-06 09:06:31 -07:00
FusionPBX 75b38c9d7f
Remove forward_caller_id_uuid field. 2021-03-06 09:05:32 -07:00
FusionPBX 4ccbebc9bc
Remove forward_caller_id_uuid field. 2021-03-06 09:01:03 -07:00
FusionPBX 4f8413cc6a
Remove forward_caller_id_uuid field. 2021-03-06 09:00:00 -07:00
FusionPBX 8e79821304
Remove forward_caller_id_uuid field. 2021-03-06 08:59:12 -07:00
FusionPBX ee1e4727c6
Remove call_forward_caller_id permission. 2021-03-06 08:53:49 -07:00
FusionPBX f82cdd4830
Remove follow_me_caller_id and field follow_me_caller_id_uuid. 2021-03-06 08:51:27 -07:00
FusionPBX acbda27f4a
Remove caller ID on follow me and call forward.
The caller ID is redundant as it is already set on the extension.
2021-03-06 08:47:10 -07:00
FusionPBX 7390f79ae0
Add destination order to the order by. 2021-03-06 08:16:30 -07:00
FusionPBX 70577ac83f
Add destination order to the database and use it. 2021-03-06 08:14:54 -07:00
FusionPBX c6707fc835
Add destination_order ot the destinations table. 2021-03-06 08:10:47 -07:00
FusionPBX 906b86d3dc
Use elseif instead of a series of if statements.
Also replace strlen with isset.
2021-03-05 20:03:57 -07:00
FusionPBX 0b91af9f42
Add option to handle category: provision type: array 2021-03-05 12:09:26 -07:00
Andrew Querol c7a35cc1ad Fix device MAC address imports not normalizing.
If it is not normalized you can get a not found error when provisioning since that is checking the database with a normalized MAC address
2021-03-04 17:33:25 -06:00
FusionPBX 46d13689fc
Fix a duplicaiton problem when editing and saving extension settings. 2021-03-04 13:41:27 -07:00
emaktech a0ab52d369
CDR - Don't Check Filesystem for Recording on Load
I have been debugging slow loading on our CDR pages for the last few days now.

One issue that we have encountered is that currently as the page loads, it checks the filesystem for each file one at a time. In our case, we move recordings to object storage after 1 week, so each time we check for a file it passes api calls which take over 1 second each to return a result. This causes this page to not load at all for us in many cases.

Regardless, this current method is unnecessarily I/O intensive and really page load is probably not the time to be checking for each file one by one.

So this PR is the simplest solution - remove the check entirely. I would contend that the administrator should remove the record_path from the database if the file was removed so this should be acceptable.

This solves this particular issue for us, but would need feedback from others if not checking for files makes sense.
2021-03-03 15:48:17 -05:00
demonspork 99fb4ae078 Grandstream: Hide BLF Remote Status And More Distinctive Ring
Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex!
2021-03-02 21:34:25 -06:00
Len a021867008
Remove duplicate uuid/variables 2021-02-28 20:35:51 -05:00
FusionPBX 771b958ebe
Reformat the status to show the reg expire seconds. 2021-02-27 10:08:41 -07:00
FusionPBX d10ea48bee
Get the domain name using the device. 2021-02-26 17:17:32 -07:00
demonspork 0f9098cfb4 Grandstream: Plantronics EHS and additional non-clobbering of settings
Grandstream template updates to support plantronics EHS via grandstream_headset_type and grandstream_headset_key_mode variables.
Also updated wallpaper and screensaver if/else statements to leave out the variables if they are not defined instead of clobbering the user setting. If you want to mandate a certain setting, just set the variable. If the variable is unset it will not overwrite on provision and allow the previous setting to remain.
2021-02-25 15:23:33 -06:00
FusionPBX e69bebcbe8
Merge pull request #5778 from demonspork/cdr-stats-improvements
Improved Missed Call accuracy, cdr statistics, and hide duplicated CDRs from Enterprise Ring Groups
2021-02-24 17:37:27 -07:00
FusionPBX fe92309901
Update index.lua 2021-02-23 21:00:56 -07:00
FusionPBX d2ff58ee42
Update index.lua
Added a commented out resync option.
2021-02-23 20:56:37 -07:00
demonspork c11589b1c3 Track Voicemail Message Success/Failure in CDR
Track whether or not a message was actually left in the voicemail box. Previously we only knew that voicemail answered, now we know whether the caller left a message.
Callers who didn't leave a message now show up in the "Cancelled" call filter in xml_cdr.php

Bonus: Fixed a bug with the originating_leg_uuid that was breaking extension summary from a previous commit and some other minor bugs/typos.
2021-02-21 21:09:37 -06:00
demonspork 0ef2551698 Exclude cc_side agent legs from missed_call
Excluded cc_side = agent calls from being marked as missed_call = true

Fixed the previous performance issue with adding the cc_side != 'agent' to the SQL and removed its filter from the rendering loop for the xml_cdr.
2021-02-21 18:26:24 -06:00
demonspork b5272984d1 Don't filter LOSE_RACE of already filtering originating_leg_uuid
It is redundant to filter out LOSE_RACE when originating_leg_uuid is also filtered, there is an overlap where every call with LOSE_RACE also has an originating_leg.
2021-02-20 11:51:24 -06:00
demonspork 77974b71dc Fix Query performance for cc_side agent
For some unexplained reason, including the `"and cc_side != 'agent'` in the WHERE tanks the query performance from seconds to minutes on Postgres 9.4. It runs great on Postgresql 13. Reverting to the "blank content while writing the page content" approach for this value unless I can find the source of the problem. - Oh, also removed an unnecessary condition that prevents you from filtering by LOSE_RACE.
2021-02-20 11:51:24 -06:00
demonspork 92dc62a7b4 Fix TTA display bug in Export CDR PDF
Same thing as in the xml_cdr.php page display. If the call is answered instantly, less than a second, then the difference is 0s, and the 0s is a visual indicator that the call was answered, it just took less than a second. Calls that didn't get answered have a large negative number stored in the TTA field, 0 is an answered call.
2021-02-20 11:51:24 -06:00
demonspork d150f16b9d Fixed "Failed" call status in CDR
Re-implemented the commented out "Failed" call status SQL filter. It was no different than leaving the "Call status" search box empty. Removed the send_refuse restriction.
2021-02-20 11:51:24 -06:00
demonspork 56a318b2f0 Fix TTA display bug
If the TTA is 0 because the call was answered in less than a second (so that the answer_epoch and start_epoch are in the same second), it would not display the TTA at all. This is safe to include 0 because "unanswered" calls are going to have a TTA that is is the negative value of the start time, significantly lower than 0.
2021-02-20 11:51:24 -06:00
demonspork ef38b15cdc Add new missed call rules to HTTP CDR Imports
Add new missed call rules to HTTP CDR Imports. They had only been added to the xml_cdr class used by the file import.
2021-02-20 11:51:24 -06:00
demonspork 1a1edf1195 Improved Missed Call accuracy, cdr statistics, and hide duplicated CDRs from Enterprise Ring Groups
Changes
--------
  - Improve CDR Import Logic so that missed_call column is more accurate to the "missed" status. It would previously mark unanswered outbound calls as "missed". These are their own category of call.
  - Don't mark the CDRs of the "legs" of an Enterprise Ring Group call as missed, only the originating_leg will be marked (one missed call per call) - We could also just "skip" importing these call legs. Simultaneous ring groups don't have these duplicated CDRs for every ringing phone. The "Skip" approach might make most of the rest of this work irrelevant.
  - Create `originating_leg_uuid` column in v_xml_cdr and import it into the database during CDR imports so it is available for filtering Enterprise Ring Group calls out of CDRs and reports.
  - Move logic that hides the agent leg of CC calls, LOSE_RACE calls, and the Enterprise Leg hiding code from xml_cdr.php into xml_cdr_inc.php into the SQL query WHERE clause so the CDR page looks more consistent. The logic is the same, but these calls are now excluded from the query result entirely instead of having to "skip" rendering them in the list on the xml_cdr.php page.
  - Improved CDR statistics page to use the missed_call variable instead of relying upon billsec and answer_stamp/answer_epoch. Added the same logic as the xml_cdr pages to the query so it excludes enterprise ring group call legs.
  - Laid the query groundwork in xml_cdr_statistics to report on Average TTA (No UI changes yet to include that statistic)

Retroactive Changes
---------------------
There are a few changes going back in time to bring everything in line with this better reporting accuracy:
  - If you want the populated the `originating_leg_uuid column` in `v_xml_cdr`, it will rely upon having the `json` column and not having deleted the data from it like I know some people do for space saving.
  - If you don't have the json column,  you are mostly out of luck for hiding the duplicate legs of Enterprise ring group calls. It might be possible, but it isn't going to be easy.
  - On Newer Versions of postgres, this works:
```
UPDATE v_xml_cdr SET originating_leg_uuid = (json->'variables'->>'originating_leg_uuid')::uuid WHERE json->'variables'->>'originating_leg_uuid' IS NOT NULL;
```
  - For some reason on postgres 9.4, I had to UPDATE every single record because I couldn't get it to allow the json syntax properly after the WHERE. This is fine, it doesn't change the end result it just means it has to run the UPDATE on every record, which will take a while
```
UPDATE v_xml_cdr SET originating_leg_uuid = (json->'variables'->>'originating_leg_uuid')::uuid;
```
  - To remove the `missed_call = true` on all your previous outbound records so that they don't show up when you filter on missed (outbound unanswered calls can be accurately listed with TTA max 0 and direction outbound)
```
UPDATE v_xml_cdr SET missed_call = false WHERE direction = 'outbound' AND missed_call = true;
```
2021-02-20 11:51:24 -06:00
Len e7c55ccc1d
Duplicate variable yealink_ringtone_url and uuid
Duplicate variable yealink_ringtone_url and uuid 7af991ec-ddb9-4942-a05d-d1acc529fef5
2021-02-18 18:29:33 -05:00
FusionPBX 71b10db150
Merge pull request #5770 from konradSC/patch-90
Add Toll Allow to Call Broadcast
2021-02-17 14:01:49 -07:00
chansizzle 91719cc374
added pin lock vars 2021-02-17 13:14:49 -07:00
konradSC a55b9a6377
Add toll allow 2021-02-17 10:51:42 -05:00
konradSC e4212fa335
Add toll allow 2021-02-17 10:51:11 -05:00
konradSC 7ae966efc6
Add Toll Allow to Broadcast 2021-02-17 10:49:22 -05:00
demonspork 202bc7363e Fixed "Missed" link and exclude LOSE_RACE from CDR stats
Simple change to exclude lose_race and fix a URL change for the xml_cdr page.
2021-02-16 21:21:59 -06:00
Andrew Querol b92ed17f17
Fix app_config typo for recordings.
storage_type was never initialized as a setting in the database due to the y counter being reset to 0 after it. This was causing the storage_type setting to not show up in the UI.
2021-02-15 13:53:37 -06:00
FusionPBX 43735a93e9
Update the URL from type to import_type 2021-02-11 15:33:11 -07:00
FusionPBX b5f9db0bd2
Update the URL from type to import_type 2021-02-11 15:32:19 -07:00
agree 74c7f236ff
Follow me fix call recording 2021-02-11 12:59:34 -05:00
FusionPBX 449f6ab872
Remove the cdata seems to cause problems rather than help. 2021-02-11 03:35:16 -07:00
chansizzle 691dee7353
yealink cp920 firmware path 2021-02-10 14:43:34 -07:00
FusionPBX 2ca45d4cf2
Add elseif and improve indentation. 2021-02-10 12:38:18 -07:00
FusionPBX 0fbd90899a
Merge pull request #5760 from daniel-lucio/patch-183
More DB compatibility
2021-02-10 12:36:17 -07:00
FusionPBX 3b4cc55671
Move the extension settings button. 2021-02-10 00:42:08 -07:00
FusionPBX 5b83dc8ab5
Merge pull request #5761 from greenbea/patch-20
fix comparison operator
2021-02-09 16:53:42 -07:00
FusionPBX c3ee52596e
Change the permisison for the settings button. 2021-02-09 14:15:09 -07:00
FusionPBX 34f6d3e068
Add support for extension_settings. 2021-02-09 13:23:59 -07:00
markjcrane 682c632520 Add new extension_settings feature 2021-02-09 13:09:32 -07:00
agree ee1ca8a507
fix comparison operator 2021-02-09 14:18:21 -05:00
Luis Daniel Lucio Quiroz 52c70f6172
Update app_defaults.php 2021-02-09 14:14:53 -05:00
FusionPBX 38a9e1fae0
Add import button if the feature is installed. 2021-02-08 11:52:29 -07:00
FusionPBX af73671c32
Add import button if the feature is installed. 2021-02-08 11:51:48 -07:00
agree b7eef0e69e
Fix negative lookahead 2021-02-03 23:29:10 -05:00
FusionPBX f43910e328
Update ivr.conf.lua 2021-02-03 16:25:08 -07:00
agree c4dfb7ce59 IVR Menu fix menu options with same length as direct dial regex 2021-02-03 17:23:51 -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
FusionPBX 43e2bfc422
sip_h_Diversion on call-forward-all change default to true. 2021-02-01 22:11:15 -07:00
FusionPBX d4ee4c1991
Change from true to optional 2021-02-01 22:00:30 -07:00
FusionPBX 9b36f0015f
Merge pull request #5750 from greenbea/patch-14
Fix agent record selected
2021-02-01 19:54:58 -07: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 5fda5d811f call center agent record 2021-01-29 13:56:04 -05:00
FusionPBX 456aa8dce4
Add outbound caller id name and number to follow me destinations. 2021-01-28 17:34:30 -07:00
FusionPBX 2ea3d8a62a
Add more escape functions to the click to call php file. 2021-01-27 22:25:04 -07:00
agree 8e7452e8c7
click to cal 2021-01-27 13:49:01 -05:00
FusionPBX 9213c71b71
Merge pull request #5704 from winsock/patch-1
Do not clobber caller ID names if no number is set
2021-01-26 22:55:39 -07:00
FusionPBX 6c50deee2c
Time condition exclude invalid presets with incorrect json syntax to make it more resilient. 2021-01-26 11:53:44 -07:00
FusionPBX 2e4d07b941
Merge pull request #5705 from emaktech/patch-2
Minor french language updates
2021-01-26 08:43:13 -07:00
FusionPBX 54457c8cc1
Merge pull request #5706 from emaktech/patch-3
Minor French update
2021-01-26 08:42:44 -07:00
FusionPBX d6d010e39b
Merge pull request #5708 from emaktech/patch-5
French language update
2021-01-26 08:42:03 -07:00
FusionPBX 524bf1e230
Merge pull request #5709 from emaktech/patch-6
French language update
2021-01-26 08:41:46 -07:00
FusionPBX 7954af8e6c
Merge pull request #5710 from emaktech/patch-7
French language update
2021-01-26 08:41:16 -07:00
FusionPBX cc322c7650
Merge pull request #5712 from emaktech/patch-9
French language update
2021-01-26 08:40:36 -07:00
FusionPBX 0bc3b4cf57
Merge pull request #5714 from emaktech/patch-11
French language update
2021-01-26 08:38:56 -07:00
FusionPBX 30eb6c942f
Merge pull request #5715 from emaktech/patch-12
Micro update to french language
2021-01-26 08:38:22 -07:00
FusionPBX 8638aa6251
Merge pull request #5728 from emaktech/patch-13
FR-CA update
2021-01-26 08:37:48 -07:00
FusionPBX 5ed3989b4e
Merge pull request #5736 from emaktech/patch-15
French Translation update
2021-01-26 08:36:46 -07:00
FusionPBX d883aafa21
Merge pull request #5737 from emaktech/patch-16
Update app_languages.php
2021-01-26 08:36:04 -07:00
FusionPBX e029ae2729
Merge pull request #5738 from emaktech/patch-17
Update app_menu.php
2021-01-26 08:35:36 -07:00
FusionPBX 92fe4753f0
Merge pull request #5739 from emaktech/patch-18
Update app_config.php
2021-01-26 08:35:07 -07:00
FusionPBX 37889ee6e7
Merge pull request #5740 from greenbea/patch-11
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-26 08:34:35 -07:00
fusionate 1b2dc75fa6 Call Center Queues - Delete: Unload deleted queue configurations. 2021-01-25 17:09:55 -07:00
fusionate 0c3aa93dc9 Call Center Agents - Delete: Fix bulk delete bug. 2021-01-25 12:30:42 -07:00
nemerald-voip 3e24d553d9
Update app_config.php 2021-01-25 10:47:59 -08:00
nemerald-voip 8f19861881
Additional Polycom config parameters 2021-01-25 10:01:42 -08:00
FusionPBX d10634d4b3
Add ability to import enabled attribute from the dialplan xml. 2021-01-25 10:12:29 -07:00
FusionPBX 515603db3b
Update 505_call-forward-all.xml
Use tab for indentation, use CDATA for the sip_h_Diversion header, and then add an attribute for enabled.
2021-01-25 10:08:16 -07: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
fusionate 80c51cc2e2 Extension - Edit: Lookup extension on submit if extension_extension permission not assigned. 2021-01-22 12:12:29 -07:00
FusionPBX b78637ff81
Update 055_rtp_has_crypto.xml
Add more crypto options.
2021-01-22 10:24:50 -07:00
FusionPBX 04869c26f9
Update 055_rtp_has_crypto.xml 2021-01-20 20:29:18 -07:00
FusionPBX f473772850
Update 055_rtp_has_crypto.xml 2021-01-20 20:23:51 -07:00
FusionPBX 0a2187a610
Rename 050_rtp_has_crypto.xml to 055_rtp_has_crypto.xml 2021-01-20 20:20:26 -07:00
FusionPBX 11f28f09a5
Create 050_rtp_has_crypto.xml 2021-01-20 20:20:02 -07:00
emaktech 37638eafac
Update app_config.php
fr-ca update
2021-01-20 17:50:04 -05:00
emaktech db16e36fb0
Update app_menu.php
fr-ca update
2021-01-20 17:47:46 -05:00
emaktech c02f401612
Update app_languages.php
fr-ca update
2021-01-20 17:46:05 -05:00
fusionate da79aa0fb1 Devices, Device Profiles - Search: Scope enhancements. 2021-01-20 11:06:34 -07:00
FusionPBX 322bbd4c20
Use column names in the SQL Query. 2021-01-20 10:46:00 -07:00
FusionPBX 03866355f6
Change dialplan_detail_enabled to boolean. 2021-01-20 10:45:08 -07:00
emaktech ddda85bbf1
Update app_languages.php
French Translation update
2021-01-20 12:20:38 -05:00
FusionPBX 7d3e754812
Set the dialplan_detail_enabled default value to true. 2021-01-19 22:18:40 -07:00
FusionPBX 1ddf5bbf41
Check if dialplan_detail_enabled is true or if null consider the value as true and add line feeds to improve readability of the SQL statement. 2021-01-19 18:59:09 -07:00
FusionPBX e64c70ff9d
Add ability to use the dialplan_detail_enabled field. 2021-01-19 18:56:51 -07:00
FusionPBX fb45bfb3fa
Add dialplan_detail_enabled to the app_config.php file. 2021-01-19 18:55:32 -07: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
FusionPBX 3f2332c0e2
Merge pull request #5729 from greenbea/patch-4
Destinations add accountcode permission
2021-01-18 18:50:49 -07:00
fusionate e92ebd8302 Device Profiles - Search: Include some Key and Setting fields. 2021-01-18 16:37:42 -07:00
fusionate 8107694dd3 Devices - Search: Include some Line, Key and Setting fields. 2021-01-18 16:22:18 -07: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
emaktech af78f9fc97
Update app_languages.php
FR-CA update
2021-01-18 16:43:55 -05:00
fusionate 2fcabefc49 Voicemail: Remove unused permission. 2021-01-18 11:27:06 -07:00
FusionPBX 246ffb3e12
Add a permission check for xml_cdr_export_csv and xml_cdr_export_pdf to the CDR export. 2021-01-18 00:00:18 -07:00
FusionPBX 1b2812976d
Add xml_cdr_export_csv and xml_cdr_export_pdf permissions to app_config.php. 2021-01-17 23:56:45 -07:00
FusionPBX 9788b7b99f
Add xml_cdr_export_csv and xml_cdr_export_pdf permission checks. 2021-01-17 23:55:23 -07:00
konradSC 5efca5afa7
Bug Fix: No beep when bypassing the greeting
We found that callers were not hearing the tone_stream if they pressed "#" to bypass the voicemail greeting. Inserting a very brief silence_stream seems to fix the issue.
2021-01-15 08:31:21 -05:00
FusionPBX 2157f69e51
Merge pull request #5718 from demonspork/patch-1
Destination Emergency Checkbox Spacing Fix
2021-01-14 20:00:51 -07:00
FusionPBX c0f8ee965e
Merge pull request #5720 from greenbea/patch-4
CDR add permision to hide call center agent legs
2021-01-14 10:17:43 -07:00
Andrew Querol 124f32d989
Remove footer from call center dashboard widget.
This should not have been in here, causes the footer to display outside of the bounds of where it should be.
2021-01-14 10:11:11 -06:00
agree 5778f71663
Update app_config.php 2021-01-13 13:13:11 -05:00
agree 33b206c6a7
Update xml_cdr.php 2021-01-13 13:12:23 -05:00
Greenbea 3a01537487 CDR add permision to hide call center agent legs
Author:    agree <ahrongreenberg@gmail.com>
2021-01-12 16:55:27 -05:00
demonspork 8fb5ffb553
Destination Emergency Checkbox Spacing Fix
Add a missing non-breaking space to fix the positioning of the checkbox.
2021-01-11 10:24:30 -06:00
emaktech fa742ba7ff
Update app_languages.php
Micro update to french language
2021-01-06 16:25:06 -05:00
emaktech d61388b3ee
Update app_languages.php
French language update
2021-01-06 16:20:26 -05:00
emaktech 056e19ce8f
Update app_languages.php
French language update
2021-01-06 16:16:33 -05:00
emaktech 72b273058e
Update app_languages.php
Minuscule French language update
2021-01-06 16:04:03 -05:00
emaktech 731c969d4a
Update app_languages.php
super minor french language edit
2021-01-06 16:02:31 -05:00
emaktech 9eb0e56448
Update app_languages.php
extremely minor french language edit
2021-01-06 15:59:47 -05:00
emaktech 4a31badbba
Update app_languages.php
Minor French update
2021-01-06 15:35:20 -05:00
emaktech a894aa1aa7
Update app_languages.php
Minor french language updates
2021-01-06 15:31:51 -05:00
Andrew Querol ead9afad70
Do not clobber caller ID names
By default custom caller ID names will get clobbered by this diaplan if no number is set. This is potentially problematic if you just want a custom caller ID name set for multiple extensions using the default caller ID number.
2021-01-06 13:27:08 -06:00
demonspork 9cf580c512 Allow Setting Default transcription state
When creating a new extension/voicemail box it can have a global/domain default setting for whether to enable transcription.
`transcription_enabled_default` default setting that determines what status transcription should be for all new extensions/voicemails.
2021-01-06 13:16:19 -06:00
fusionate 60151739be Time Conditions: Minor adjustment. 2021-01-04 18:09:07 -07:00
fusionate 7f08b92631 Time Conditions: Bug fixes. 2021-01-04 17:41:33 -07:00
FusionPBX 597955da06
Add a feature for global call block. 2021-01-01 23:20:17 -07:00
FusionPBX d25f1d393e
Update call_block.php
Call Block changes.
- Add a new permission call_block_domain this is assigned to the superadmin group by default.
- Add a domain select list for those that have the call_block_domain permission.
- Add a show all button to Call Block.
2021-01-01 22:02:38 -07:00
FusionPBX fc16442b3f
Merge pull request #5693 from winsock/calls_toggle_improvments
Remove the toggle dropdown in favor of three separate toggle buttons
2020-12-29 10:38:04 -07:00
Luis Daniel Lucio Quiroz de021ec34c
Hide things that non-admin users shouldnt edit 2020-12-29 00:24:03 -05:00
Luis Daniel Lucio Quiroz bb868a2a8b
Update app_config.php 2020-12-29 00:15:22 -05:00
Andrew Querol 492cbbde14 Re-add permission check per button toggle button. 2020-12-28 22:17:05 -06:00
Andrew Querol d7c7f4f1a5 Do not collapse toggle buttons so they do not loose meaning on small screens/mobile devices. 2020-12-28 21:53:04 -06:00
Andrew Querol 4807e0b570 Remove the toggle dropdown in favor of three separate toggle buttons 2020-12-28 21:32:19 -06:00
FusionPBX cd8a3336b2
Merge pull request #5692 from winsock/panel_status
Fix changing user status via the operator panel
2020-12-28 18:53:31 -07:00
Andrew Querol 88be4e0094 Fix user status setting. 2020-12-28 19:45:05 -06:00
FusionPBX 4cad037cbe
Update app_config.php 2020-12-28 17:05:50 -07:00
chansizzle 53de0031a8
order preset holidays 2020-12-28 17:00:38 -07:00
fusionate e8e67a6af7 CDR: Verify is array before checking size. 2020-12-28 14:23:00 -07:00
FusionPBX dadea8d4c6
Merge pull request #5672 from demonspork/Destination-Emergency
Add Support for Validated Emergency Destinations/Caller ID
2020-12-24 10:31:44 -07:00
emaktech cc5eba5699
Revert "Order by start_epoch to Speed Up Query Execution" 2020-12-23 23:52:15 -05:00
chansizzle 1cd6082981
added new years eve and christmas eve 2020-12-23 17:37:39 -07:00
FusionPBX 37350b4fa7
Merge pull request #5682 from greenbea/patch-1
Time condition add missing extension field  from destination select q…
2020-12-22 10:46:15 -07:00
agree 53e48a5262
Call center: add missing queue_name field from destination select sql query 2020-12-21 18:01:44 -05:00
agree 7d7ba7dee1
Time condition add missing extension field from destination select query 2020-12-21 17:44:46 -05:00
FusionPBX 2931445c91
Get the domain_name with a different approach to fix global inbound routes. 2020-12-21 15:35:59 -07:00
fusionate 54f22dcce5 Test Commit - Ignore 2020-12-21 13:07:04 -07:00
fusionate 9029a851d4 Test Commit - Ignore 2020-12-21 12:58:53 -07:00
fusionate 7ddcbbca39 Test Commit - Ignore 2020-12-21 12:04:43 -07:00
fusionate 88e1285b8b Test Commit - Ignore 2020-12-21 11:35:09 -07:00
fusionate 7d2d05a332 Test Commit - Ignore 2020-12-21 11:31:52 -07:00
fusionate 0a6ab715af Test Commit - Ignore 2020-12-21 11:16:52 -07:00
FusionPBX fa835103e3
Use isset instead of strlen. 2020-12-21 11:13:55 -07:00
fusionate 062c9f4c87 Test Commit - Ignore 2020-12-21 11:02:36 -07:00
FusionPBX 64822a388c
Missing message_status to listen to the recording again.
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
2020-12-17 09:00:02 -07:00
FusionPBX c0f483ed06
CDR Import fix missing sql parameter 2020-12-16 09:35:01 -07:00
S.Mohammad Emami Razavi f531631ddb
Update exec.lua 2020-12-16 18:23:52 +03:30
agree 60ed198a2e
CDR Import fix missing sql parameter 2020-12-15 12:42:47 -05:00
FusionPBX 74a55f3de2
[4.5] Fix Wrong CIDR 2020-12-14 18:11:09 -07:00
FusionPBX ed33c09b16
Merge pull request #5620 from greenbea/patch-22
Follow me set accountcode for external destinations
2020-12-14 18:09:22 -07:00
FusionPBX c60f2e492f
After importing the dialplans generate the dialplan xml. 2020-12-14 18:00:04 -07:00
FusionPBX dc8f9146ba
Update the array name so that is_array evaluates to true. 2020-12-14 17:31:41 -07:00
fusionate 131d96b60c Follow Me: Fix issue with Destinations not displaying correctly. 2020-12-14 13:21:05 -07:00
Luis Daniel Lucio Quiroz 5eb3eaa529
Update extension_edit.php 2020-12-13 20:18:02 -05:00
demonspork c3704c6172 Add Support for Validated Emergency Destinations/Caller ID
This adds emergency_caller_id_select permissions. and an "Emergency" checkbox to destinations. When emergency_caller_id_select permssion is added, the "Emergency Caller ID number" and name become a dropdown in the Extension and only show Destinations that have the "Emergency" checkbox selected to indicate they are valid for emergency calls.
2020-12-11 18:24:14 -06:00
fusionate e9a6449b07 Time Conditions: Fix dynamic Destination Other > Hangup option. 2020-12-11 16:36:51 -07:00
Zion Dials 53e1440e1d
Update listen_to_recording.lua
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
2020-12-11 08:55:42 -05:00
FusionPBX c314f4352a
Minor change add a little better description. 2020-12-10 20:20:51 -07:00
FusionPBX d5016a107b
Delete xml_cdr_import_update.php 2020-12-10 20:19:54 -07:00
FusionPBX 53cbf8c9b4
Fix a situation where call recording was not showing up in Call Detail Records.
Make sure the record_path is set to the default path if that value doesn't exist in the xml.
2020-12-10 20:03:53 -07:00
fusionate 1687ebb3ae Destinations: Correct permission. 2020-12-10 16:58:50 -07:00
agree 6504fbb6b0
Follow me set accountcode of the for external destinations
Accountcode of the called extension should be set for follow me
2020-12-10 13:40:11 -05:00
FusionPBX 7fe118daed
Merge pull request #5615 from emaktech/patch-65
Order by start_epoch to Speed Up Query Execution
2020-12-09 20:06:49 -07:00
FusionPBX 059f1c48a6
Merge pull request #5618 from SeyedGH/patch-1
Update gateways.php
2020-12-09 20:06:06 -07:00
FusionPBX 0ee8ff2234
Merge pull request #5617 from chansizzle/patch-324
Update app_config.php
2020-12-09 20:03:42 -07:00
FusionPBX edb9a6e269
Restrict Call Center greeting to applications to playback, say, tone_stream, and phrase. 2020-12-09 20:00:39 -07:00
FusionPBX d7dd1a9b1d
Call Center greeting improve support for say and tone_stream. 2020-12-09 19:42:16 -07:00
FusionPBX 842bcd93ee
Remove domain_uuid from the array that is saved.
The domain_uuid should not be modified from this page so it has been removed.
2020-12-09 12:24:39 -07:00
FusionPBX d0be8bf379
Fix recording icon so that it would indicate the call being recorded. 2020-12-09 10:42:21 -07:00
SeyedGH 0a33d7a90b
Update gateways.php
Foreach has a typo -> must be =>
2020-12-09 17:18:17 +01:00
chansizzle 23b2148649
Update app_config.php
dhcp options
2020-12-08 16:07:53 -07:00
fusionate 5c8201ec0d Time Conditions: Resolve issue with dynamic Destination select not loading for Presets. 2020-12-08 14:29:32 -07:00
fusionate 87c2e80542 Call Recording: Allow recording of certain feature codes. 2020-12-08 11:10:50 -07:00
emaktech c97d9e7022
Order by start_epoch to Speed Up Query Execution
In some cases, this seems to speed up xml_cdr loading times by ~10x.

It appears one big cause of this is the final ORDER_BY statements are very slow in PostgreSQL for timestamp fields. Ordering by start_epoch field improves query execution time in a dramatic way and should result in the same ordering.
2020-12-07 15:56:26 -05:00
fusionate 46b2f00826 Dialplan Manager: Adjust toggle method to support multiple domains if used on show all. 2020-12-04 12:53:51 -07:00
demonspork 5a39dbf68e Prevent Users without permission from clobbering ring_group_caller_id_name and number
Bring the ring_group_caller_id_name and number fields and permissions in line with the prefix permissions so that users without permission don't overwrite those those fields by hitting save.
2020-12-02 20:00:55 -06:00
fusionate da069651f4 CDR: Grant xml_cdr_domain permission to admin group by default. 2020-12-02 13:37:49 -07:00
FusionPBX 6f2365fe24
Update call_center_agent_edit.php 2020-12-02 12:30:02 -07:00
fusionate 0dc478ac00 Fax Server: Add ability to authorize domains for Email-to-Fax. 2020-12-02 12:20:10 -07:00
FusionPBX ae3ade1714
Add new setting agent_contact_method 2020-12-02 12:11:56 -07:00
FusionPBX e05de35122
Remove loopback for call center agent contact. 2020-12-02 11:54:07 -07:00
FusionPBX 38207d146f
Update the polycom_display_language description. 2020-12-01 12:56:16 -07:00
FusionPBX daeb353527
Change the default of polycom_display_language as a null value is English 2020-12-01 12:53:08 -07:00
FusionPBX f5faabf795
Add a new provision variable polycom_display_language default to enabled false. 2020-12-01 12:47:59 -07:00
FusionPBX f71d7f4d43
Update ivr_menu_copy.php 2020-12-01 12:25:25 -07:00
FusionPBX 77043d3961
Use ivr_menu_language, ivr_menu_dialect, ivr_menu_voice 2020-12-01 12:16:42 -07:00
FusionPBX af40fe0a62
Add new fields ivr_menu_dialect and ivr_menu_voice. 2020-12-01 12:13:34 -07:00
FusionPBX 485ebced6a
Use the ivr_menu_language to update the language dialect and voice. 2020-12-01 12:12:29 -07:00
fusionate c13c5182ac Destination Select - Dynamic: Clear session array for Outbound Destinations. 2020-11-30 15:53:44 -07:00
fusionate 229bc0ca4e Extensions - Delete: Restore concurrent deletion of voicemail box. 2020-11-30 14:17:30 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
FusionPBX 8b19f03ced
Merge pull request #5606 from winsock/valet_park_blf
Fix the valet auto-in parking dialplan to allow BLF presence monitoring.
2020-11-28 10:51:09 -07:00
FusionPBX 278019e4fe
Merge pull request #5607 from winsock/grandstream_dialplan
Allow park+x in the Grandstream Dialplan
2020-11-28 10:48:48 -07:00
fusionate 72e6368044 IVR Menu: Change spaces to tabs in last commit. 2020-11-27 16:33:05 -07:00
fusionate 6128269328 IVR Menu: Fix issue with CID Name Prefix missing. 2020-11-27 16:31:34 -07:00
FusionPBX 2f7f492039
Merge pull request #5608 from greenbea/patch-19
IVR menu fix Caller ID name prefix
2020-11-25 19:03:48 -07:00
FusionPBX 3ed49f00d9
Add new default settings yealink_firmware_t53w, yealink_firmware_t54s, and yealink_firmware_t54w. 2020-11-25 18:59:05 -07:00
FusionPBX deadafd01e
Add default setting yealink_firmware_t57w 2020-11-25 18:23:16 -07:00
FusionPBX 62887136b1
Add permissions ivr_menus_sub_destinations, ivr_menus_other_destinations and fix related features. 2020-11-23 09:41:35 -07:00
FusionPBX e8790a8314
Remove trailing white space. 2020-11-23 09:36:04 -07:00
FusionPBX 6be0a340f2
Improve the destination select list other category. 2020-11-23 09:32:02 -07:00
FusionPBX 7370d5cd45
Add other_destinations permission. 2020-11-23 08:52:29 -07:00
agree a7712a7582
IVR menu fix Caller ID name prefix 2020-11-22 15:23:03 -05:00
Andrew Querol f1349fac12 Allow both park+x and park+*x prefixes in the Grandstream dialplan.
See #5606 for context
2020-11-20 19:17:43 -06:00
Andrew Querol ef91055b5c Fix the names of the parking lot dialplan with the auto-in support.
This now matches the normal default valet_park dialplan with naming the lots with * prefixed.
2020-11-20 18:55:01 -06:00
FusionPBX 8be1550689
Merge pull request #5596 from demonspork/yealink-local-directory
Yealink Local Directory - Enable Local Directory. Disabled by default to preserve existing behavior (variable unset in configuration file)
2020-11-20 11:36:10 -07:00
demonspork 15894f4e17 Fixed Issue with extension limits preventing Extension Search
Extension searches would fail if an extension limit was set. This is because the unset($parameters) that was used at the end of the query that counts the extensions is also unsetting the "search" parameter that was set previously. I moved the //get total extension count for domain query to happen before the search parameter is added to fix it.
2020-11-19 17:18:51 -06:00
FusionPBX 6fd52ec721
Add select_mode 2020-11-19 09:54:32 -07:00
FusionPBX cb14ed7a77
Create resources/destinations.php 2020-11-19 09:48:38 -07:00
FusionPBX a1ac4cb1b9
Create root.php 2020-11-19 09:47:09 -07:00
FusionPBX 43f162e815
Add new destinations select_mode 2020-11-19 09:46:05 -07:00
fusionate 4b57b2b7f4 Dialplans: Include Outbound Routes in Dialplans list 2020-11-18 16:24:44 -07:00
fusionate f2a9e5e494 Call Block: Set existing with no direction as 'inbound' blocks. 2020-11-18 14:30:14 -07:00
demonspork 99e2060a50 Yealink Local Directory
Enable Local Directory. Disabled by default to preserve existing behavior (variable unset in configuration file)
2020-11-18 12:51:11 -06:00
agree 0857b79ddb
Fix accountcode when using loopback 2020-11-18 13:05:31 -05:00
FusionPBX a87a9b4311
Update app_config.php 2020-11-18 08:40:28 -07:00
FusionPBX f013aa5059
Merge branch 'master' into gxp_feature_key_sync 2020-11-18 08:39:14 -07:00
FusionPBX 3a71d0c02b
Merge pull request #5554 from greenbea/patch-14
Prevent users from overriding user_context
2020-11-18 08:28:59 -07:00
FusionPBX d660e381d7
Merge pull request #5586 from winsock/device_line_add_defaults
Ensure new lines respect proxy and address default settings.
2020-11-18 08:26:01 -07:00
phoneben c76892a5b3
Update conference_centers.php 2020-11-18 16:51:18 +02:00
phoneben bdd42af87b
Update conference_centers.php
0-11-17 20:00:36.267 UTC [6385] fusionpbx@fusionpbx ERROR:  syntax error at or near "v_meeting_users" at character 63
2020-11-17 20:00:36.267 UTC [6385] fusionpbx@fusionpbx STATEMENT:  select count(*) from v_conference_rooms as r, v_meetings as p v_meeting_users as u, where r.domain_uuid = $1 and r.meeting_uuid = p.meeting_uuid and r.meeting_uuid = u.meeting_uuid and u.user_uuid = $2

missing a comma
2020-11-18 16:04:09 +02:00