Commit Graph

2854 Commits

Author SHA1 Message Date
reliberate e24526fb92 Upgrade: Converted Advanced > Upgrade to use Git instead of SVN (untested).
Misc: Added provisions elsewhere to account for .git/* files, as currently done with .svn/* files.
2015-07-02 17:25:41 -06:00
Alexey Melnichuk d7a1829d32 Use non greedy match. 2015-07-02 19:12:12 +04:00
Alexey Melnichuk 1764700fd7 Fix. Escape `<>` in all fields in CDR xml.
When using redirect cdr also can contain e.g. `sip_redirect_contact_0` / `sip_redirected_to`.
I use `preg_replace_callback` to proceed all fields.
May be it more correct use urlencode because if we get xml with non UTF8 char we lost CDR.
```php
$xml_string = preg_replace_callback("/<([^><]+)>(.*?)<\/\g1>/",
	function ($matches) {
		// var_dump($matches);
		return '<' . $matches[1] . '>' .
			urlencode($matches[2]).
		'</' . $matches[1] . '>';
	},
	$xml_string
);
```
2015-07-02 19:08:48 +04:00
Alexey Melnichuk e89a499b2c Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Alexey Melnichuk 9097861e30 Change. Does not use `default` dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Alexey Melnichuk 5ea2c0e964 Remove using `feature` context.
Default dilplan context contains all needed extension to does not use `feature` context.
2015-07-02 12:35:34 +04:00
Alexey Melnichuk d1edcbd2c5 Disable of sip profile does not work
Close #1008
2015-07-02 12:09:09 +04:00
Mark Crane 3f1dcaea70 Move the Login and Logout items in the menu to a location that is accessible to the translation server. 2015-06-30 17:11:39 +00:00
Mark Crane 2f64ab5804 Add latest translations 2015-06-30 16:30:02 +00:00
Mark Crane 152bbad1b8 Prevent a fax problem when current user is in both the admin and also in the user group. 2015-06-30 15:35:23 +00:00
Mark Crane f57cf46674 Add latest translations 2015-06-30 13:30:02 +00:00
Mark Crane d4a8c33f0d Add latest translations 2015-06-30 12:30:02 +00:00
Mark Crane f1171227b9 Add latest translations 2015-06-30 11:30:02 +00:00
Mark Crane 3031f125f2 Add latest translations 2015-06-30 10:30:02 +00:00
Mark Crane 4c71476922 Add latest translations 2015-06-29 22:30:02 +00:00
Mark Crane 5d401ee8f4 Add latest translations 2015-06-29 21:30:03 +00:00
luis daniel lucio quiroz e92fd6e3b7 little typo 2015-06-29 19:03:06 +00:00
luis daniel lucio quiroz 95a7609242 add a condition, not everybody may need the fix 2015-06-29 18:57:03 +00:00
Mark Crane 59b81e5b3d Add transaction support to dialplan import. 2015-06-25 21:10:50 +00:00
Mark Crane c99e249f71 Add beginTransaction and commit to speed up the install and upgrade. 2015-06-25 21:00:15 +00:00
Mark Crane 8fcbf0eef1 Correct the dialplan detail tag for the call center dialplan. 2015-06-25 09:46:27 +00:00
Mark Crane 5d4a2375a0 Write the call center dialplan with the new call center class. 2015-06-25 08:25:00 +00:00
luis daniel lucio quiroz 53a7ef3756 caller id fixed 2015-06-24 16:49:07 +00:00
Mark Crane 995780f8f2 Change the call screen recording name. 2015-06-23 23:16:55 +00:00
Mark Crane 18bd7505ba Change the filename reference to file and the caller id number to the call uuid. 2015-06-23 22:19:46 +00:00
Mark Crane 819bd7457d Add call_direction inbound filter and inline true. 2015-06-23 21:57:31 +00:00
Mark Crane b43f5f8647 Change call_screen to call_screen_enabled. 2015-06-23 21:21:50 +00: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 5823b0f8bc Add call_screen_enabled to the database and add the lable for translations. 2015-06-23 19:58:07 +00:00
Mark Crane f9a5a1db66 Add dialplans needed for call screening. 2015-06-23 19:48:40 +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
Mark Crane 3750f6bb05 Add latest translations 2015-06-22 22:30:03 +00:00
Mark Crane 5ff1f11bbe Add latest translations 2015-06-22 09:30:02 +00:00
Mark Crane 8bdb5b0aee Add latest translations 2015-06-22 08:30:02 +00:00
Mark Crane ed7ac31c7b Remove call center log table and remove redundant semi-colons. 2015-06-21 05:43:06 +00:00
Mark Crane 8e1d818499 Add latest translations 2015-06-20 12:30:02 +00:00
Mark Crane b96427df79 Add latest translations 2015-06-20 11:30:02 +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 42c1997a00 Add auto_insert_enabled to the provision variables in default settings. 2015-06-19 15:54:13 +00:00
Mark Crane 3242e03576 Add latest translations 2015-06-18 08:30:02 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 81563c3437 Fix the domain filter on provisioning. 2015-06-11 17:42:47 +00:00
Mark Crane 8a761fdfcb Unhide mwi_account again. 2015-06-11 00:17:27 +00:00
Nate Jones ca92b2dd7d IVR Menu: Invalid Sound not required. 2015-06-08 20:55:38 +00:00
Mark Crane dc2a02dc59 Set fax_enable_t38_request to false solves problem with 'Called dropped prematurely' 2015-06-08 17:54:49 +00:00
Mark Crane 885b1e79c8 Change the type from numeric to text. 2015-06-07 05:46:00 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane b38d142349 Operator Panel - Change the file type from ANSI to UTF-8 without BOM. will need to re-translate several of the languages. 2015-06-06 02:25:16 +00:00
Mark Crane ba417f3709 Fix ring group form save change distinctive_ring to ring_group_distinctive_ring. 2015-06-05 17:44:12 +00:00
luis daniel lucio quiroz cdcb5bcd35 little space, nothing special 2015-06-05 16:10:55 +00:00
Mark Crane 0a6684a3cd Fix the syntax in app/ring_groups/app_languages.php 2015-06-04 15:12:06 +00:00
Mark Crane 9447dfaee0 Add new text in english for ring group distinctive ring. 2015-06-04 05:29:17 +00:00
Mark Crane f8572f72f8 Sync the translations for ring groups. 2015-06-04 05:26:12 +00:00
Mark Crane f90e35ec78 Fix outbound dialplan when using a transfer. 2015-06-03 07:11:05 +00:00
Nate Jones 643f605310 Device: Swap Alternate and Vendor field locations. 2015-06-02 22:25:43 +00:00
Nate Jones c096530d89 Extension: Hide MWI Account field till functionality restored. 2015-06-02 21:51:15 +00:00
Nate Jones 39c2cb11e7 System Variables: Adjust Hostname cell style. 2015-06-02 21:33:43 +00:00
Mark Crane 91a12aa8ed Add imap_errors() the fax/fax_emails.php to make it possible to see IMAP connection problems. 2015-06-01 22:44:28 +00:00
Mark Crane da114c1a64 If Remote Inbox Subject Tag is not set then check the local fax files. 2015-06-01 21:21:33 +00:00
Mark Crane f4a360eb23 Set the domain_uuid as hidden for devices when device_domain is not assigned. 2015-05-31 04:43:02 +00:00
Mark Crane b362eab643 If gateway type is transfer then use action transfer. 2015-05-31 03:34:37 +00:00
Mark Crane b785e0cc66 Add an option for a default setting that uses provision -> auto_insert_enabled type: boolean value: true.
This will not be set by default so the provision auto insert will be disabled by default.
2015-05-30 07:35:50 +00:00
Mark Crane f481386631 Contact timer change the color to a comfortable blue. 2015-05-29 07:07:18 +00:00
Mark Crane 06588fdaad Add a hangup hook to dialplan local_extension and remove originator cancel from the failure_handler. 2015-05-29 05:16:34 +00:00
Mark Crane 68fab86633 Add missed call email notification. 2015-05-29 03:56:49 +00:00
Mark Crane d4bb237f7d Dump another html5 number... <input class='formfld' type='number' name='ring_group_extension' maxlength='255' min='0' step='1' value="010" required='required'> Shows in the gui as 10 instead of 010. To fix it I change the type to text. 2015-05-29 01:58:27 +00:00
Mark Crane 7009ea7672 Change the default setting from enabled false to true. 2015-05-29 01:10:19 +00:00
Mark Crane b7f10c6a40 Add 3 more variables to device settings for the provision category and make it check default settings with one query rather than multiple making it more efficient. 2015-05-29 00:42:31 +00:00
Mark Crane 497f9cdf9f Fix the show all devices so it doesn't display duplicates. 2015-05-28 00:55:10 +00:00
Mark Crane f23e835c9b Add last_mod_date, and last_mod_user to contacts. 2015-05-26 16:06:01 +00:00
Mark Crane 4039ae1846 IVR Menu exit sound should not be required by default. 2015-05-26 15:19:53 +00:00
Mark Crane c51c9b0284 Devices, Update Alternate show the device label. 2015-05-24 07:14:11 +00:00
Mark Crane 5ef6b22dc6 Add a link to unset the alternate device. 2015-05-24 05:00:40 +00:00
Mark Crane 3d87d3d4ff Sync the latests bug fixes. 2015-05-23 22:02:28 +00:00
Nate Jones 46bbdeaa38 Extensions: Missed Call notification option. 2015-05-23 02:11:26 +00:00
Mark Crane 2a8481888f More work on device alternate. 2015-05-22 04:34:31 +00:00
Mark Crane 12e2020362 Add <td> and </td> surrounding the new Alternate link. 2015-05-22 04:14:04 +00:00
Mark Crane f745437349 Add Device Alternate link. 2015-05-22 04:10:43 +00:00
Mark Crane 197d86472d Changes result array to devices. 2015-05-22 03:08:02 +00:00
Mark Crane ee8651c3b2 In the Devices list move Enabled after the Template column. 2015-05-22 03:04:42 +00:00
Mark Crane e606d92e99 Fix a problem caused by the new FAX prefix. 2015-05-22 00:04:55 +00:00
Mark Crane d6d7460f20 Add an empty select option for IVR Menu exit sound we don't want always require an exit sound. 2015-05-21 21:31:56 +00:00
Mark Crane 6f855d44d5 Remove the underscore to fix the syntax. 2015-05-21 20:34:59 +00:00
Mark Crane c21adfd4c1 Missed str_len add it back. 2015-05-21 20:32:00 +00:00
Mark Crane 8a65a796cb If the time condition preset array name doesn't match a translation then use the nae from the array. 2015-05-21 20:28:42 +00:00
Mark Crane 5cb8c7bf19 Update the fax prefix description. 2015-05-21 04:07:51 +00:00
Mark Crane 2cbcbc0f1a Remove the default settings fax prefix and move it to the FAX server table. 2015-05-21 03:48:37 +00:00
Mark Crane 5ff4e02741 Add category: fax, subcategory: prefix, type: text and set a value of some kind of prefix. 2015-05-21 03:05:07 +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 deca08b0b2 Revert changes of test code that were accidently committed in revision r8208 because it was breaking provisioning when device key extension is set. 2015-05-20 06:40:24 +00:00
Mark Crane 14a18c6f66 Set the defaults in device edit. 2015-05-20 05:14:14 +00:00
Mark Crane c403f7b35b If follow me is disabled allow it to save the destination(s). This will finish making it work. 2015-05-20 02:46:06 +00:00
Mark Crane 55d44936c7 If follow me is disabled still allow it to save the destination(s). 2015-05-20 02:39:05 +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 061ab74330 Devices: Add Enabled field to Lines. 2015-05-19 16:09:04 +00:00
Mark Crane 3b87fcd9c2 Remove the word polycom from the if statement. 2015-05-19 01:46:13 +00:00
Mark Crane efa5425009 Add another attribute to the 'if statement' on provisioning. 2015-05-19 01:43:58 +00:00
Mark Crane 3bc70bcdca Specify the correct table. 2015-05-19 00:52:29 +00:00
Mark Crane 5aaa888509 Add the missing 'and' in the sql query. 2015-05-19 00:51:03 +00:00
Mark Crane 81eb20c3a6 Add the specific fields to the contacts array. 2015-05-19 00:48:36 +00:00
Mark Crane 7c771adc5e Add phone number to the contacts array. 2015-05-19 00:38:40 +00:00
Mark Crane e65f63fe43 Change $db to $this->db because its in the PHP class. 2015-05-18 23:00:45 +00:00
Mark Crane edb7163f08 Add contacts array to provisioning. 2015-05-18 22:45:31 +00:00
Mark Crane fdad0b28a1 Update nowrap to nowrap='nowrap' 2015-05-18 22:10:59 +00:00
Nate Jones b809714064 Calls Active: Show gateway name instead of uuid in Application data string, change to jQuery ajax refresh. 2015-05-18 16:44:38 +00:00
Nate Jones a28f7a9f53 Contact Times: Timer now works for contacts under foreign domains. Limit edit and delete to user's own Time entries. 2015-05-17 09:58:57 +00:00
Nate Jones d9de58b0cd Contact Times: Simplify Timer with jQuery ajax instead. 2015-05-17 09:08:52 +00:00
Nate Jones 741dbd876c Contact Times: Minor style/layout mods to timer duration. 2015-05-17 08:39:57 +00:00
Nate Jones 67524ca6a0 Contact Times: An open Timer now works after changing domains. 2015-05-17 07:35:35 +00:00
Nate Jones f293c6d31f Contact Times: Fix redirect issue on Timer. 2015-05-17 07:19:07 +00:00
Nate Jones 2b18dfd088 Contact Times: Style adjustments. 2015-05-17 07:15:28 +00:00
Nate Jones 6a184d6989 Contact Times: Layout tweaks, link contact name on Timer to open contact edit. 2015-05-17 06:40:37 +00:00
Nate Jones 3d3cdff6c8 Contact Times: Remove debug line. 2015-05-17 06:23:51 +00:00
Nate Jones 1ff7d1c1ba Contacts: Added Times/Timer to track support. 2015-05-17 06:16:43 +00:00
Nate Jones 830724f368 Fax: Fixed an issue when multiple email addresses are defined in fax-to-email feature (was only sending email to the last address listed). Thx CraigH. 2015-05-15 20:33:39 +00:00
Mark Crane 8b539a79fb Change eavesdrop from *88[ext] to *33[ext] to prevent a conflict with page extension on *8[ext] 2015-05-15 18:05:31 +00:00
Mark Crane 5f78d5b41d Filter for sip_P-Preferred-Identity in xml cdr import as a work around for invalid XML sent over HTTP POST. 2015-05-15 09:26:13 +00:00
Nate Jones fe8032b1c3 Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well. 2015-05-12 18:11:05 +00:00
Nate Jones 0a52f9cc75 Fax: Fix on edit to re-enable Advanced features, due to recent file rename. 2015-05-09 06:02:48 +00:00
Nate Jones 283d06ede0 Fax: Fix Remote Inbox link (oops). 2015-05-09 05:40:39 +00:00
Nate Jones 7fab6d2e88 Fax: Upgrade script to generate and store meta-data from existing fax files, fix Lua script to insert correct fax file path into db, JavaScript prompt corrections, adjust redirect after send to use new interface, fix delete so files on file system are removed (using path from db), fix paging and sorting on Inbox and Sent, fix TIF to PDF conversion for viewing sent/received faxes (if PDF version not present). 2015-05-09 05:22:29 +00:00
Nate Jones b11e3c815e CDR: Fixed recording playback / download. 2015-05-08 17:21:20 +00:00
Mark Crane 7e1f3abb4e Change user_status to agent_status. 2015-05-05 17:24:02 +00:00
Nate Jones 60856cc6f5 Extensions: Only show Call Control button on edit. 2015-05-05 16:45:35 +00:00
Mark Crane 35ad4784dd Add call_timout to the extension xml files. 2015-05-05 07:45:05 +00:00
Mark Crane 50c88ba930 Add call_timeout tot he user_exists dialplan so it works in both directions. 2015-05-05 07:36:06 +00:00
Mark Crane f5294912f7 Show only sip profiles that are enabled on the Gateway edit page. 2015-05-05 05:48:27 +00:00
Mark Crane d22383a40e Show only sip profiles that are enabled on the Status -> SIP status. 2015-05-05 05:45:42 +00:00
Mark Crane e616fad12e Add the format number to destinations list and adjust the function to only process numeric. 2015-05-05 04:50:23 +00:00
Mark Crane 872fa20983 Add format phone to the dialplan number. 2015-05-05 04:44:34 +00:00
Nate Jones 198967cf08 Call Center Agent: Prevent duplicate Agent IDs (within the same domain).
Devices: Remove unnecessary javascript.
2015-05-04 21:01:55 +00:00
Nate Jones 9f5c2422d3 Devices: Language updates supporting previous commit. Removed required check on MAC Address field. 2015-05-04 20:09:29 +00:00
Nate Jones 0acd0922ff Devices: Prevent duplicate username within domain (if device assigned to a domain) or globally (if domain set to Global).
Functions: Added is_mac() and format_mac() functions.
2015-05-04 20:07:51 +00:00
Mark Crane 2205cf4fb7 Add _id to *23 name. 2015-05-04 19:06:04 +00:00
Mark Crane 91df1c01db Remove one file and rename the dialplan attribute inside the XML. 2015-05-04 19:05:20 +00:00
Mark Crane 287da808e3 Add *23 for agent status that requests the id and password. 2015-05-04 18:58:18 +00:00
Mark Crane 89e01c08d0 Rename the user_status dialplan. 2015-05-04 18:48:09 +00:00
Mark Crane ad180b5d8e Add Agent ID column to the agent list. 2015-05-04 17:09:21 +00:00
Mark Crane 9cf78bbf9a Move it to the correct field and change the type to password. 2015-05-04 03:26:50 +00:00
Mark Crane b757da247c Escape the $ and ". 2015-05-04 03:19:31 +00:00
Mark Crane 98ead97ff6 Hide the agent password. 2015-05-04 03:12:11 +00:00
Mark Crane 95f457d9b8 Add missing '+;' to the app_config.php. 2015-05-04 02:50:31 +00:00