Commit Graph

3569 Commits

Author SHA1 Message Date
FusionPBX 6b6fbaaf0c Update destinations.php 2017-09-28 03:19:12 -06:00
konradSC 74930291b3 Update to use curl instead of ssh (#2856)
SSH method never worked. I submitted the wrong file.
2017-09-27 22:01:58 -06:00
Adam Niedzwiedzki 972fb6d44f Update index.lua (#2858)
Removal of the  ( ) in the sched_api cmd string allows the start_recording.lua to function as designed. 
Added "..scripts_dir.." as well.
2017-09-27 20:35:44 -06:00
FusionPBX a477d3aa1c Update ivr.conf.lua 2017-09-26 22:40:30 -06:00
konradSC b969629f58 File cache sync via curl (#2851)
* Add sendevent when using file caching

* Create clear_cache.lua

FS receives a command via curl to call this script which deletes the single cache entry or flushes the entire cache.

* Create file_cache.lua

This scripts monitors for custom events. When an event is processed it will send out a command via curl to other FS servers telling them to clear their cache. 

This must be called from conf/autoload_configs/lua.conf.xml
 <param name="startup-script" value="app/server/resources/memcache.lua"/>
2017-09-20 16:19:56 -06:00
FusionPBX e644e99193 Update functions.php 2017-09-20 10:58:59 -06:00
FusionPBX 6042b9d95d Update app_languages.php 2017-09-19 19:52:38 -06:00
FusionPBX 3352f268e8 Update app_languages.php 2017-09-19 17:12:01 -06:00
Mafoo 05f76b0556 Pass on languages before importing updates (#2849)
put language files into consistent state in preparation of a import
2017-09-19 09:48:40 -06:00
Len 2823f6bb59 Update {$mac}.cfg 2017-09-18 09:27:39 -04:00
Len c741f21911 Update {$mac}.cfg 2017-09-17 21:12:44 -04:00
FusionPBX e8fe9502f7 Update app_languages.php 2017-09-14 12:16:45 -05:00
FusionPBX 7a0a7d7b80 Update index.lua 2017-09-12 14:32:13 -05:00
konradSC afbba1203d Update mwi_notify.lua (#2836)
Search all profiles for the sofia_contact. For some reason on server it would automatically search all profiles, but on the other servers I had to add "*/".
2017-09-11 08:53:57 -06:00
FusionPBX 12308f4082 Update database.php 2017-09-11 01:21:36 -05:00
FusionPBX d583d22111 Update {$mac}.xml 2017-09-08 10:53:44 -06:00
FusionPBX 3341d815c3 Update {$mac}.xml 2017-09-08 10:52:09 -06:00
FusionPBX 950b875db9 Update {$mac}.xml 2017-09-08 10:51:31 -06:00
FusionPBX a50fef96f9 Update {$mac}.xml 2017-09-08 10:50:57 -06:00
FusionPBX df7f7024db Update {$mac}.xml 2017-09-08 10:47:33 -06:00
FusionPBX cd0083dd53 Update {$mac}.xml 2017-09-08 10:46:45 -06:00
FusionPBX 9cfd6cd039 Update {$mac}.xml 2017-09-08 10:20:29 -06:00
FusionPBX badab39cd7 Update {$mac}.xml 2017-09-08 10:17:15 -06:00
FusionPBX 2e1952e343 Update {$mac}.xml 2017-09-08 10:08:47 -06:00
FusionPBX 4dc309539f Minor version update 4.3.3. 2017-09-07 13:10:33 -06:00
konradSC 48b85fdbdf Update index.lua (#2821)
Break the ring group query into two parts. One for getting the ring group info. Another for getting the ring group user. 

If a user was not assigned to a ring group, then the query will fail to return a result. This will cause forward, prefix, distinctive ring, etc to not work properly.
2017-09-05 10:57:30 -06:00
FusionPBX 1bb950dde8 Update cache.php 2017-09-02 09:56:30 -06:00
Mafoo 8740021d31 Enhance - provision aastra 9133i (#2787)
provision aastra 9133i based phones (480i 480i CT, 9112i, 9133i)
leverage smarty include to common parts
have device_edit ignore 'include' folders
.htaccess's RewriteRule operates relative to it's dir so anchoring to ^provision is correct even for where fusion is on a sub folder
2017-09-01 09:35:22 -06:00
Tatermen 1c5d730267 Use effective_caller_id_number instead of caller_id_number when storing voicemail messages. This resolves issue #2333. (#2728) 2017-09-01 09:32:06 -06:00
andycol 31575c25f7 Add South African Prefixes (#2811) 2017-09-01 08:54:02 -06:00
FusionPBX d4853b6ce3 Update paging.php 2017-08-30 11:40:20 -06:00
FusionPBX 91842f30b7 Update index.lua 2017-08-27 15:16:01 -06:00
FusionPBX 8170be475b Update index.lua 2017-08-27 15:11:31 -06:00
FusionPBX fd5d5b580a Update mwi_notify.lua 2017-08-23 23:05:51 -06:00
konradSC 93245717cb Update do_not_disturb.lua (#2803)
Use cache function instead of directly clearing memcache.
2017-08-22 16:16:35 -06:00
Len 19722d750a Update {$mac}.xml 2017-08-17 02:56:36 -04:00
Len 63439cf8b8 Update {$mac}.xml 2017-08-17 02:34:25 -04:00
Len 097a695580 Update {$mac}.xml 2017-08-17 02:28:17 -04:00
Len 7502c2bad2 Update {$mac}.xml 2017-08-17 02:24:30 -04:00
Len a47decbade Update {$mac}.xml 2017-08-17 02:21:57 -04:00
Len c2d350eb4d Update {$mac}.xml 2017-08-17 02:16:35 -04:00
Len 595538196a Update {$mac}.xml 2017-08-17 01:41:04 -04:00
Len b1c9019c07 Update {$mac}.xml 2017-08-17 01:35:31 -04:00
Len 4801072671 Update {$mac}.xml 2017-08-17 01:25:52 -04:00
Len f805bc3b19 Update {$mac}.xml 2017-08-17 01:24:45 -04:00
Len 92b0aa3adf Update {$mac}.xml 2017-08-17 01:23:24 -04:00
Len d99609471a Update {$mac}.xml 2017-08-17 01:19:36 -04:00
FusionPBX 5b69862bcc Update index.lua 2017-08-14 12:40:42 -06:00
FusionPBX 7ccd714b0d Update {$mac}.cfg 2017-08-14 09:17:33 -06:00
FusionPBX 280c659475 Create {$mac}.cfg 2017-08-14 08:38:59 -06:00
FusionPBX 43898c84ca Create {$mac}.xml 2017-08-13 18:48:58 -06:00
FusionPBX b5235484f7 Create {$mac}.xml 2017-08-13 18:47:12 -06:00
FusionPBX 160c220933 Update {$mac}.xml 2017-08-13 11:47:00 -06:00
FusionPBX d2ed211b35 Update {$mac}.xml 2017-08-13 11:32:29 -06:00
FusionPBX fa7371d39f Create {$mac}.xml 2017-08-12 19:48:51 -06:00
FusionPBX 038971e1fc Update {$mac}.xml 2017-08-12 19:46:57 -06:00
TekMason 418cc0c759 Yealink Template Updates (#2789)
Set firmware.url = {$yealink_firmware_url}/{$yealink_firmware_<model>}
Also changed user agent for VP530 to match what the phone actually sends
2017-08-10 10:12:05 -05:00
FusionPBX 0859953ed7 Add obi1062 2017-08-09 01:09:35 -05:00
FusionPBX c21011774b Update dialplan.lua 2017-08-07 00:28:31 -06:00
Mafoo b1c5d870e0 BugFix - GUI install (#2779)
Fixes to remove some errors in the GUI installer
2017-08-02 10:45:35 -06:00
konradSC 3effd47d9e VM Password Complexity through the Phone (#2773)
* Update index.lua

Store password complexity settings as variables.

* Update macro.lua

Add macros for "password is below minimum length" and "password is not secure"

* Update change_password.lua

Adds the ability to check for password complexity and minimum length.

Also, fixes a bug where the password was changed if the caller hung up in the middle of changing their password.
2017-07-31 10:39:28 -06:00
konradSC dd96590619 Bug Fix: Not rerouting back to Advanced vm menu (#2768)
Need to pass in the "advanced" menu variable to functions in order to get back to Advanced menu.
2017-07-30 10:55:27 -06:00
FusionPBX 5a142bef69 Update index.lua 2017-07-29 23:06:43 -06:00
Len 79c6cb4215 Create phonebook.xml 2017-07-29 02:12:33 -04:00
Len f62cba21d6 Update {$mac}.xml 2017-07-29 02:12:01 -04:00
Len 08ab42c3e5 Create phonebook.xml 2017-07-29 02:08:15 -04:00
Len fc84c0f102 Update {$mac}.xml 2017-07-29 02:07:25 -04:00
Len 6c9df66dd3 Update {$mac}.xml 2017-07-29 02:06:15 -04:00
Len 9f5c80ad90 Create phonebook.xml 2017-07-29 02:05:18 -04:00
Len fc1f6d985a Create phonebook.xml 2017-07-29 02:04:36 -04:00
Len 48eddbefcb Create phonebook.xml 2017-07-29 02:04:05 -04:00
Len d20d484fc2 Create phonebook.xml 2017-07-29 02:03:31 -04:00
Len cf7cecdff1 Create phonebook.xml 2017-07-29 02:02:57 -04:00
Len 48bff4aa11 Update {$mac}.xml 2017-07-29 02:01:22 -04:00
Len e199571994 Update {$mac}.xml 2017-07-29 02:00:07 -04:00
Len bad302306e Update {$mac}.xml 2017-07-29 01:59:19 -04:00
Len c36626da51 Update {$mac}.xml 2017-07-29 01:57:38 -04:00
Len f971963eb0 Update {$mac}.xml 2017-07-29 01:47:34 -04:00
Len 467bffb429 Update {$mac}.xml 2017-07-29 01:38:45 -04:00
Len c1630c3182 Update {$mac}.xml 2017-07-29 01:19:47 -04:00
Len 7ed8618681 Update README.txt 2017-07-29 01:03:51 -04:00
Len 3e9f92a6ab Update {$mac}.xml 2017-07-29 01:02:18 -04:00
Len eb3c0bba1d Update README.txt 2017-07-29 00:59:39 -04:00
Len 51c2214a37 Update {$mac}.xml 2017-07-29 00:56:11 -04:00
Len 48834e979b Update README.txt 2017-07-29 00:52:55 -04:00
Len b7cf4c4866 Update {$mac}.xml 2017-07-29 00:51:24 -04:00
Len 5a12518d15 Update README.txt 2017-07-29 00:49:05 -04:00
Len 1c07d5b24e Update {$mac}.xml 2017-07-29 00:46:51 -04:00
Len 446eec9c4d Update README.txt 2017-07-29 00:42:18 -04:00
Len 742a33a18d Update {$mac}.xml 2017-07-29 00:38:58 -04:00
Len 5b0e0945eb Update {$mac}.xml 2017-07-29 00:34:12 -04:00
Len d21af45e30 Update {$mac}.xml 2017-07-29 00:32:02 -04:00
Alexey Melnichuk f308e2a30e Fix. Cache class. (#2755)
* Fix. Cache class.

 * `send_event` raise error so `Cache.del` did not remove key or send any event
 * use `memcache` method by default even if `cache` table does not defined in config
 * `Cache.get` did not return any data when use `memcache` method
 * `Cache.get` did not close file. (Its should not be a big problem because GC should do it by self).
 * `Cache.get` can returns some undefined global value. (if method is `file` and file not exists then method returns global `result` value)
 * `Cache.get` does not need check for file existence
 * Value escaping does not needed for `file` method
 * Needed different key escaping for `memcache` and `file` methods
 * Update self test

* Change. Use random names for temp files.
2017-07-26 09:40:53 -06:00
Alexey Melnichuk 272d1c2f30 Change. Use new service class to implement ha_monitor.lua (#2710)
This allows remove code related to create pid file and
handle system commands (e.g. to stop service) from service
file and leave it to base class.
2017-07-24 23:38:43 -06:00
FusionPBX d59678cb53 Update index.lua 2017-07-24 19:49:32 -06:00
FusionPBX 15d4e57e88 Update internal.xml.noload 2017-07-24 15:31:55 -06:00
FusionPBX 1066eaa5e8 Update index.lua 2017-07-23 23:40:39 -06:00
FusionPBX 151515d01a Update app_languages.php 2017-07-22 20:46:45 -06:00
FusionPBX 55f5aa0fb0 Update app_languages.php 2017-07-22 20:19:01 -06:00
FusionPBX 84191e4090 Update cache.php 2017-07-22 15:52:45 -06:00
FusionPBX 4cba425e11 Update cache.lua 2017-07-22 15:18:20 -06:00
FusionPBX 5ddedc8afa Update cache.lua 2017-07-22 15:17:11 -06:00
FusionPBX 09f1ea706e Update cache.php 2017-07-22 13:18:03 -06:00
FusionPBX 1804dcc344 Update cache.lua 2017-07-22 12:38:45 -06:00
FusionPBX cf0fbb0f93 Update cache.lua 2017-07-22 01:09:39 -06:00
FusionPBX 942293debe Update lazy_settings.lua 2017-07-22 00:38:25 -06:00
FusionPBX fce02cb024 Update index.lua 2017-07-21 18:05:23 -06:00
FusionPBX 8bd98f826b Update index.lua 2017-07-21 18:05:08 -06:00
Len b534caeddb Update index.lua 2017-07-21 00:10:35 -04:00
FusionPBX 614861eda8 Update index.lua 2017-07-20 03:50:10 -06:00
FusionPBX 82e65333e9 Update index.lua 2017-07-19 23:07:04 -06:00
FusionPBX d32c2cfd60 Update index.lua 2017-07-19 23:06:41 -06:00
sergey-mz c3f521beb3 Update template (#2749)
Do not disable LLDP. LLDP can push the phone to separate VLAN if set by switch and it will lose connection and go to web recovery mode.
Add second screen name line to display extension #.
Add line display name (Caller ID in web interface).
2017-07-19 14:44:43 -06:00
Cristian Livadaru df87823e38 fix snom register_expire (#2745)
the template uses the wrong parameter for sip registry expire, the
parameter user_subscription_expiry sets the expiry of subscriptions and
not the register (see
http://wiki.snom.com/Settings/user_subscription_expiry)
To set the register expiry one needs to use the user_expiry parameter
(see http://wiki.snom.com/Settings/user_expiry)
2017-07-18 12:27:53 -06:00
FusionPBX a24528c196 Update database.php 2017-07-15 23:06:22 -06:00
FusionPBX 030752f964 Update database.php 2017-07-15 22:26:01 -06:00
FusionPBX 1fedc4e009 Update database.php 2017-07-15 20:38:56 -06:00
FusionPBX 420cce478d Update database.php 2017-07-15 20:20:51 -06:00
FusionPBX 3c9acd16dc Update database.php 2017-07-15 17:20:21 -06:00
FusionPBX bc414459de Update database.php 2017-07-15 17:09:01 -06:00
FusionPBX 8ff6c56273 Delete schema.php 2017-07-15 12:37:23 -06:00
FusionPBX e7b49caad6 Update database.php 2017-07-14 20:44:45 -06:00
FusionPBX 0e68a3ff2f Update database.php 2017-07-14 20:41:23 -06:00
FusionPBX bed511aab7 Update {$mac}.cfg
http://community.polycom.com/t5/VoIP/Exchange-URL-warning-after-new-update/td-p/86621
2017-07-14 12:46:47 -06:00
FusionPBX a9f29c7669 Update {$mac}.cfg
http://community.polycom.com/t5/VoIP/Exchange-URL-warning-after-new-update/td-p/86621
2017-07-14 12:45:46 -06:00
FusionPBX 770915d3b7 Update index.lua 2017-07-14 12:26:01 -06:00
FusionPBX d0cfe5e0e1 Update database.php 2017-07-14 10:52:30 -06:00
FusionPBX a55ada0195 Update database.php 2017-07-11 12:48:20 -06:00
FusionPBX c91b280edd Update database.php 2017-07-11 11:30:22 -06:00
FusionPBX 1d8f16446a Update database.php 2017-07-11 00:13:54 -06:00
FusionPBX a086610092 Update database.php 2017-07-10 22:38:29 -06:00
FusionPBX 714bba8226 Update vars.xml 2017-07-09 23:46:36 -06:00
FusionPBX 22e2960646 Update vars.xml 2017-07-09 13:27:11 -06:00
FusionPBX 64f14bd224 Update vars.xml 2017-07-09 13:20:04 -06:00
FusionPBX e600a85c95 Update vars.xml 2017-07-09 13:04:00 -06:00
FusionPBX 1bce08243f Update vars.xml 2017-07-09 12:52:21 -06:00
FusionPBX e19b07c790 Update vars.xml 2017-07-09 12:45:32 -06:00
FusionPBX a44fa6d521 Update vars.xml 2017-07-09 11:20:23 -06:00
FusionPBX 96cb411d72 Update database.php 2017-07-08 01:10:28 -06:00
FusionPBX c6c5c012e1 Update database.php 2017-07-04 09:48:52 -06:00
FusionPBX d5e7977317 Update menu.php 2017-07-01 16:05:25 -06:00
FusionPBX 98b834e1b8 Update menu.php 2017-07-01 14:13:51 -06:00
FusionPBX b67852f20a Update check_auth.php 2017-07-01 10:09:17 -06:00
FusionPBX 52ba793640 Update check_auth.php 2017-07-01 09:44:34 -06:00
The-Operator 2c0efdc6c6 Update German and Austrian translations (#2722)
* Update German and Austrian translations

Update German and Austrian translations and added missing English translations for FAX application.

* Update German & Austrian translations
2017-06-30 15:23:01 -06:00
FusionPBX 39dc843d12 Create translate.conf.lua 2017-06-29 12:11:39 -06:00
Dean Montgomery 63c0d183cc Fix Attended Transfer Caller ID Display (#2718)
* Update {$mac}.xml

Fix Attended Transfer Caller ID Display

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display.

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display = Auto

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display  = Auto

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display = Auto
2017-06-27 22:58:45 -06:00
Len 9678b94d1c Update {$mac}.xml 2017-06-25 05:39:00 -04:00
Len 943aee8030 Update {$mac}.xml 2017-06-25 03:45:45 -04:00
Len f48722e2bb Update y000000000051.cfg 2017-06-22 19:20:50 -04:00
Len efeaa2a526 Update y000000000065.cfg 2017-06-22 19:20:09 -04:00
Len 0c1b4e1968 Update y000000000035.cfg 2017-06-22 19:19:14 -04:00
Len d5bc2b8d93 Update y000000000066.cfg 2017-06-22 19:18:24 -04:00
Len e239afa00e Update y000000000029.cfg 2017-06-22 19:17:11 -04:00
Len 5beedee836 Update y000000000068.cfg 2017-06-22 19:16:05 -04:00
Len 880fbbdc0b Update y000000000036.cfg 2017-06-22 19:15:13 -04:00
Len d0c077ed42 Update y000000000054.cfg 2017-06-22 19:06:27 -04:00
Len c35d93c14e Update y000000000046.cfg 2017-06-22 19:04:46 -04:00
Len f9315f9c86 Update y000000000045.cfg 2017-06-22 19:03:50 -04:00
Len 2b12651f76 Update y000000000069.cfg 2017-06-22 19:02:58 -04:00
Len 2b958488ff Update y000000000044.cfg 2017-06-22 19:01:30 -04:00
Len 8a93be80de Update y000000000044.cfg 2017-06-22 19:00:35 -04:00
Len 0cc3d27e18 Update y000000000052.cfg 2017-06-22 19:00:01 -04:00
Len 739d7df4c5 Update y000000000028.cfg 2017-06-22 17:31:10 -04:00
Len 77ea649201 Update y000000000028.cfg 2017-06-22 17:25:10 -04:00
Len 7efddc3d46 Update {$mac}.xml 2017-06-22 17:15:50 -04:00
Len d562d21bcf Update {$mac}.cfg 2017-06-22 14:47:23 -04:00
FusionPBX 5629586013 Update {$mac}.cfg 2017-06-22 12:41:23 -06:00
Alexey Melnichuk c36be184b8 Fix. Stack overflow when calls base actor. (#2706) 2017-06-22 00:14:28 -06:00
Mafoo b312fbc425 Enhance-Multiple messages display (#2702)
Store messages by mood so they can be grouped up
change default mood to positive and add a default colour to catch messages with a wrong mood
migrate settings so upgrading vs new is consistent
2017-06-21 08:27:05 -06:00
FusionPBX 0fecdec093 Update check_auth.php 2017-06-20 11:29:50 -06:00
Len b3067e3202 Update y000000000051.cfg 2017-06-20 12:33:01 -04:00
Len 58f3d17b82 Update y000000000065.cfg 2017-06-20 12:27:43 -04:00
Len 97efbb8dfd Update y000000000035.cfg 2017-06-20 12:26:53 -04:00
Len b6a1e8b323 Update y000000000066.cfg 2017-06-20 12:26:09 -04:00
Len 55cf192f07 Update y000000000028.cfg 2017-06-20 12:24:37 -04:00
Len 530a929f2e Update y000000000029.cfg 2017-06-20 12:22:51 -04:00
Len 60564a341b Update y000000000068.cfg 2017-06-20 12:21:22 -04:00
Len 58ebc91869 Update y000000000036.cfg 2017-06-20 12:20:21 -04:00
Len 7ebfcbb3d6 Update y000000000054.cfg 2017-06-20 12:19:51 -04:00
Len 356204024d Update y000000000046.cfg 2017-06-20 12:17:57 -04:00
Len 6bb6f4b40d Update y000000000045.cfg 2017-06-20 12:16:45 -04:00
Len bfbf37e41b Update y000000000069.cfg 2017-06-20 12:09:49 -04:00
Len 8b15a6c9e3 Update y000000000044.cfg 2017-06-20 12:07:57 -04:00
Len 9c8583c761 Update y000000000044.cfg 2017-06-20 12:07:18 -04:00
FusionPBX 8e2dba39a6 Update y000000000052.cfg 2017-06-20 09:54:19 -06:00
andycol 2857679b76 Hide pin codes when a user pushed the redial button (#2690) 2017-06-20 09:51:35 -06:00
Alexey Melnichuk 6fc6e231c8 Add. BLF indication for call forward. (#2664)
* Add. BLF indication for call forward.

To display general status of CallForward use blf like `forward+<extension>`
To display status for specific phone number use blf like `forward+<extension>/<number>`

* Fix. Escape variable in regex expression.

* Fix. Sync DND and CF blf.

* Add. `blf_subscribe` service which can handle all custom subscriptions.

To run for specific protocol it possible run as `luarun blf_subscribe.lua <PROTO>`
2017-06-20 09:23:23 -06:00
FusionPBX f25933e811 Update directory.lua 2017-06-17 12:19:43 -06:00
FusionPBX e214cab135 Update directory.lua 2017-06-17 11:38:24 -06:00
Mafoo 0098dd01c2 Enhance - text class autofill (#2679)
Try and auto fill a value when its blank an the same baseline language
has a value
2017-06-12 22:19:02 -07:00
Mafoo 1c58c1c1f9 Enhance-master-translation autofill (#2681)
Autofill all language files for pt de and es
2017-06-12 22:14:11 -07:00
Mafoo 7bdea2c30c dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
Len 6c97a1ae3d Create {$mac}.cfg 2017-06-12 23:57:47 -04:00
Len 645c5ce222 Create {$mac}.cfg 2017-06-12 23:55:15 -04:00
Len 77b95f19ba Create {$mac}.cfg 2017-06-12 23:52:19 -04:00
Len 91296cadfa Create {$mac}.cfg 2017-06-12 23:50:20 -04:00
Len b83ae4e7a4 Create {$mac}.cfg 2017-06-12 23:48:57 -04:00
Len 79286306a8 Create {$mac}.cfg 2017-06-12 23:46:11 -04:00
Len 270f535ee6 Create {$mac}.cfg 2017-06-12 23:43:52 -04:00
Len 085c5a7464 Create {$mac}.cfg 2017-06-12 23:42:06 -04:00
Len adb4f67d8f Create {$mac}.cfg 2017-06-12 23:39:50 -04:00
Len ca0514afe9 Create {$mac}.cfg 2017-06-12 23:37:37 -04:00
Len c8b8b67fca Create {$mac}.cfg 2017-06-12 23:35:30 -04:00
Len 102a1714f4 Create {$mac}.cfg 2017-06-12 23:33:50 -04:00
Len 8ebb8afaac Create {$mac}.cfg 2017-06-12 23:32:30 -04:00
Len af8f3ca2d8 Create {$mac}.cfg 2017-06-12 23:30:52 -04:00
Len eeef48e536 Create {$mac}.cfg 2017-06-12 23:26:30 -04:00
Len 96fd6a6bed Create {$mac}.cfg 2017-06-12 23:25:16 -04:00
Len a36debbf8e Create {$mac}.cfg 2017-06-12 23:23:18 -04:00
Len 36d233ccf4 Create {$mac}.cfg 2017-06-12 23:21:46 -04:00
Len fd3de05316 Create {$mac}.cfg 2017-06-12 23:20:22 -04:00
Len 5d2afd23f1 Create {$mac}.cfg 2017-06-12 23:18:47 -04:00
Len 17f2b2c5fe Create {$mac}.cfg 2017-06-12 23:17:26 -04:00
Len 9fcf99d49d Create {$mac}.cfg 2017-06-12 23:13:00 -04:00
Len b4b853191b Create {$mac}.cfg 2017-06-12 23:11:11 -04:00
Len e0fdd0d2b3 Create {$mac}.cfg 2017-06-12 23:08:53 -04:00
Len 56c4271147 Create {$mac}.cfg 2017-06-12 23:06:39 -04:00
Len d10c793442 update cid_source 2017-06-12 22:47:05 -04:00
FusionPBX a93b7983ea Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
FusionPBX 04e8f7f522 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX c80f8668da Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX a2da52bf46 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX ed95497c2f Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX 44a43a43f0 Create index.lua 2017-06-10 22:50:40 -06:00
Len 81cfd244ae Create y000000000052.cfg 2017-06-11 00:08:24 -04:00
Len 7ea5d57024 Update y000000000044.cfg 2017-06-11 00:05:55 -04:00
Len f3786a806d Create y000000000044.cfg 2017-06-11 00:01:19 -04:00
Len 54a85fa1f8 Update y000000000069.cfg 2017-06-10 23:56:26 -04:00
Len aa0bbb8802 Create y000000000045.cfg 2017-06-10 23:52:44 -04:00
Len df0b66b34a Update y000000000046.cfg 2017-06-10 23:49:00 -04:00
Len 559d348fba Update y000000000036.cfg 2017-06-10 23:43:54 -04:00
Len d10fbcbcb0 Create y000000000068.cfg 2017-06-10 23:40:07 -04:00
Len 521ecac949 Update y000000000029.cfg 2017-06-10 23:37:06 -04:00
Len 93821aadd4 Update y000000000028.cfg 2017-06-10 23:28:56 -04:00
Len dcd2668fd2 Update y000000000035.cfg 2017-06-10 23:24:28 -04:00
Len 989ca10fe7 Update y000000000051.cfg 2017-06-10 23:22:27 -04:00
Len 484ca0ba00 Update y000000000066.cfg 2017-06-10 23:14:37 -04:00
Len fc1b68ae65 Update y000000000065.cfg 2017-06-10 23:12:51 -04:00
Mafoo 4d6f1b57a0 BugFix - messages class (#2674)
missed the self class reference when adding a legacy message
2017-06-10 16:12:05 -06:00
FusionPBX db20220eef Create text.php
Switch require back to include what it was originally as it breaks too many things with little benefits.
2017-06-10 09:42:54 -06:00
Mafoo aaaff6e3f7 BugFix - check_auth (#2672)
the update to check_auth to enable text i made a mistake and put the
wrong parameter into get. this corrects that
2017-06-10 09:22:24 -06:00
Mafoo ed48da536c Enhance text class (#2670)
make the get routine a little more rugged by checking if the file exists not the directory it is in.
throw a exception if we are asked to load a app_languages that doesn't exist
don't reload the resources/app_languages if exclude_global was ommitted
code styling update to match project
2017-06-10 09:14:58 -06:00
Mafoo 8a2afdcdd0 Enhance - remove statsh/pop from messages class (#2671)
statsh/pop was present to work around a bad implementation in loginphp.
This removes the now redundant code.
2017-06-10 08:59:21 -06:00
Mafoo bf3faaa051 Enhance - add message stash/pop (#2660)
add new methods to messages class to let it take care of stash and pop of the messages
update login.php to use new methods
tweak html function to put the $_SESSION['message'] in the stack so there is only one code point to maintain for rendering
2017-06-09 22:15:18 -06:00
Mafoo 9ecba1d010 Enhance [master] - update check_auth to use $text (#2661)
* Enhance - update check_auth to use $text

convert to messages::add and utilize $text for invalid_credentials

* Russian translations for check_auth
2017-06-09 22:13:51 -06:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo bc26ecf6ae Enhance - better reasons for 403 in orm class (#2659)
update return message when code 403 to also state the permission that failed
2017-06-09 20:03:22 -06:00
Mafoo 70cfac5876 remove debug lines in permissions (#2658)
because application defaults is now captured for output these debug
lines show up when used. This removes them
2017-06-09 13:32:31 -06:00
Mafoo b941879c91 BugFix - database class app_uuid (#2663)
if $database->app_uuid is not set it would use '' in some conditions
which isset would test true.
This fix uses strlen instead, but also fixes number_transations app that
highlighted the flaw
2017-06-09 13:31:50 -06:00
FusionPBX e308b17f45 Update external.xml.noload 2017-06-09 11:19:57 -06:00
FusionPBX 07cfb6391c Update internal-ipv6.xml.noload 2017-06-09 11:19:16 -06:00
FusionPBX c8acba483e Update internal.xml.noload 2017-06-09 11:18:42 -06:00
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Alexey Melnichuk f939c82862 Add. Allow use `call_flow_subscribe.lua` with feature codes without `flow+` prefix. (#2609)
This commit allows create call flow extension with some feature code (e.g. `*401`)
Then on the phone you can configure BLF like `flow+*401` and use `call_flow_subscribe` to
track current status of this call flow. BLF like `*401` will also works but only if
use `call_flow_monitor` script.
Also it is possible dial `flow+*401` as well as `*401` to toggle call flow state.
2017-06-08 09:44:45 -06:00
Mafoo 32a6f76ed0 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo bfe3ff173f Enhance - Display text on app_defaults (#2645)
enable display_type on domains (and therefore app_defaults)
capture the output of app_defaults
format if statements to project preference
use more generic label display for results reducing number of translations required
change upgrade.php to use the more consistent $display_type
2017-06-08 09:39:50 -06:00
Alexey Melnichuk 46f74ab726 Fix. Properly handle error from memcached when load configs. (#2641)
On my system mod_memcached returns `-ERR SOME ERRORS WERE REPORTED` when
memcached service not available. And sofia.conf.lua does not handle this case
and interpret this response as valid one.
Using `cache` class allows handle such errors. Also this class handle all
escaping operation which makes code more clear.
2017-06-08 09:38:28 -06:00
Alexey Melnichuk cfeb809900 Add. Use `cache` class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
Len af89276cfb update cid_source 2017-06-07 15:04:34 -04:00
Len 5afcf57ecd update cid_source 2017-06-07 15:00:47 -04:00
Len ff5226bec4 update cid_source 2017-06-07 14:56:20 -04:00
Len ad7bdfe0a6 update cid_source 2017-06-07 14:53:00 -04:00
Len a1f5913cba update cid_source 2017-06-07 14:42:42 -04:00
Len 96d780525f update cid_source 2017-06-07 14:35:00 -04:00
Len e24380179d update cid_source 2017-06-07 14:26:59 -04:00
Len 0b0ed7dee8 update cid_source 2017-06-07 14:23:49 -04:00
Len 9c48801db0 update cid_source 2017-06-07 14:20:42 -04:00
Len 569a9e3c79 update cid_source 2017-06-07 14:18:02 -04:00
Len 51ce70e7e3 update cid_source 2017-06-07 14:13:26 -04:00
Len d020c4fe9f update cid_source 2017-06-07 14:09:42 -04:00
Len df37fbd44c update cid_source 2017-06-07 14:06:38 -04:00
Len d485c1f352 update cid_source 2017-06-07 14:03:36 -04:00
Len 8afd4b0c5f update cid_source 2017-06-07 13:59:59 -04:00
Len 49b1b8c669 update cid_source 2017-06-07 13:56:29 -04:00
Len 33b8ff4e87 update cid_source 2017-06-07 13:53:29 -04:00
Len 237a4be1bc update cid_source 2017-06-07 13:50:09 -04:00
Len 32785c188e update cid_source 2017-06-07 13:39:58 -04:00
Len 1f07a10031 update cid_source 2017-06-07 13:36:48 -04:00
Len 8d9e26b909 update cid_source 2017-06-07 13:30:12 -04:00
Len 8bd3d95485 update cid_source 2017-06-07 13:27:34 -04:00
Len 1737c04bbf update cid_source 2017-06-07 13:25:10 -04:00
Len 26a709332f Update {$mac}.cfg 2017-06-07 13:22:25 -04:00
Len 82e228813d Update cid_source 2017-06-07 13:19:58 -04:00
Len 552cd29443 Update {$mac}.cfg
Update cid_source
2017-06-07 13:14:56 -04:00
FusionPBX 16a0797900 Update 2017-06-06 23:01:46 -06:00
FusionPBX 7e6d4d3c50 Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX 8403a806cc Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX 9ea2adba59 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00
Len 47b01e8b61 Merge branch 'master' into patch-1 2017-06-06 02:02:04 -04:00
Len 022f9b17ae Update y000000000023.cfg 2017-06-05 17:03:27 -04:00
Len d1271707bc Update y000000000053.cfg 2017-06-05 16:58:36 -04:00
Len 519d110df8 Update y000000000007.cfg 2017-06-05 16:57:32 -04:00
Len aa8689d8cc Update y000000000052.cfg 2017-06-05 16:56:35 -04:00
Len 7a610be056 Update y000000000005.cfg 2017-06-05 16:51:52 -04:00
Len 55777b82e7 Update y000000000044.cfg 2017-06-05 16:50:32 -04:00
Len 588381cf48 Update y000000000044.cfg 2017-06-05 16:48:16 -04:00
Len fdb08e804b Update y000000000004.cfg 2017-06-05 16:47:05 -04:00
Len b1e05fa0b0 Update y000000000069.cfg 2017-06-05 16:44:30 -04:00
Len 7b89e0c4ca Update y000000000045.cfg 2017-06-05 16:41:10 -04:00
Len ab4ea81ed8 Update y000000000000.cfg 2017-06-05 16:37:41 -04:00
Len 44f8e052a2 Update y000000000046.cfg 2017-06-05 16:35:48 -04:00
Len c2378313c0 Update y000000000032.cfg 2017-06-05 16:33:31 -04:00
Len c0c7dd6e48 Update y000000000038.cfg 2017-06-05 16:32:15 -04:00
Len 3640c3ce16 Update y000000000054.cfg 2017-06-05 16:30:08 -04:00
Len db489b34c1 Update y000000000036.cfg 2017-06-05 16:29:19 -04:00
Len 1ea80c217e Update y000000000068.cfg 2017-06-05 16:27:52 -04:00
Len 446cb96a1f Update y000000000029.cfg 2017-06-05 16:24:14 -04:00
Len 67f9239ff4 Update y000000000051.cfg 2017-06-05 16:15:18 -04:00
Len 1260888819 Update y000000000065.cfg 2017-06-05 16:12:02 -04:00
Len 0ed5966a48 Update y000000000035.cfg 2017-06-05 16:09:23 -04:00
Len 0173ba73b8 Update y000000000028.cfg 2017-06-05 16:07:53 -04:00
Len 08528e800d Update y000000000066.cfg 2017-06-05 16:06:32 -04:00
Len e0544b98ce Update y000000000028.cfg 2017-06-05 16:04:18 -04:00
FusionPBX 7c1a59219a Create v8.conf.xml 2017-06-05 11:49:51 -06:00
FusionPBX 81d5a15d90 Create opus.conf.xml 2017-06-05 11:43:02 -06:00
Alexey Melnichuk 4115ca3bd9 Fix. Find php interpreter when use CGI/FastCGI mode. (#2640)
Prev version has bug when extension_dir has relative path (e.g. `ext`)
`basedir('ext')` returns not empty string by dot symbol `.` so it going to
infinity loop.
Also official distro of PHP has no executable binaries with version (phpX.exe)
only `php.exe`.
Tested on OpenServer with PHP 5.3-7.1 under Apache/Nginx.
And also on manual install of Nginx 1.11 / PHP 5.4
2017-06-05 08:47:38 -06:00
netpro25 1716255660 Update fax_retry.lua (#2625)
Had an issue with malformed email confirmation where the number_dialed was showing up with a bunch of random repeating strings after it. This resolved it for me. Also fixed a grammar error.
2017-06-02 22:33:32 -06:00
Mafoo 8709d01fb0 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Mafoo 4ae8b418d4 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
Kristian Karlsson 22c317eb2f BugFix [master] - Update languages (#2621)
Update for the Swedish language translation.
2017-06-02 08:39:34 -06:00
jamesorose b2a8fd4427 voicemail lights up on missed calls
this behavior is annoying, and creates confusion among users. please add this as the default.
2017-06-01 13:53:42 -05:00
Mafoo 828646b258 BugFix [master] - menu class (#2622)
when a translation is missing/blank take it from en-us
take the list of lanaguages from text class so all languages get a value
(should fix missing logout button in some languages)
2017-06-01 10:21:21 -06:00
Mafoo 10188339e5 BugFix [master] - messages class (#2618)
htmlspecialchars isn't required for the javascript, only the \r?\n escape
2017-05-31 14:09:07 -06:00
Mafoo c295bd25e1 BugFix [master] - messages class escape more text automatically (#2612)
because we are using javascript to populate the messages list we need to
make sure all special chars are escaped or line feeds will cause
problems
2017-05-30 13:44:51 -06:00
Alexey Melnichuk a7d58e14c7 Add. Support DND feature via BLF key (#2606) 2017-05-29 09:50:20 -06:00
Mafoo 71f681496b BugFix [master] database class (#2594)
Fix for if you send an array containing both updates and new data, it would end up placing all the new data on top of the last item containing the uuid of the last update (if updates are earlier in the array than new items)
2017-05-28 10:18:07 -06:00
FusionPBX d436890db0 Update {$mac}.xml 2017-05-28 09:58:26 -06:00
FusionPBX 1534b1b8b3 Create {$mac}.xml 2017-05-28 09:56:40 -06:00
Mafoo 1ff6bc7ad5 Enhance [master] Better reasons for 403 in database class (#2596)
update return message when code 403 to also state the permission that failed
2017-05-25 23:54:10 -06:00
Mafoo 13557c30ec BugFix [master] text class (#2598)
update escape_str to more reliabiliy escape the string into a consistent
format
2017-05-23 09:26:33 -06:00
Alexey Melnichuk c4c97fee29 Fix. Remove using `call_prompt` field. (#2589)
It marked as deprecated and do not used anywhere.
2017-05-21 01:32:24 -06:00
FusionPBX ddf5cd558a Update intercept.lua 2017-05-19 01:21:19 -06:00
FusionPBX a074819270 Update intercept.lua 2017-05-19 01:17:08 -06:00
FusionPBX 6bdc5784b7 Update intercept.lua 2017-05-19 01:07:05 -06:00
Andrei Mahalean 80c31bd318 Add provisioning template for Yealink T19P-E2 (#2584) 2017-05-18 08:44:43 -06:00
FusionPBX 1df1faa442 Update app_languages.php 2017-05-16 10:23:53 -06:00
Mafoo 4963119692 Enhance [master] add column descriptions to xml_cdr (#2571)
update th_order_by to accept optional description parameter that will
populate the title field and append the , sort(order)
2017-05-13 14:14:03 -06:00
Mafoo f44aee3bf8 Enhance - Convert all languages to 2-2 digit (#2581)
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
FusionPBX 36e104a59a Update sofia.conf.lua 2017-05-12 13:21:19 -06:00
FusionPBX 2fda163776 Update sofia.conf.lua 2017-05-12 12:36:34 -06:00
Mafoo 0302d8085c reworked text class to gather the languages on construction (more efficient) (#2576)
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
Mafoo 22dc22c30e BugFix [master] Languages add missing text placeholders (#2572)
* BugFix [master] Languages add missing text placeholders

add placeholders for missing language text
reorganise file so languages are in a consistent order with en-us always first, and the remaining stored alphabetically
space out tag names to make them line up for readability

* add organize_language to text class

also add get_languages
2017-05-10 13:40:46 -06:00
FusionPBX 1c1fc9a17d Update directory.lua 2017-05-08 23:20:31 -06:00
FusionPBX 3a05c0bce7 Update directory.lua 2017-05-08 23:17:03 -06:00
FusionPBX ab7604bf3e Update y000000000068.cfg 2017-05-01 14:21:35 -07:00
FusionPBX 35f776a33d Update y000000000068.cfg 2017-05-01 14:20:58 -07:00
FusionPBX 6b19f5b857 Create directory.xml 2017-05-01 14:19:41 -07:00
FusionPBX c21b28526d Create favorite_setting.xml 2017-05-01 14:18:28 -07:00
FusionPBX 3270810c86 Create y000000000068.cfg 2017-05-01 14:17:37 -07:00