Commit Graph

190 Commits

Author SHA1 Message Date
Matthew Vale b20a38f454 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale 355bec91a2 changed text.php to use $_SERVER["PROJECT_ROOT"] 2016-01-14 16:15:41 +00:00
Matthew Vale 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Alexey Melnichuk 85ad1fc976 Change. Reuse same esl connection to send cache event and command.
Fix. Implicitly close esl connection after do cache command.
2015-12-24 13:19:53 +03:00
markjcrane 6d700faaa1 Add one line between each function. 2015-12-19 15:00:10 -07:00
Matthew Vale b5a2fa0f29 Added initial version of app/languages
for analyzing missing or overlapping with global text
2015-12-10 10:04:35 +00:00
Matthew Vale 45dfcabd3d Add Fallback language support to en-us 2015-12-10 09:57:54 +00:00
Matthew Vale e4c711e8f7 Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
markjcrane c4aaaaaf92 Fix the domain name in the path for the inbound fax dialplan. 2015-12-08 22:34:23 -07:00
markjcrane a89ad63831 Remove the domain name from the switch recordings SESSION variable. The path for single and multi-tenant are handled the same and all will used their domain name. 2015-12-06 12:36:08 -07:00
Matthew Vale 761a7b0717 made reference to install resource literal 2015-12-02 16:07:23 +00:00
markjcrane 96273e0bc3 Use the new config class in the domains and schema classes. 2015-11-27 19:59:50 -07:00
markjcrane e1214116f4 Missed a set of round brackets on this->exists. 2015-11-27 19:53:30 -07:00
markjcrane a344a97dd4 Correct the variable name and add the additional code examples. 2015-11-27 19:48:22 -07:00
markjcrane 2b50364847 Remove some of the comments and an extra curly bracket. 2015-11-27 19:29:56 -07:00
markjcrane 02f0356fc3 Update the config php class. 2015-11-27 19:25:16 -07:00
markjcrane e0ff445922 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
markjcrane e6b12ca3c9 Add a new config.php class. 2015-11-27 18:57:23 -07:00
Matthew Vale 352f03198e Resolved install issues, environment now in tact enough to run app_defaults 2015-11-18 17:30:43 +00:00
Matthew Vale b8ead99a14 added support to name the languages
added remaining flags i have from the famfamfam set and renamed them to country names
2015-11-17 16:20:14 +00:00
Matthew Vale 900c1469b1 Enhancements to language support (for future use)
optimized the text.php to check the language code once, not every time
2015-11-16 09:41:34 +00:00
Alexey Melnichuk 50d52a2c62 Fix. Parse ESL response more accurate.
Problem with commands that do not return Content (e.g. sendevent)
In this case `event_socket_request` go to busy wait cycle without chance to success.
On my system it require alot process time and may take >30 sec to save one extension.
2015-08-25 14:14:28 +04:00
markjcrane bdebe75d78 Fix the order by for the destinations class. 2015-08-15 23:24:57 -06:00
markjcrane 74804cea64 Give precedence to number_alias over extension in destinations class that generates the destination select list. 2015-08-15 21:49:27 -06:00
markjcrane 47921ff596 Make the destinations class easier to read. 2015-08-15 19:58:47 -06:00
reliberate 0adcd1c0d8 Destinations (Class): Enable preferred number formatting for Destination options. 2015-08-14 20:32:56 -06:00
markjcrane 1756b6064f Fix the label for the custom select destination. 2015-08-14 10:33:18 -06:00
markjcrane 6b665af51c If select_found is false then show the custom select. 2015-08-14 10:15:31 -06:00
Alexey Melnichuk 5d140effd1 Fix. Create log file only if necessary. 2015-08-12 12:44:42 +04:00
markjcrane 01ce7bdb88 Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
markjcrane 47c09b99c6 Change $name to ${name} 2015-08-09 12:14:47 -06:00
markjcrane 16b73d63d8 Change array from ['result']['field'] to ['field']. 2015-08-09 12:00:42 -06:00
markjcrane bf8a24d5ee Add Other options to the list of destinations. 2015-08-09 11:20:08 -06:00
markjcrane 07e884d494 If there is no item in the group of destinations then don't the group name. 2015-08-07 19:50:06 -05:00
markjcrane ef24c2178e Add an empty select option and finish moving to $this->destinations array. 2015-08-06 15:30:43 -05:00
markjcrane 8319533034 Move the destinations array generation into the constructor and add selected support. 2015-08-06 12:11:26 -05:00
markjcrane c4bd1a0e72 Use the same array consistently. 2015-08-06 00:25:38 -05:00
markjcrane b04e958d5b Change domain_name to domain_uuid. 2015-08-06 00:13:57 -05:00
markjcrane 51169dd358 Remove the round brackets. 2015-08-05 17:30:18 -05:00
markjcrane 88f4348be2 Add the database connection. 2015-08-05 17:24:37 -05:00
markjcrane c128c0fc71 A few minor adjustments to the new class. 2015-08-05 17:02:34 -05:00
markjcrane a3a1d4a1dd Initial commit a new php destinations class. Builds a list of destinations dynamically. Typically this contains extensions, ivr menus, ring groups, voicemail and more. 2015-08-05 16:43:22 -05:00
reliberate 85c971eec8 Menu: Updated code to create menu HTML from array, instead of database directly. 2015-07-30 11:49:51 -06:00
markjcrane b8f9b423c7 Improve code to update the scripts directory. 2015-07-20 15:32:52 -06:00
Mark Crane 93e788399a Add menu array to the menu class. 2015-06-22 17:56:40 +00:00
Mark Crane 4ec6c893c1 Account for the fact that mb_strtolower is not always available. 2015-06-01 04:54:21 +00:00
Mark Crane 227faa2489 More work to make domain names case insensitive. 2015-05-30 20:59:11 +00:00
Mark Crane b2a4a112f4 Update release to fix big for systems where GLOB_BRACE is not available. 2015-05-13 04:37:36 +00:00