Commit Graph

1110 Commits

Author SHA1 Message Date
FusionPBX
7b786a7fc7 Update index.lua 2017-08-27 15:16:01 -06:00
FusionPBX
a392cae1f8 Update index.lua 2017-08-27 15:11:31 -06:00
FusionPBX
db83ba74c2 Update mwi_notify.lua 2017-08-23 23:05:51 -06:00
konradSC
67d6d7e4d2 Update do_not_disturb.lua (#2803)
Use cache function instead of directly clearing memcache.
2017-08-22 16:16:35 -06:00
FusionPBX
0c043f915c Update index.lua 2017-08-14 12:40:42 -06:00
FusionPBX
ae363deaae Update dialplan.lua 2017-08-07 00:28:31 -06:00
konradSC
fc1c8e3a22 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
7ef72a7a8e 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
f19c4fe3fa Update index.lua 2017-07-29 23:06:43 -06:00
Alexey Melnichuk
e728cb44ae 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
5cc2869e5d 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
d6333723c1 Update index.lua 2017-07-24 19:49:32 -06:00
FusionPBX
47b6e497ad Update index.lua 2017-07-23 23:40:39 -06:00
FusionPBX
eb8bcc755e Update cache.lua 2017-07-22 15:18:20 -06:00
FusionPBX
c126138cf7 Update cache.lua 2017-07-22 15:17:11 -06:00
FusionPBX
c2663c3e59 Update cache.lua 2017-07-22 12:38:45 -06:00
FusionPBX
8e5eb0c110 Update cache.lua 2017-07-22 01:09:39 -06:00
FusionPBX
f7a26d7711 Update lazy_settings.lua 2017-07-22 00:38:25 -06:00
FusionPBX
c2c239d337 Update index.lua 2017-07-21 18:05:23 -06:00
FusionPBX
25a244f874 Update index.lua 2017-07-21 18:05:08 -06:00
Len
16b54e6581 Update index.lua 2017-07-21 00:10:35 -04:00
FusionPBX
c7c67f3ea2 Update index.lua 2017-07-20 03:50:10 -06:00
FusionPBX
0cefad0358 Update index.lua 2017-07-19 23:07:04 -06:00
FusionPBX
08034e37ff Update index.lua 2017-07-19 23:06:41 -06:00
FusionPBX
2d1beb0bec Update index.lua 2017-07-14 12:26:01 -06:00
FusionPBX
b51dfe2f13 Create translate.conf.lua 2017-06-29 12:11:39 -06:00
Alexey Melnichuk
9e38643c40 Fix. Stack overflow when calls base actor. (#2706) 2017-06-22 00:14:28 -06:00
Alexey Melnichuk
515fc15767 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
524c614651 Update directory.lua 2017-06-17 12:19:43 -06:00
FusionPBX
bbf8aca7d0 Update directory.lua 2017-06-17 11:38:24 -06:00
FusionPBX
3a0db01a92 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX
d9a4a8344a Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX
1342888163 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX
8ca0847900 Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX
fbbd57f8c2 Create index.lua 2017-06-10 22:50:40 -06:00
Alexey Melnichuk
d43cb9e700 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
Alexey Melnichuk
76ab1cca6a 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
49ab82e657 Add. Use cache class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
FusionPBX
161adf5cad Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX
b6f85d9392 Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX
e394ab4475 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00
netpro25
73032b5fae 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
Alexey Melnichuk
64b1134482 Add. Support DND feature via BLF key (#2606) 2017-05-29 09:50:20 -06:00
Alexey Melnichuk
fa787880d4 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
bf7f211b46 Update intercept.lua 2017-05-19 01:21:19 -06:00
FusionPBX
688cdc5e90 Update intercept.lua 2017-05-19 01:17:08 -06:00
FusionPBX
dd37b89353 Update intercept.lua 2017-05-19 01:07:05 -06:00
FusionPBX
1dff786b60 Update sofia.conf.lua 2017-05-12 13:21:19 -06:00
FusionPBX
24fb954811 Update sofia.conf.lua 2017-05-12 12:36:34 -06:00
FusionPBX
340ed5142d Update directory.lua 2017-05-08 23:20:31 -06:00