Commit Graph

1323 Commits

Author SHA1 Message Date
Mark Crane ab16d3e591 Make sure that the domain_name is correct when rendering the provisioning template. 2014-01-31 19:02:05 +00:00
Mark Crane 7d02debf01 Grandstream translate the name to to the number required to set the mode. 2014-01-31 12:52:08 +00:00
Mark Crane bfb3af254f Add the labels to the device edit. 2014-01-31 11:13:37 +00:00
Mark Crane 6525f5c13f Add additional language labels used in the select list on device_edit.php. 2014-01-31 10:27:15 +00:00
Mark Crane e278903630 Uncomment the provision_write include 2014-01-29 21:34:24 +00:00
Mark Crane 2279549a6c Uncomment the provision_write include 2014-01-29 21:34:01 +00:00
Mark Crane 9fd316a53d Add a provision write method to the provision function and use it to write the provisioning files for tftp/ftp provisioning. 2014-01-29 10:18:25 +00:00
Mark Crane 0dfe9c829f Move the provisionin code into the new provision class. 2014-01-29 04:50:50 +00:00
Mark Crane 4207aaf242 Get rid of the names in the Grandstream select type (mode) because the modes to actions are not consistent. 2014-01-28 11:35:57 +00:00
Mark Crane d53dcfadc6 Show only the correct vendor on the device edit page. 2014-01-28 11:03:05 +00:00
Mark Crane 304b77eae0 Fix the grandstream select values in the device edit page. 2014-01-28 10:44:56 +00:00
Mark Crane 1f74fdf5bf Add line and extension variables to the on demand provisioning. 2014-01-28 10:02:15 +00:00
Mark Crane eba53d1272 Add grandstream options to device edit. 2014-01-28 07:56:03 +00:00
Richard Neese b609e49620 changed the link from v_active_conferences.php to active_conferences.php
this fixes the old conference tool
2014-01-24 21:51:01 +00:00
Mark Crane e56fa0d8ff Change random seconds from 3.5 to 3 seconds. 2014-01-24 08:07:15 +00:00
Nuno Miguel Reis 8be46305a0 added meta update block again, since was causing issues like duplicate ivr_menus, one per each option added. (let it be this way until Mark decides how the new pattern will work) 2014-01-24 06:38:46 +00:00
Nuno Miguel Reis 977ef8a37b fixed ivr_menu_option details being passed to ivr_menu class 2014-01-24 06:38:38 +00:00
Mark Crane b30dce5e80 Add http authentication to provisioning. 2014-01-24 05:53:32 +00:00
Mark Crane 752c74ac50 Fix the device settings on the on demand provisioning. 2014-01-24 03:01:08 +00:00
Mark Crane cca86f21a8 Change the provisioning variables slightly this change affects. 2014-01-23 21:43:44 +00:00
Philippe Rioual ee51bea37e fixed some french translations issues 2014-01-23 21:15:49 +00:00
Nuno Miguel Reis 2578862bad registrations panel reboot options (extended) 2014-01-22 21:39:27 +00:00
Nuno Miguel Reis 05e3a61ac4 pt-ring 2014-01-21 18:03:05 +00:00
Mark Crane b8058f0a18 Set provisioning variables use device_key_type as a prefix if it was provided. 2014-01-21 14:57:10 +00:00
Nuno Miguel Reis f95f1a6485 call_block app fixed 2014-01-21 05:40:01 +00:00
Nuno Miguel Reis 0ecedb07de added missing references 2014-01-21 04:33:54 +00:00
Nuno Miguel Reis 93eec4554b fixed dialplan copy 2014-01-21 04:22:10 +00:00
Mark Crane bcca3f425f add message to devices app_languages.php 2014-01-20 20:04:24 +00:00
Mark Crane 3704a49c24 Make the device edit page one form. Adding a new record or editing anything and then press save will save everything. 2014-01-20 18:00:45 +00:00
Mark Crane a13ae479f7 Add provision/resources/classes directory 2014-01-20 17:56:19 +00:00
Mark Crane 7780b940f6 Setup a way variable for an altnerative template directory. Set the variable in advanced -> default settings, category: provision, subcategory: template_directory, type: text, value: /var/lib/fusionpbx/templates/provision
The appropriate path to the alternate provisioning directory is dependent on the operating system. The one given in this example is correct for debian and ubuntu server.
2014-01-20 11:43:19 +00:00
Mark Crane f9d7fcc3fc Device Edit, Use the new ORM for the database access, adjus the column width of some of the form elements, structure the POST into a two dimensional array, remove the submit from the array. Move the database requests before the content rather than inside the content. 2014-01-20 09:34:04 +00:00
Mark Crane 1a7c685e60 Add a new object relational model class and make the dialplan edit use for add and edit. 2014-01-19 13:09:17 +00:00
Mark Crane de32790dad Remove a redundant include. 2014-01-19 03:15:16 +00:00
Mark Crane 34ae95d45a Fix a bug created by another developer cannot set dial string to user/1001 when the extension that was called is user/1001. 2014-01-17 18:33:11 +00:00
Mark Crane d212241356 Fix the dialplan delete atomic transaction. 2014-01-17 03:04:26 +00:00
Nuno Miguel Reis 4cb72d88cc menu fixing utf8 and ring groups pt-ring option 2014-01-16 23:30:56 +00:00
Mark Crane afa1bc95f9 Add lines between the translations to sip status. 2014-01-16 20:23:46 +00:00
Mark Crane eba1954e46 Change the 'Dialplan Add' to 'Dialplan' 2014-01-16 19:59:26 +00:00
Mark Crane 3ea98975cb Change the 'Dialplan Add' title to 'Dialplan' 2014-01-16 19:52:04 +00:00
Mark Crane baf0147d64 When adding an dialplan default it to order number 200. 2014-01-16 19:41:06 +00:00
Mark Crane f487277cd0 Set the outbound routes default order to 100. 2014-01-16 19:31:08 +00:00
Mark Crane 9929d90526 Set inbound routes default order to 100, and time conditions to 300. 2014-01-16 19:20:48 +00:00
Mark Crane 55bff976ef Fix the domain name for provisioning. 2014-01-15 22:07:40 +00:00
Mark Crane cf474ed648 Add static to the device method to get rid of strict message. 2014-01-14 01:50:19 +00:00
Mark Crane 2bac44aee7 Add app/dialplan/ to the dialplan class path. 2014-01-13 14:34:13 +00:00
Mark Crane d0c9cf7715 Move the dialplan class to the dialplan/resources/classes directory. 2014-01-13 14:21:27 +00:00
Mark Crane 548a4bfaa3 Change the dialplan order number for global to 000. 2014-01-12 07:51:06 +00:00
Mark Crane 7a8f1b4cc0 Add the translation for the Message header when saving the dialplan. 2014-01-12 07:18:15 +00:00
Mark Crane 4aae336161 Add a save button to the top of the ivr menu edit. 2014-01-12 07:12:29 +00:00
Mark Crane 0b4465c21e Add a save button to ring group edit. 2014-01-12 07:12:08 +00:00
Mark Crane adf6f7c941 Set the default order number for Queues. 2014-01-12 07:03:13 +00:00
Mark Crane fbfff19d13 Add a 'save' button to the top of the device edit page. 2014-01-12 06:38:28 +00:00
Mark Crane 03a266d74e Adjust the width so it looks better in google chrome. 2014-01-12 01:01:28 +00:00
Mark Crane c1ea201d1a Update dialplan/dialplan_edit.php adjust the widths of the fields, change a few to input type text, make the add fields visible by default. 2014-01-11 22:55:54 +00:00
Mark Crane ac5b108149 Move save before copy in dialplan/dialplan_edit.php, 2014-01-11 06:12:55 +00:00
Mark Crane e2355d13c9 Add the profile to the sip registrations. 2014-01-11 06:07:24 +00:00
Mark Crane ace410914c Add a refresh button for status -> registrations. 2014-01-11 06:00:59 +00:00
Mark Crane 6de68a9bc6 Add a save button to the top of the Dialplan edit. 2014-01-11 05:52:26 +00:00
Mark Crane 8124209a0b Improve the dialplan manager so that it looks nicer and is faster to make changes. This change effects the dialplan manager, inbound routes, outbound routes, time conditions, and queues. 2014-01-10 23:58:42 +00:00
Mark Crane 1ef1431291 Rename another one of the php files to fit the naming convention. 2014-01-10 23:52:15 +00:00
Mark Crane a6ba70d196 Rename one of the php files to fit the naming convention. 2014-01-10 23:51:44 +00:00
Mark Crane f136543476 Make the destination number required for time conditions. 2014-01-10 05:23:46 +00:00
Mark Crane 52c5d15e7a Correct the method used to get the domain name from the HTTP Host. Fix the method to get the Mac address from the HTTP_USER_AGENT needed to make the Yealink common file work. 2014-01-09 22:17:09 +00:00
Mark Crane 9882ffb7a2 Uppercase some of the SQL statements, and fix the $mac address. 2014-01-09 07:36:11 +00:00
Mark Crane 302662a593 Force the sip transport to lower case. 2014-01-09 02:02:03 +00:00
Mark Crane f793647fe3 Refer to the device class and set change the sip port default. 2014-01-09 01:24:36 +00:00
Mark Crane 1f600dc1a0 When editing a device return to the edit page rather than the list. 2014-01-08 20:07:02 +00:00
Mark Crane c9ed299ced Fix the back button on the device key edit page. And fix disabled select option. 2014-01-08 19:54:33 +00:00
Mark Crane 1c93b304d2 Add a new option to reboot phones via registrations over sip notify. 2014-01-08 09:08:48 +00:00
Mark Crane 1218390641 Add 0 option to the select list for line number on the device edit page. 2014-01-05 10:42:11 +00:00
Mark Crane 5ba3fbec40 Add 0 option to the select list for line number on the device edit page. 2014-01-05 10:39:40 +00:00
Mark Crane 8f1b829345 Order the device by line number in the accounts -> extensions page. 2014-01-05 10:32:09 +00:00
Mark Crane 6697375f9c When adding a device add the auth_id. 2014-01-05 10:24:01 +00:00
Mark Crane 787205bcd5 Fix permissions checks that were missed in ring_groups.php 2014-01-04 07:45:06 +00:00
Mark Crane 5afad8ad8c Add ring groups menu permission for users in the admin group. 2014-01-04 07:16:05 +00:00
Mark Crane 958658aeae Add device key extensions to the device keys table. 2014-01-04 04:40:40 +00:00
Mark Crane 13025158fd Add device key extension for yealink. Add a device class. 2014-01-03 23:11:42 +00:00
Mark Crane b03829911c Add device_key_line 2014-01-03 08:05:46 +00:00
Mark Crane 4db58829b8 Order the keys by the key number so they appear in logical order in the template. 2014-01-03 01:23:55 +00:00
Mark Crane 56ff2df67c Add an order by to the devices page so that the position doesn't move around. 2014-01-02 23:20:15 +00:00
Mark Crane e52a282664 Add a select list for all yealink types. 2014-01-02 01:14:43 +00:00
Mark Crane b8d5940e8a Make the device keys array available to the template. 2014-01-01 06:50:15 +00:00
Mark Crane 4218a81c7a Update the key references for ring groups. 2013-12-31 10:40:38 +00:00
Mark Crane ea40d53148 Fix the insert for the new field. 2013-12-29 06:55:39 +00:00
Mark Crane eed350b38a Add the missing column to device edit. 2013-12-29 06:49:28 +00:00
Mark Crane ef1fc93499 Add Device Key Category. 2013-12-29 06:47:25 +00:00
Mark Crane 74a913fa2a Add the license to the device keys. 2013-12-29 05:20:51 +00:00
Mark Crane 6e7f170982 Remove test code on the device key edit. 2013-12-29 05:00:56 +00:00
Mark Crane 2dbe71047f Provisioning, Only check the CIDR if its provided. 2013-12-28 22:02:57 +00:00
Mark Crane 57e199a76e Require the device_setting_add permission to see the settings on the devices page. Require the device_key_add or device_key_edit permission to see the the key information on the devices page. 2013-12-27 20:52:38 +00:00
Mark Crane f1867b8835 If user is set to be globally unique then hide the auto generate user option as it won't be unique per domain. 2013-12-27 18:18:50 +00:00
Mark Crane edf3a06e49 Provision, Check to see if the IP Address is in the CIDR range.
category: provision, subcategory: cidr, type: text, enbaled: true, value: could be a single ip address or a range. 
Example: 
10.8.0.1/32 (single ip)
10.8.0.0/24 (allow all the IP addresses from 10.8.0.0-255 in the 10.8.0 subnet. 
0.0.0.0/0 (allow all ip addresses)
2013-12-23 21:28:04 +00:00
Mark Crane cc63df7d81 Check if provisioning has been enabled. It can needs to be enabled globally in advanced -> default settings or per domain in advanced -> domains.
category: provision
subcategory: enabled
type: text
value: true
enabled: true
2013-12-23 21:13:45 +00:00
James Rose 6e73edd7d5 changed context to domain_name for single tenant. Would come back as default and parked as park@1.2.3.4 2013-12-23 18:14:14 +00:00
Mark Crane b250976113 Time to make the key assignment work for provisioning. 2013-12-21 16:44:42 +00:00
Mark Crane b203a01afc Accounts -> Devices, adjust the width of the lines, keys, and settings. 2013-12-21 16:41:44 +00:00
Mark Crane 0bae62240b Remove the log line that isn't needed anymore. 2013-12-21 16:18:54 +00:00
Mark Crane ec3d44235c Conference Center. Fix a permissions and change the profile to a text box for more flexibility. 2013-12-21 16:14:42 +00:00
Mark Crane c521f874e1 Change the valet timeout to 90 seconds. 2013-12-21 01:48:19 +00:00
James Rose dae8088a3f fixed var name referred_by_user 2013-12-20 22:41:55 +00:00
Mark Crane 0fdebbbcb4 Update valet park. 1. Set the orbit extension to return the call to the original extension that referred it if the call is not answered before the timeout. 2. If the parking lot is occupied return the call to the extension that tried to park it. Team effort by Gill, James, and Mark. 2013-12-20 22:15:18 +00:00
Mark Crane 7c3279cd44 Fax list move the name before the extension. 2013-12-20 05:58:25 +00:00
Mark Crane 32896d9d2c Fix the order of the fax list. 2013-12-20 05:52:51 +00:00
Mark Crane 5f796143f5 Fix provisioning device line edit account for sip expire and port fields are numeric. 2013-12-19 21:55:45 +00:00
Mark Crane 7ed30503f6 Fixed accounts -> extensions device model and description in the select list. 2013-12-19 21:20:04 +00:00
Mark Crane 1b28bac9f7 Add vertical spacing to app_languages.php to make it more readable and add message translations. 2013-12-19 09:20:55 +00:00
Mark Crane e53f2c56d4 When adding an extension allow the voicemail password to be defined. If it is left empty then a random voicemail password is created. 2013-12-19 08:29:36 +00:00
Mark Crane 8a66839377 IVR Menu change make sure to update the dialplan xml file after an update. 2013-12-18 23:20:14 +00:00
Mark Crane 6e2e9a18d4 Fix the table header order links so they maintain the app_uuid in the link. Remove the <strong> tag as it should be handled with the title CSS class. 2013-12-18 08:54:03 +00:00
Mark Crane c6cfe1ae3b Add Trim the ivr menu option digits to prevent spaces in the ivr menu options causing problems with the IVR Menu. (Apply to the dev branch) 2013-12-18 06:37:06 +00:00
luis daniel lucio quiroz 362955150e follow me and forward now have balancing support 2013-12-18 02:04:32 +00:00
Mark Crane fcae44a0d7 Remove "feature code" text from the description on IVR Menu direct dial. 2013-12-18 00:51:43 +00:00
Mark Crane 2e5f2b6b0b Add a new table v_device_keys which is used to assign the buttons to lines, blf, park and more. Also add sip port, sip transport and register expires to device lines. 2013-12-17 16:19:54 +00:00
Mark Crane 46f87730e5 Default Extension enabled to true for those that don't have the new extension_enabled permission. 2013-12-16 21:56:19 +00:00
Mark Crane 49b22ca42b Translate the gateway uuid into the name and domain name on the SIP Status page. 2013-12-16 19:37:06 +00:00
Mark Crane 7acdde431e Add a new permission to control whether a user is allowed to enable or disable an extension. 2013-12-14 00:50:57 +00:00
Mark Crane 17ca399ef3 Fix the provision password. 2013-12-10 16:22:00 +00:00
Mark Crane 3d5c978cdd Add device settings to the dynamic provisioning. Remove the code referring to the device extensions. Update some of the indentation. 2013-12-10 16:06:14 +00:00
Mark Crane a6ddfb678c Move device settings into device edit simplify the interface and make it faster to setup provisioning. 2013-12-10 15:05:16 +00:00
Mark Crane 4f50cc2257 After adding or editing a device setting redirect back to device_edit.php. 2013-12-10 14:00:54 +00:00
Mark Crane a95988e282 Correct the name of the device setting edit php file. 2013-12-10 13:56:48 +00:00
Mark Crane 12da08f52a Correct the name of the device setting delete php file. 2013-12-10 13:56:10 +00:00
Mark Crane cb748ac588 Remove provisioning_list from extension copy. 2013-12-09 18:39:57 +00:00
Mark Crane 6b9a3b390a Remove the deprecated voicemail fields from the copy extension. 2013-12-09 16:33:19 +00:00
Mark Crane 3f06f44a17 Thought of a better way... use the arrow next to the device select list to change the select to an input box. 2013-12-08 09:00:33 +00:00
Mark Crane abba894629 Add device mac address select with an option to define provide the mac address with 'other'. 2013-12-08 08:30:16 +00:00
Mark Crane 08b9d38bb8 Change the default seconds for call center queue option tier rule wait second. 2013-12-06 19:20:44 +00:00
Mark Crane 9a170f2419 Change gateway name to gateway uuid. 2013-12-06 08:12:48 +00:00
Mark Crane 11f382825d Status -> SIP status change the gateway name and link it back to Accounts -> Gateway -> Edit. 2013-12-06 05:56:24 +00:00
Mark Crane 977cf3fe43 Add app.lua dialplan to the global dialplan and set call direction to disabled. 2013-12-01 05:22:25 +00:00
Mark Crane 0f39e0f8df Change the order to 245_page.xml to 250_page.xml. 2013-12-01 05:10:29 +00:00
Mark Crane 843f0be72a 250_global.xml to 100_global.xml 2013-12-01 05:09:12 +00:00
Mark Crane e40250fe9d rename 100_call-direction.xml to 110_call-direction.xml 2013-12-01 05:08:25 +00:00
Mark Crane dc9a20766b Fix sip status -> rescan, start, stop, restart and flush inbound registrations. 2013-11-29 19:32:09 +00:00
Mark Crane cb8279e085 Fix the gateway cache add the hostname and increase the security. 2013-11-27 16:47:06 +00:00
Mark Crane 283dee6d15 Add device and device line data to the database from accounts -> extensions. 2013-11-26 20:16:21 +00:00
Mark Crane d1b7fb5cca Provisioning fix some spelling errors, a few other minor modifications. 2013-11-26 20:09:56 +00:00
Mark Crane 4afee9555e Fix a minor bug in ring groups. 2013-11-26 19:59:46 +00:00
Mark Crane 72181c2a8c Remove provision device_extensions table in favor of the device_lines table. Set the mac address, line, and template from extensio edit php file. 2013-11-26 10:14:38 +00:00
Mark Crane b0bd055d54 Fix the label for conferences pt-pt which caused a problem for en-us. 2013-11-25 23:25:08 +00:00
Mark Crane 06cb521c10 Add PDO::FETCH_ASSOC to the fetchAll in the voicemail class. 2013-11-24 01:09:10 +00:00
Mark Crane 6ad7a8000d Provisioning fix device_setting_category and device_setting_subcategory schema definitions. 2013-11-24 00:35:02 +00:00
Mark Crane def55290ab Fix a few more voicemail gui issues: make sure the back button returns to the correct page, fix the redirect after deleting a voicemail. Fix the voicemail delete mp3 files or other sounds files other than wav or mp3. 2013-11-23 04:19:37 +00:00
Mark Crane 7bf66e93fc Refactor voicemail messages. 2013-11-22 15:26:10 +00:00
Mark Crane ea43aa5859 If the voicemails page is shown to users own show them voicemail boxes that are assigned to them. 2013-11-20 22:27:56 +00:00
Mark Crane 486d140004 On the voicemail messages page hide the greetings and settings buttons if the user doesn't have the correct view permission. 2013-11-20 20:24:50 +00:00
Mark Crane 6deb1a2750 Change the data type for sip_profile_hostname to char. 2013-11-18 17:16:38 +00:00
Mark Crane 00ed809125 Fix the case sensitivity of the fax file extension. Applied to the dev branch.
http://code.google.com/p/fusionpbx/issues/detail?id=503&start=100
2013-11-16 17:10:27 +00:00
Mark Crane a08ba77b4a Hide the gateway copy button when adding a gateway. 2013-11-15 04:20:56 +00:00