Commit Graph

4172 Commits

Author SHA1 Message Date
FusionPBX defcd0bc86 Update provision.php
Add if is_array statements before using the array to prevent warnings if the array isn't defined.
2016-11-26 18:42:22 -07:00
FusionPBX 238543f982 Update index.php 2016-11-26 18:35:10 -07:00
FusionPBX f172b08db3 Update gateways.php
Reverse the changes to the Gateways list to fix multiple bugs introduced to it from a pull request.
2016-11-25 20:37:44 -07:00
jebsolutions 6ea4a34630 fix for issue #2190 missing } (#2191) 2016-11-25 10:03:07 -07:00
jebsolutions 89d4dcb959 additional error handling for backup/restore (#2187)
prerequisite:
- add at least one backup path to the Advanced->defaults
- do NOT install rar archive/de-archive programs

test case #1
- go to backup screen and download backups as rar

test case #2
- go to backup screen and upload a RAR file

expected result:
- get a sign that an error occurs

actual result:
- not clear if it failed, or why

fix:
added error message.  And you will get the top-bar warning in red on error instead of in green.

note: cut-pasted from google translate for "extraction failed" part of message-restore_failed_extract
2016-11-24 20:53:03 -07:00
FusionPBX 20bdf00eac Update voicemails.php
Uppercase the SQL, cast voicemail id as text, and add sterilize user data.
2016-11-24 13:01:32 -07:00
FusionPBX 5fa05c2bbf Update extension_edit.php
Prevent a SQL error when adding a new user.
2016-11-24 12:21:55 -07:00
FusionPBX 9cac833ee3 Update extension.php
Remove the extra exists method added a few hours ago.
2016-11-24 11:03:13 -07:00
Alexey Melnichuk e3e5e2fcfc Fix. Add missing braces in gateways.php (#2179) 2016-11-24 10:09:14 -07:00
FusionPBX da5c667202 Update extension_edit.php
Use check_str on extension edit when building the sql queries. In the future will switch to PHP PDO prepared statements with parameters. This change fixes a problem where the check_str is used twice and duplicating the single quote.
2016-11-24 03:21:35 -07:00
Mafoo 031c2ea2d8 observe gateway_domain permision more strictly (#1673)
make observation of the gateway_domain permission more strict when
generating edit and delete links
generate edit_link and delete_link once
2016-11-24 00:28:38 -07:00
jebsolutions 9626f23072 prevent cloning duplicate extensions (master #1821) (#2033)
* prevent cloning duplicate extensions

app/extensions/app_languages.php
+ add duplicate extension error prompt

app/extensions/extension_copy.php
+ add check to see if duplicate extension exists

app/extensions/resources/classes/extension.php
+ add function to check if extension exists

* fix typo

* Update app_languages.php

* Update extension_copy.php

* Update extension.php

* Update extension_copy.php

Use the global app_languages.php message-duplicate translation.

* Update extension_copy.php

* Update extension.php
2016-11-24 00:23:44 -07:00
konradSC 156ffca498 Registration search (#2151)
* Update status_registrations.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php
2016-11-23 23:20:51 -07:00
FusionPBX df648b7b8b Update provision.php
Allow provision variables of type boolean and numeric.
2016-11-23 22:42:46 -07:00
FusionPBX f2362aa7aa Create recording_play.php
Add the missing recording play file.
2016-11-23 22:08:33 -07:00
FusionPBX 37f4fc42eb Update xml_cdr_details.php
Fix the recording links in the xml cdr details.
2016-11-23 22:01:37 -07:00
konradSC d73c09c866 Device profile settings (#2165)
* Update app_config.php

* Update device_profile_edit.php

* Update device_setting_delete.php

* Update provision.php
2016-11-23 12:28:59 -07:00
FusionPBX d2b65acc3a Update xml_cdr.php 2016-11-23 05:24:33 -07:00
jebsolutions c2dc99bdb9 [master] fix bug #2017 ring groups broken until re-save (#2108)
test case:
Create a new ring group with one extension.
Immediately dial the ring group number.

expected result:
Phone rings.  No errors in log.

actual result:
Call terminates and log has "0" as ring_group_uuid and a sql error.
Note: editing and re-saving the ring group works around the problem

The Problem:
Line 162: non-existent variable...being checked is returned as false  = 0

Line 278: Xml gets generated with bogus zero...

Line 298: Generate a new uuid...but too late.  We already generated the xml dial plan which will be invalid until we edit and resave this ring group.

fix:
Generate uuid before generating xml
2016-11-21 21:53:56 -07:00
jebsolutions b36051f73f fix orphan v_ring_group_users after deleting ring group (#2110)
* fix orphan v_ring_group_users after deleting ring group

steps to test:
create a ring group with one extension and one user.  This will add one user to v_ring_group_users.  Delete the ring group.

expected result:
ring group and all it's components are deleted

actual result
v_ring_group_user entry for this ring group is not deleted.

This fix: deletes v_ring_group_user when ring group is deleted.

* Update ring_group_delete.php

* Update ring_group_delete.php

Remove the hidden spaces
2016-11-21 13:59:12 -07:00
FusionPBX e8e7825f2c Update dialplan.php 2016-11-20 14:01:59 -07:00
Alexey Melnichuk abba829aae Add. Increment number-alias and MWI account number when generates multiple extensions. (#2078) 2016-11-17 11:46:25 -07:00
Alexey Melnichuk 63ebb355fa Add. Support number_alias field as presence id in follow me/call forward (#2075) 2016-11-17 11:40:22 -07:00
FusionPBX e0d2ba605a Update app_defaults.php 2016-11-12 20:48:16 -07:00
FusionPBX 6af1e391fe Update call_flow_edit.php
Escape the + with the back slash when used in the dialplan.
2016-11-11 13:55:11 -07:00
FusionPBX 7f98064094 Update fax_send.php
Get fax variables from default settings and use them for sending.
2016-11-11 13:19:52 -07:00
FusionPBX f24df67e35 Update app_defaults.php
Ignore ringing to improve fax success rate.
2016-11-11 13:05:51 -07:00
FusionPBX 6a992f0fc0 Create 505_call-forward-all.xml 2016-11-10 15:16:58 -07:00
FusionPBX 5fe295a818 Update extension.php
Add exists method to the extension class.
2016-11-05 22:32:20 -06:00
jebsolutions 54d7e41f6e app/fax/app_defaults.php: (#2031)
+ fix: duplicate check only within same default_setting_category.  This fixes the bug where "keep_local" for fax wasn't being created because there was a "keep_local" for voicemail.  Without this fix you will get a lua error due to the field not being set and nothing shows up in the sent faxes log.

fax/fax_log_view.php:
+ fix: back button text is missing.  Copied correct localized text code from another fax page that worked.

app/fax/app_config.php
+ fix: date field is now timestamp for postgres+mysql.  This fixes the listing only showing the date, not the time as well.

Note: app->defaults doesn't change field types.  Existing installs will have to manually update the field type e.g. for postgres:

sudo -sHu postgres
\d fusionpbx
alter table v_fax_logs alter column fax_date type timestamp without time zone;
\q
2016-11-03 16:24:40 -06:00
Chris Black e7fae7587e add built in ability for microsoft bing speech to text (#1960)
* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00
FusionPBX bd7867ef5e Update extension_edit.php
Fix the link thanks KonradSC for reporting the problem.
2016-11-01 21:54:37 -06:00
FusionPBX c50c228190 Update follow_me.php 2016-11-01 13:45:51 -06:00
FusionPBX 3786fa2a65 Update call_forward.php 2016-11-01 13:37:43 -06:00
jalr 7cb70299f4 Add German indications (#2005) 2016-11-01 11:02:21 -06:00
FusionPBX abf61c5ea2 Update conference_control_details.php 2016-10-29 00:21:05 -06:00
FusionPBX 9e05dd38d8 Update conference_control_edit.php 2016-10-29 00:15:29 -06:00
FusionPBX 8221f53be7 Update conference_controls.php 2016-10-29 00:11:56 -06:00
FusionPBX b11f927089 Update call_flow_edit.php
Escape the * with \* if it is used in the extension or feature code.
2016-10-28 15:25:38 -06:00
FusionPBX b423ab88eb Update call_center_queue_edit.php 2016-10-27 13:19:48 -06:00
FusionPBX 24f33e3b72 Update call_center_agent_delete.php 2016-10-27 13:17:09 -06:00
FusionPBX 7e0061d221 Update call_center_queue_delete.php 2016-10-27 13:15:55 -06:00
FusionPBX aef9abc28c Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX edf8117215 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
FusionPBX 7fa3d4fc66 Update dialplan_inbound_add.php
Use the database save class when adding an inbound route.
2016-10-23 22:00:04 -06:00
FusionPBX c814250c54 Update app_config.php 2016-10-23 13:20:55 -06:00
FusionPBX 3fa2f7fa0f Update app_defaults.php
Add number_as_presence_id in default settings provision category.
2016-10-23 13:13:34 -06:00
FusionPBX bda099197c Update scripts.php 2016-10-23 13:00:31 -06:00
FusionPBX de21bea941 Update device_profile_copy.php 2016-10-23 10:58:51 -06:00
FusionPBX 6b841bca1a Update ivr_menu_copy.php 2016-10-23 10:44:35 -06:00
FusionPBX d5f8027ed1 Update fax.php 2016-10-23 00:20:29 -06:00
FusionPBX 2f689607f1 Update call_center.php 2016-10-23 00:18:31 -06:00
FusionPBX fa34450488 Update device_profile_copy.php 2016-10-23 00:12:58 -06:00
FusionPBX 20a9384433 Update ivr_menu_copy.php 2016-10-22 23:51:12 -06:00
FusionPBX f937f58c8a Update device_copy.php 2016-10-22 23:44:45 -06:00
FusionPBX 71c5e4b117 Update app_defaults.php 2016-10-22 23:34:26 -06:00
FusionPBX 6395141b07 Update device_edit.php 2016-10-22 23:30:11 -06:00
FusionPBX 01991d69aa Update time_condition_edit.php 2016-10-22 23:24:28 -06:00
FusionPBX c136354fc8 Update device_profile_edit.php 2016-10-22 23:19:25 -06:00
FusionPBX 5457a203b4 Update destination_delete.php 2016-10-22 23:14:28 -06:00
FusionPBX 520d15f8c2 Update dialplan_xml.php 2016-10-22 23:07:14 -06:00
FusionPBX 3c33b7b151 Update ivr_menu.php 2016-10-22 23:03:16 -06:00
FusionPBX 7619cca7fb Update dialplan_copy.php 2016-10-22 23:00:23 -06:00
FusionPBX fcdf4ba9d1 Update dialplan_edit.php 2016-10-22 22:58:36 -06:00
FusionPBX c07895ffc3 Update call_center_agent_edit.php 2016-10-22 22:57:03 -06:00
FusionPBX 7f55015629 Update app_defaults.php 2016-10-22 22:53:41 -06:00
FusionPBX 992bc2feb2 Update app_defaults.php 2016-10-22 22:44:01 -06:00
FusionPBX 45bf21662f Update app_defaults.php 2016-10-22 22:36:16 -06:00
FusionPBX 06552978ca Update app_defaults.php 2016-10-22 21:26:39 -06:00
FusionPBX c4d35d2cb8 Update app_defaults.php 2016-10-22 21:21:17 -06:00
FusionPBX c8e3b98a38 Update app_defaults.php 2016-10-22 21:13:51 -06:00
FusionPBX 44a8702e31 Update app_defaults.php 2016-10-22 21:12:48 -06:00
FusionPBX 74c457445a Update app_defaults.php 2016-10-22 18:51:45 -06:00
FusionPBX f849fa44ce Update app_defaults.php 2016-10-22 18:50:56 -06:00
FusionPBX f4d2762479 Update app_defaults.php 2016-10-22 17:20:24 -06:00
FusionPBX 20ef9053aa Update app_defaults.php 2016-10-22 16:37:56 -06:00
FusionPBX f0cc434526 Update dialplan_outbound_add.php 2016-10-21 13:28:13 -06:00
FusionPBX 08faef2e89 Update gateway_edit.php 2016-10-21 10:24:44 -06:00
FusionPBX 83d277f0cd Update destination_edit.php 2016-10-21 10:24:01 -06:00
FusionPBX 6289f80c2d Update call_flow_edit.php 2016-10-21 10:21:56 -06:00
FusionPBX 67822a92ed Update call_center_queue_edit.php 2016-10-21 10:21:14 -06:00
FusionPBX 1fed20775f Update ivr_menu_edit.php 2016-10-21 10:20:44 -06:00
FusionPBX d16d625eac Update extension_edit.php 2016-10-21 10:19:45 -06:00
FusionPBX 51fe5c1590 Update conference_center_edit.php 2016-10-21 10:17:03 -06:00
FusionPBX 6ebd08e040 Update device_edit.php 2016-10-20 09:39:48 -06:00
FusionPBX ad4bd157a7 Update dialplan_edit.php 2016-10-20 09:38:08 -06:00
FusionPBX d2b28c7ddc Update dialplan_outbound_add.php 2016-10-19 13:37:56 -06:00
FusionPBX ba35b7042d Update call_flow_edit.php 2016-10-18 09:37:26 -06:00
FusionPBX 40207f104d Update conference_center_edit.php 2016-10-18 09:36:18 -06:00
FusionPBX 987fa69b9e Update gateway_edit.php 2016-10-18 09:35:13 -06:00
FusionPBX 4c7bc76790 Update destination_edit.php 2016-10-18 09:33:35 -06:00
FusionPBX 1f5af1df38 Update call_center_agent_edit.php 2016-10-18 09:31:37 -06:00
FusionPBX 55968ebcd3 Update call_center_queue_edit.php 2016-10-18 09:30:26 -06:00
FusionPBX 5dd4bd7857 Update call_edit.php 2016-10-18 09:28:23 -06:00
FusionPBX 6639f3d989 Update dialplan_edit.php 2016-10-18 09:21:48 -06:00
FusionPBX 2e0a872a08 Update device_edit.php 2016-10-18 09:19:20 -06:00
FusionPBX ede281ce51 Update extension_edit.php 2016-10-18 09:16:33 -06:00
FusionPBX de53439487 Update ivr_menu_edit.php 2016-10-18 09:07:04 -06:00
FusionPBX bd15a0a52d Update extension.php 2016-10-18 00:18:32 -06:00
FusionPBX 28f2a13634 Update conference_room_delete.php 2016-10-17 17:52:23 -06:00