Commit Graph

4143 Commits

Author SHA1 Message Date
FusionPBX decc256aca Update voicemail_delete.php 2016-12-03 13:23:32 -07:00
FusionPBX 69cde30f8b Update voicemail.php
Validate the input to increase security in the voicemail class.
2016-12-03 12:02:14 -07:00
FusionPBX 266cbaa28d Update voicemail_messages.php 2016-12-03 11:49:51 -07:00
FusionPBX 1efc9e24e7 Update fax_send.php
Adjust the spacing for better consistency matching the rest of the code.
2016-12-02 21:35:40 -07:00
FusionPBX fb7ff49c27 Update extension_edit.php 2016-12-02 17:25:51 -07:00
Alexey Melnichuk 611a70099d Fix. Sync building `$provision` array in all places. (#2226) 2016-12-02 12:11:47 -07:00
FusionPBX 258f0f759f Update fax.php 2016-12-02 01:16:38 -07:00
jebsolutions c5a47e0287 fix: voicemail message delete bug #2100 (#2221)
bug: voicemail_id was never set so wrong path constructed and glob finds no matching files.

test case:
delete a voicemail message from the web interface

expected result:
voicemail is deleted in the database + file system

actual results:
voicemail is still on the file system
2016-12-01 11:53:12 -07:00
Alexey Melnichuk 2946866316 Fix. Use `Ivr Menu/application` settings to switch IVR engine. (#2219) 2016-12-01 11:51:55 -07:00
FusionPBX 49390a0bc2 Update sql_query_result.php
Prevent php warnings.
2016-12-01 05:40:51 -07:00
jebsolutions 94f7d06aef add iNum Dial pattern to dialplan drop-down (#2201)
+011-883-5100-xxxx-xxxx

Most voip providers will give you a free iNum number.  Calls between iNum numbers are typically free.
2016-11-30 20:54:24 -07:00
FusionPBX f14f2fe57d Update provision.php
Prevent a warning on the provisioning class.
2016-11-30 20:50:17 -07:00
Chris Black 1431a8a3fb Voicemail to sms notification (#2205)
Requires that you have fusionpbx-apps/sms

Doesn’t impact anything if you don’t have it. Must be enabled with
default_setting voicemail_to_sms

Everything is disabled by default and the fields in voicemail_edit.php
are hidden by default.
2016-11-30 16:26:39 -07:00
FusionPBX 7ea7490e0e Update extension_copy.php
Change the duplicate message from green to red.
2016-11-29 12:08:11 -07:00
FusionPBX 1f89e76f99 Update extension_copy.php 2016-11-29 11:56:05 -07:00
FusionPBX 6e5b6f5264 Update extension.php 2016-11-29 11:51:33 -07:00
FusionPBX 08c994ebe6 Update extension.php
Improve the extension->exists method.
2016-11-29 11:38:00 -07:00
FusionPBX 537083bd56 Update extension.php
Update the function exists method.
2016-11-29 11:04:00 -07:00
FusionPBX 8c138e3ae4 Update dialplan.php 2016-11-26 23:14:43 -07:00
FusionPBX 3f835ae957 Update call_center_active_inc.php 2016-11-26 21:44:20 -07:00
FusionPBX bf60efb15c Update database_transaction_edit.php 2016-11-26 21:37:43 -07:00
FusionPBX 96720a7825 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 cc06a78543 Update index.php 2016-11-26 18:35:10 -07:00
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