Commit Graph

284 Commits

Author SHA1 Message Date
markjcrane a7a472c86a Add a new permission extension_user_context. 2015-07-31 09:37:53 -06:00
markjcrane 2353b9622a Change else if to elseif on extension_edit.php 2015-07-31 09:18:27 -06:00
Alexey Melnichuk a4b0b2d271 Merge branch 'master' into number_alias_as_vm_id
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
markjcrane ae99066dcd The extension_password permission is not needed on the field name as the password is auto-generated. Because of this its only needed on the update. 2015-07-06 12:15:03 -06:00
Alexey Melnichuk e89a499b2c Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Mark Crane 34f6a889b9 Fix the the syntax so the default will work correctly. 2015-06-23 21:13:22 +00:00
Mark Crane 553d3a9c49 Add call_screen_enabled to the extension insert, update and then set the default to false. 2015-06-23 20:42:26 +00:00
Mark Crane 22dd5b6658 Add extension_call_screen permission, and add call_screen_enabled to extensions/extension_edit.php. 2015-06-23 20:06:44 +00:00
Mark Crane 71b0956e9a Add call_screen_enabled to extension_edit.php. 2015-06-23 19:59:51 +00:00
Mark Crane 4d5b09e7b5 Move extension devices up on the page to make it more convenient for configuring devices. 2015-06-23 19:43:12 +00:00
Nate Jones 60963abd4f Ring Groups: Added Missed Call notification interface.
Extensions: Removed unnecessary echoes.
2015-06-19 16:33:05 +00:00
Mark Crane 8a761fdfcb Unhide mwi_account again. 2015-06-11 00:17:27 +00:00
Nate Jones c096530d89 Extension: Hide MWI Account field till functionality restored. 2015-06-02 21:51:15 +00:00
Nate Jones 46bbdeaa38 Extensions: Missed Call notification option. 2015-05-23 02:11:26 +00:00
Mark Crane aaba392446 Fix the syntax by adding a missing ). 2015-05-20 22:34:16 +00:00
Mark Crane 2ee03aa15b A few more adjustments for the new password permissions. 2015-05-20 22:32:55 +00:00
Mark Crane f281d4fa40 Add extension_password and device_line_password permissions. Goal is to make it possible to hide the password from the admin as desired by the superadmin. 2015-05-20 22:24:19 +00:00
Mark Crane dd929e5f6c Allow limit max to set to 0 to disable the extension calling. 2015-05-20 16:54:55 +00:00
Mark Crane d022ddcdc8 Add missing commas. 2015-05-20 02:28:10 +00:00
Mark Crane a04e45f63d Add defaults for sip port and transport, expires to extension_edit.php. 2015-05-20 02:21:10 +00:00
Nate Jones 60856cc6f5 Extensions: Only show Call Control button on edit. 2015-05-05 16:45:35 +00:00
Nate Jones b9d28743f7 Extension Add: Fix for Issue 910 - Skip check on extensions limit if not defined. 2015-04-10 14:42:55 +00:00
Digital Daz 03f5a6854e Prevent users bypassing extension limits by using range 2015-04-07 23:50:36 +00:00
Nate Jones 73d0629ba2 Extensions: Added direct link to Calls page, requested in Issue 870. 2015-03-25 17:11:07 +00:00
Nate Jones 6f4209e2f6 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane f08e4be71b Set the user_context on an extension to the domain name. 2015-03-22 03:22:05 +00:00
Nate Jones 349185b8a7 Voicemail: Added default settings to control default Voicemail File and Keep Local settings when creating new extensions and/or Voicemail boxes. 2015-03-20 01:09:18 +00:00
Nate Jones 8485694537 Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Mark Crane 3b9224bb44 Set the user context to the domain name. 2015-03-10 10:48:50 +00:00
Mark Crane e0b1ad7ec1 Add a new permission to hide the dial string from admins by default. 2015-02-28 16:18:12 +00:00
Nate Jones 71a861580c Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Nate Jones e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 501d074c1a Remove the extension password as required if its empty then it provides a default password. 2015-01-28 18:37:56 +00:00
Nate Jones 5d62e3ea04 Extension Edit: Restore mouseover reveal on VM Password. 2015-01-27 18:19:34 +00:00
Mark Crane bd75dc5665 Remove the type numeric from the voicemail password as it conflicts password reveal code. 2015-01-27 18:11:05 +00:00
Mark Crane 2f8a5b662e Add the project path to accounts -> extensions and device MAC address link. 2015-01-24 02:15:18 +00:00
Mark Crane 96e826bcc9 Enable ability to have global gateways. 2015-01-22 11:10:51 +00:00
Mark Crane d718423e86 Simplify use of domain_uuid in extensions.php. 2015-01-20 20:59:27 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 2bb98fb2e5 Switch the email to text as voicemail_mail_to can be more than one email address which is not allowed using the email type. 2015-01-17 08:21:33 +00:00
Mark Crane bee6b9ae5e Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
luis daniel lucio quiroz 6924e0a834 HTML5 input patter for mac address 2014-12-23 01:06:20 +00:00
luis daniel lucio quiroz 01e2d4fd13 HTML5 input tags for extension_edit 2014-12-21 05:46:21 +00:00
Nate Jones 781218cb6a Issue 782 Fix: Account Code previously set by SuperAdmin was being overwritten if Admin saved extension without billing system present. 2014-12-10 03:13:46 +00:00
Mark Crane 0ae21c9bfa Set the device line_number default to 1. 2014-11-20 02:34:03 +00:00
Mark Crane f40194f219 When assigning and extension to a device set the display_name. 2014-10-28 03:26:01 +00:00
luis daniel lucio quiroz c13fa44e98 server side verifications of accountcode 2014-08-08 12:37:06 +00:00
luis daniel lucio quiroz 86113f7d32 admin only can set specific accountcodes 2014-08-08 12:19:48 +00:00
luis daniel lucio quiroz cc45613328 just a little format to have the same code 2014-08-05 22:37:23 +00:00
luis daniel lucio quiroz 7fb66e521b billing needs to convert to billing currency always! 2014-08-05 22:27:12 +00:00
Nate Jones eef73fd005 Input Type Switch Button: Changed from left triangle (⨞) to left triangle (◁), as wasn't displaying properly in FF on Mac. 2014-08-03 07:02:12 +00:00
Nate Jones 16105f7d3a Input Type Switch Button: No interprets HTML entities code for left triangle (⨞) after switching element type once (wasn't being parsed as an HTML entity, but displayed literally). 2014-08-03 06:12:10 +00:00
Nate Jones abcc96f0ad Input Type Switch Button: Changed from < to left triangle (&#10782;) 2014-08-03 05:31:42 +00:00
Mark Crane 3814da4a42 Use the session domain_uuid rather than the domain_uuid variable 2014-08-01 14:02:45 +00:00
luis daniel lucio quiroz a24dd89b59 billing now supports domain_uuid to let currect domain erasing work properly, missing support to bill extension created added 2014-08-01 13:14:50 +00:00
luis daniel lucio quiroz ee6a13acd9 nibble_account can only be changed by superadmins 2014-07-25 22:33:56 +00:00
Nate Jones 135741c237 Extensions: Provisioning MAC Address select box set to a fixed width to prevent Advanced section column width inconsistency. 2014-07-11 05:34:27 +00:00
Nate Jones dc2196dd6f Document (Window) Title: Update variable name to avoid conflict when paging is used. 2014-07-10 00:32:50 +00:00
Nate Jones f428196e75 Misc: jQuery goodness for Advanced buttons. 2014-07-07 19:33:17 +00:00
luis daniel lucio quiroz f77545bf40 extension app is getting ready for billing 2014-06-25 17:45:48 +00:00
Omar Irbouh 05baa7b69c display users as link 2014-06-21 01:51:05 +00:00
luis daniel lucio quiroz e27959492e pre-filling by default accountcode with current _SESSION[domain_name] only for superadmin and when adding 2014-06-18 12:22:38 +00:00
luis daniel lucio quiroz 452939a2b7 do not change accountcode when updating and not superadmin 2014-06-18 12:10:46 +00:00
luis daniel lucio quiroz 4f2b2fd4a3 accountcode can only be set by superadmin, domain value set by default 2014-06-18 11:53:31 +00:00
Mark Crane 21b3b66571 Fix the voicemail mail to. 2014-05-25 06:59:55 +00:00
Mark Crane 9244908718 Fix the layout for the extension show advanced button 2014-05-25 05:40:06 +00:00
Mark Crane 4459e57272 Adjust advanced button html for extensions 2014-05-25 02:49:00 +00:00
Mark Crane ac47cc2828 Add ability to configure the extension directory xml to provide the option to use freeswitch voicemail 2014-05-25 01:43:47 +00:00
Nate Jones 05c86a1b6d Extension Edit: Password changes are now reflected on any Device having the extension assigned to any lines. 2014-05-08 04:46:36 +00:00
Nate Jones 53d1ed5045 Extension Edit: Adding and deleting users and/or device lines on an extension now saves any OTHER changes made to the page. 2014-05-06 20:21:11 +00:00
Nate Jones b1ed97499f Extension Edit - Removed ability to assign the same user twice. 2014-05-02 05:07:29 +00:00
Mark Crane 97597ee3f1 Get the emergency caller id name from the database 2014-05-01 04:24:44 +00:00
Mark Crane 6ddd47ff62 Add emergency caller id name to accounts -> extensions 2014-05-01 04:18:27 +00:00
Nate Jones cd46b1b1db Extension Copy more complete and includes voicemail. 2014-05-01 02:48:25 +00:00
Nate Jones b983e635fc Fixed Issue 534 - Replaces space with dash 2014-04-27 07:30:40 +00:00
Nate Jones bac3749ddd Submit button also placed at top; reordered to right margin, too. 2014-04-26 22:50:52 +00:00
Mark Crane 27dbe83464 When assigning an extension to a device make sure the device template is saved 2014-04-24 07:55:59 +00:00
Mark Crane 3e032fbd4f When saving changes stay on the extension edit 2014-04-18 21:16:41 +00:00
Nate Jones d23281344f Fixed default select box values (Extensions) 2014-04-15 00:54:01 +00:00
Mark Crane 7cf7ca98dc Add user_record to the extensions table and make it save the value. 2014-04-03 17:32:38 +00:00
Mark Crane 68d6a3b204 Add an option to record calls for an extension. 2014-04-02 06:43:11 +00:00
Mark Crane 6f412254a1 Add translations for the select options for sip force contact and for sip bypass media. 2014-04-02 06:41:16 +00:00
Mark Crane 2a7610ca11 Update the year on extensions page. 2014-04-01 20:17:04 +00:00
Nate Jones 55aada9d3c Added Default Settings allowing control of system generated password lengths and strengths. Consistified (new word) password generation between Extension add and edit. Layout adjustment of Default Settings list. 2014-03-13 21:09:41 +00:00
Nate Jones cf41e4faac Added "TLS" to "Rewrite Contact Port" in select option label. 2014-03-12 16:28:45 +00:00
Nate Jones 825d59c2de Trying both onfocus and onmouseover to accommodate ease of use on both desktop and mobile devices. 2014-03-07 01:20:26 +00:00
Nate Jones 684d894b95 Changed view action to onfocus, instead of onmouseover, testing... 2014-03-07 01:15:04 +00:00
Nate Jones 2878fe8f54 Small password input viewing modification. 2014-03-06 23:31:03 +00:00
Mark Crane 2e2c31eb36 Hide Device Provisioning on the extensions page if app/devices is not installed. 2014-03-04 05:59:34 +00:00
Mark Crane 2eabe478f2 Do not include the voicemail unless the app/voicemails directory exists. 2014-03-04 05:49:38 +00:00
Mark Crane ae7f672025 Only show music on hold select if app/music_on_hold directory exists. 2014-03-04 05:41:28 +00:00
Nate Jones 036b77e8dc Fixed css class on user select box 2014-02-26 01:52:57 +00:00
Mark Crane dc46d7fa8d Widen the extension device line select list to an acceptable width for Internet Explorer. 2014-02-25 09:01:15 +00:00
Nate Jones 2241268f01 Response message updates. 2014-02-23 06:46:10 +00:00
Mark Crane a2ad874acf Update the extension template list. 2014-02-22 23:38:14 +00:00
Mark Crane e278903630 Uncomment the provision_write include 2014-01-29 21:34:24 +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 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 7ed30503f6 Fixed accounts -> extensions device model and description in the select list. 2013-12-19 21:20:04 +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 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 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 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 283dee6d15 Add device and device line data to the database from accounts -> extensions. 2013-11-26 20:16:21 +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 97ca985a57 Get the voicemail data to display on the extension page from the voicemail table. 2013-09-29 08:06:54 +00:00
Mark Crane 8ebfbdba15 Voicemail information should only be saved in the voicemail table. 2013-09-28 20:55:25 +00:00
Mark Crane e9aa47069c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +00:00
Mark Crane 716dc92852 Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane 2c24a3484b Remove the spaces from the 'Voicemail Mail To' addresses. 2013-06-03 14:26:50 +00:00
Nate Jones 545f21a1e5 Multilinguified Copy button prompt. 2013-05-30 00:41:30 +00:00
Nate Jones aa013ee01f Corrected browser title to display properly for Extension Edit and Add. 2013-05-07 23:11:37 +00:00
Nate Jones 4fee258efe Copy now writes XML file. Edit modified to check is_writable instead of is_readable. 2013-05-04 02:23:32 +00:00
Nate Jones f6aeae53e3 Multilingualified the Extensions app. Added ability to preset the new extension when the Copy button is clicked. 2013-05-04 00:35:21 +00:00
Mark Crane 4f03720be6 Uncomment and fix the follow me caller id prefix but only show it for people with the follow_me_cid_name_prefix. Add follow me to the app menu. 2013-05-01 17:05:53 +00:00
Mark Crane b132db8eeb Make the provisioning use device extension table. 2013-04-28 07:24:41 +00:00
Mark Crane 75368a2d65 Enhance the extension class to include voicemail database management. 2013-04-12 23:30:48 +00:00
Mark Crane 01e44d08c6 Fix the new call timeout. 2013-04-02 22:58:09 +00:00
Mark Crane f4bd3cef5c Add call_timeout to extensions. 2013-04-02 07:36:28 +00:00
Mark Crane 9db92e6fe1 Fix a few bugs caused by changes to provisioning on the dev branch. 2013-03-26 23:51:22 +00:00
Mark Crane faeee96624 Change kick and kick all to uuid_kill so that the participant's call is logged to the database. Fix recordings and the announce that the call is being recorded for the first person to join the conference. Add a permission to control the conference session 'details' column in the conference sessions so CDR link can be hidden from the user. Don't allow a conference moderator and participant to use the same pin number. 2013-03-15 17:12:13 +00:00
Mark Crane a272f72b79 Fix a few a few settings that are required to add extension_uuid to xml cdr. 2013-03-13 05:57:41 +00:00
Mark Crane 1993560b35 Add extension_uuid to xml cdr. 2013-03-10 05:39:45 +00:00
Mark Crane d4a28cc485 Clear memcache as needed. 2013-01-16 00:26:48 +00:00
Mark Crane c6c984ed85 Clear memcache for extensions. 2013-01-15 23:19:07 +00:00
Mark Crane 2c963e7404 When voicemail settings are changed on an extension update the voicemail settings in v_voicemails. 2013-01-03 22:36:07 +00:00
Mark Crane 54e1389a16 Update the file names in extensions. 2012-11-24 02:25:59 +00:00
Mark Crane d0ca86570e rename extensions_edit.php to extension_edit.php. 2012-11-24 01:42:48 +00:00