Commit Graph

4217 Commits

Author SHA1 Message Date
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
FusionPBX c5fdcb51d3 Update conference_center_edit.php 2016-10-17 17:51:17 -06:00
FusionPBX 0b44f8bf2d Update conference_room_delete.php 2016-10-17 15:12:16 -06:00
FusionPBX b1125515ae Update conference_room_delete.php
Improve the code indentation and comments
2016-10-17 14:12:25 -06:00
FusionPBX ba4b6b0b41 Update ring_group_edit.php 2016-10-16 10:43:00 -06:00
Luis Daniel Lucio Quiroz 73a2886f11 Add the capability to have extension and DID with same number (#1998)
* Add the capability to have extension and DID with same number

Same rationale than 4.0

* Update dialplan_outbound_add.php
2016-10-14 14:07:40 -07:00
FusionPBX 05abcac517 Update app_defaults.php
Change the cert directory from ssl to tls to match what FreeSWITCH is using by default.
2016-10-14 09:18:42 -06:00
FusionPBX aaadc05f81 Update conference_edit.php 2016-10-14 08:32:15 -06:00
FusionPBX 7c40f2c86d Update time_condition_edit.php 2016-10-14 08:21:45 -06:00
FusionPBX b43d871cb0 Update dialplan_outbound_add.php 2016-10-14 08:13:40 -06:00
FusionPBX d3faaf1396 Update dialplan_inbound_add.php 2016-10-14 08:11:52 -06:00
FusionPBX f308baa77f Update dialplan_inbound_add.php 2016-10-14 08:09:05 -06:00
FusionPBX 457007a773 Update extension_edit.php
Add accountcode to extensions.
2016-10-14 07:42:01 -06:00
FusionPBX 1dfa55a554 Update dialplan_copy.php
Fix the dialplan copy on the master branch.
2016-10-13 08:54:29 -06:00
FusionPBX 9074edb045 Update call_center_queue_edit.php 2016-10-10 11:40:38 -06:00
FusionPBX 76cf3be5e4 Update device_profile_edit.php 2016-10-10 10:41:57 -06:00
FusionPBX 194fb8170f Update extension_edit.php
Update permissions for extension edit.
2016-10-09 10:32:49 -06:00
FusionPBX 8c5c82de7a Update fax_edit.php
Remove the unofficial billing from fax edit.
2016-10-08 22:16:54 -06:00
FusionPBX 798fe98991 Update fax.php
Update the FAX dialplan to use the updated orm class.
2016-10-08 22:13:46 -06:00
FusionPBX a97b89311c Update 490_do-not-disturb.xml
Add *77 DND toggle.
2016-10-07 14:57:42 -06:00
FusionPBX 11c8f75946 Update conference_center_edit.php 2016-10-05 18:44:38 -06:00
FusionPBX 0eb51e24c1 Update conference_edit.php 2016-10-05 18:42:46 -06:00
FusionPBX c06c5fa5a8 Update call_flow_edit.php 2016-10-05 18:40:47 -06:00
FusionPBX fbe490dfd4 Update ring_group_edit.php 2016-10-05 18:38:07 -06:00
FusionPBX 0391693ade Update extension_edit.php 2016-10-05 18:24:53 -06:00
FusionPBX cb5228bd0f Update extension_delete.php 2016-10-05 09:34:57 -06:00
FusionPBX 5e67767f43 Update database_transaction_edit.php 2016-10-05 09:34:02 -06:00
FusionPBX 05a66df0a6 Update call_center_queue_edit.php 2016-10-05 07:28:18 -06:00
FusionPBX 4c5c8000c9 Update call_center_queue_delete.php 2016-10-05 07:25:25 -06:00
FusionPBX 93dd89e3c3 Update app_config.php 2016-10-05 06:03:28 -06:00
FusionPBX 6302279b1e Update call_center_agent_edit.php 2016-10-05 03:44:55 -06:00
reliberate 78d38090bc Call Control: Minor form layout mods, add Default Setting to control Follow Me Destination count and default Timeout value, integrate ORM. 2016-10-05 01:19:05 -06:00
FusionPBX 6a511a4621 Update extension_edit.php 2016-10-04 23:55:02 -06:00
FusionPBX 763c797f62 Update app_languages.php 2016-10-04 21:50:24 -06:00
FusionPBX 12d45dc5f9 Update call_flow_edit.php 2016-10-04 03:28:31 -06:00
FusionPBX 03cebda07d Update call_flows.php 2016-10-04 02:38:36 -06:00
FusionPBX 885a5df6fd Update app_languages.php 2016-10-04 02:19:48 -06:00
FusionPBX 38d954e88b Update ivr_menu_edit.php
Fix the recent change to IVR Menu dialplan to fix the IVR Menu exit app.
2016-10-03 22:15:46 -06:00
FusionPBX bb5c14a825 Update conference_center_edit.php 2016-10-03 20:15:28 -06:00
FusionPBX 434b1cb253 Update app_languages.php 2016-10-03 01:05:25 -06:00
FusionPBX d680697e1c Update conference_centers.php 2016-10-02 20:47:40 -06:00
FusionPBX efeaa36037 Update app_languages.php 2016-10-02 20:33:54 -06:00
FusionPBX a8f6f7f697 Update ivr_menu_copy.php 2016-10-02 16:31:44 -06:00
FusionPBX 9bdc6ee758 Update ivr_menu_edit.php
Fix a problem when adding a new IVR Menu.
2016-10-02 15:33:17 -06:00
FusionPBX 5445732e33 Update gateway_edit.php 2016-10-02 12:54:30 -06:00
FusionPBX e1556c9dc3 Update destination_edit.php
Rewrote a large amount of the page to the new class which allows for much less code. Also remove the proprietary billing system and its contributor as their code was removed. Proper integration should not have to touch project code but be a standalone plugin. If current plugin capability is not sufficient will need to expand its capabilities.
2016-10-02 11:40:49 -06:00
FusionPBX c372ece23e Update destination_edit.php
Update the dialplan destination to update the dialplan xml and adjust the array that is saved.
2016-10-02 10:26:28 -06:00
FusionPBX 40f33939ea Update device_edit.php 2016-10-02 01:13:25 -06:00
FusionPBX fa12a0f25d Update ivr_menu_edit.php 2016-10-02 01:05:40 -06:00
FusionPBX fdbbcb2fe4 Update ring_group_edit.php 2016-10-02 01:03:45 -06:00
FusionPBX 0f30617372 Update dialplan_edit.php
Fix the dialplan detail array.
2016-10-01 22:00:04 -06:00
FusionPBX 8a33431aa2 Update database_transactions.php
Additional work on the transaction search.
2016-10-01 20:06:42 -06:00
FusionPBX cf906d5e21 Update app_config.php 2016-10-01 19:44:29 -06:00
FusionPBX 94be9c00c5 Update database_transactions.php
Work on the search tool.
2016-10-01 19:40:20 -06:00
FusionPBX df1ec02c7a Update ivr_menus.php
Try again
2016-10-01 19:22:51 -06:00
FusionPBX a4cb38c0c7 Update ivr_menus.php
Completely rewrote ivr_menus.php and added a new search tool like other pages.
2016-10-01 19:21:03 -06:00