Commit Graph

4120 Commits

Author SHA1 Message Date
FusionPBX 90d9fbff02 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 edd220198e fix for issue #2190 missing } (#2191) 2016-11-25 10:03:07 -07:00
jebsolutions 23326d6918 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 67c8e5f567 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 467214b2cd Update extension_edit.php
Prevent a SQL error when adding a new user.
2016-11-24 12:21:55 -07:00
FusionPBX 41614372d0 Update extension.php
Remove the extra exists method added a few hours ago.
2016-11-24 11:03:13 -07:00
Alexey Melnichuk 72cd24d0d5 Fix. Add missing braces in gateways.php (#2179) 2016-11-24 10:09:14 -07:00
FusionPBX a53ed3540e 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 7962e60206 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 03f95d865b 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 19fa07c29a 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 4ff9f0c756 Update provision.php
Allow provision variables of type boolean and numeric.
2016-11-23 22:42:46 -07:00
FusionPBX eae984032a Create recording_play.php
Add the missing recording play file.
2016-11-23 22:08:33 -07:00
FusionPBX be19ad6bfb Update xml_cdr_details.php
Fix the recording links in the xml cdr details.
2016-11-23 22:01:37 -07:00
konradSC a7b76b7a84 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 2c7715dcfd Update xml_cdr.php 2016-11-23 05:24:33 -07:00
jebsolutions 076a02b41c [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 1da4785b41 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 af55379d19 Update dialplan.php 2016-11-20 14:01:59 -07:00
Alexey Melnichuk c59c0a4c59 Add. Increment number-alias and MWI account number when generates multiple extensions. (#2078) 2016-11-17 11:46:25 -07:00
Alexey Melnichuk c30eb90839 Add. Support number_alias field as presence id in follow me/call forward (#2075) 2016-11-17 11:40:22 -07:00
FusionPBX 536b7d0ed8 Update app_defaults.php 2016-11-12 20:48:16 -07:00
FusionPBX d87f92608d 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 8445a2bffb Update fax_send.php
Get fax variables from default settings and use them for sending.
2016-11-11 13:19:52 -07:00
FusionPBX 38aae2a9be Update app_defaults.php
Ignore ringing to improve fax success rate.
2016-11-11 13:05:51 -07:00
FusionPBX 7f58a05e0c Create 505_call-forward-all.xml 2016-11-10 15:16:58 -07:00
FusionPBX 81e92ed003 Update extension.php
Add exists method to the extension class.
2016-11-05 22:32:20 -06:00
jebsolutions 27694ba988 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 7c4a726766 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 f65beacebc Update extension_edit.php
Fix the link thanks KonradSC for reporting the problem.
2016-11-01 21:54:37 -06:00
FusionPBX 86fc5c9f51 Update follow_me.php 2016-11-01 13:45:51 -06:00
FusionPBX 305651724b Update call_forward.php 2016-11-01 13:37:43 -06:00
jalr 8a3e0503cf Add German indications (#2005) 2016-11-01 11:02:21 -06:00
FusionPBX 9039a32923 Update conference_control_details.php 2016-10-29 00:21:05 -06:00
FusionPBX 0aa3b09053 Update conference_control_edit.php 2016-10-29 00:15:29 -06:00
FusionPBX afc4289e81 Update conference_controls.php 2016-10-29 00:11:56 -06:00
FusionPBX 166e81e9f5 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 04dcdce88d Update call_center_queue_edit.php 2016-10-27 13:19:48 -06:00
FusionPBX 2ff221703c Update call_center_agent_delete.php 2016-10-27 13:17:09 -06:00
FusionPBX 91ca9bae66 Update call_center_queue_delete.php 2016-10-27 13:15:55 -06:00
FusionPBX 29021963fa Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX 549332b457 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
FusionPBX cfd59cbcb6 Update dialplan_inbound_add.php
Use the database save class when adding an inbound route.
2016-10-23 22:00:04 -06:00
FusionPBX 8ad0847d2a Update app_config.php 2016-10-23 13:20:55 -06:00
FusionPBX fef88f0873 Update app_defaults.php
Add number_as_presence_id in default settings provision category.
2016-10-23 13:13:34 -06:00
FusionPBX 6e44bb2be8 Update scripts.php 2016-10-23 13:00:31 -06:00
FusionPBX 10f1c42509 Update device_profile_copy.php 2016-10-23 10:58:51 -06:00
FusionPBX 2a5246fe41 Update ivr_menu_copy.php 2016-10-23 10:44:35 -06:00
FusionPBX cb2e0df06c Update fax.php 2016-10-23 00:20:29 -06:00
FusionPBX 12f2214194 Update call_center.php 2016-10-23 00:18:31 -06:00