Commit Graph
27 Commits
Author SHA1 Message Date
Alexey Melnichuk ebfa71298d Add. option to store setting in memcache. (#1707) 2016-06-26 11:43:32 -06:00
Alexey Melnichuk 5a58cf1436 Fix. Set default values for max length settings (#1706) 2016-06-26 11:42:33 -06:00
Alexey Melnichuk c0739c4d40 Fix. Load required libraries in voicemail. (#1705) 2016-06-26 09:03:21 -06:00
Alexey Melnichuk 0a0383db9a Add. Handler for SUBSCRIBE method for call flow application. (#1701)
* Add. Handler for SUBSCRIBE method for call flow application.

Usage:
1. Run form fs_cli `luarun call_flow_subscribe`
2. Create new call flow extension and set feature code to `flow+<EXTENSION>`(e.g. `flow+401`).
3. Set on the phone BLF key to `flow+401`

This code based on `mod_valet_parking`.

* Add. prevent running 2 copy of script.

Remove some unused vars and simplify implementation.

* Fix. Use correct protocol for send event.

* Fix. Do escape SQL arguments

* Fix. escape `+` sign in call flow extension.
2016-06-24 10:32:19 -06:00
Alexey Melnichuk e44e4b4e3c Update Escene provision. (#1696)
* Update Escene provision.

Support DNS SRV record.
Set time zone.

* Add. Date/Time formats for Escene template.
2016-06-23 12:47:42 -06:00
Alexey Melnichuk 032872f5b3 Fix. Disable device provision. (#1700)
Close #1389
Rewrite code to write config file to file.
2016-06-23 12:47:06 -06:00
Alexey Melnichuk 510c7665a4 Fix. Provision for devices without (#1689) 2016-06-21 08:06:45 -06:00
Alexey Melnichuk 42aec3c0d8 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk 99c9b762f2 Update Escene template to Firmware 4.2.0 (#1680)
* Update Escene template to Firmware 4.2.0

* Add. Line label.
2016-06-20 11:46:43 -06:00
Alexey Melnichuk f59f0c9f50 Add. Use static function to find vendor by User-Agent string. (#1681)
Add. Escene and AddPac vendors.
2016-06-20 11:45:20 -06:00
Alexey Melnichuk b982eae5da Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
Alexey Melnichuk 736519f3cd Fix. Export valid values for settings in provision template. (#1685) 2016-06-20 11:40:22 -06:00
Alexey Melnichuk f9171c96aa Fix. Display key type in Profile app. (#1658) 2016-06-17 12:43:51 -06:00
Alexey Melnichuk ede2f8f57d Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Alexey Melnichuk 38a5cb5a3f Fix. Make configure consistent with web interface. (#1671) 2016-06-16 12:20:34 -06:00
Alexey Melnichuk 40fe5f3138 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
Alexey Melnichuk 83e45dda1a Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
Alexey Melnichuk 6095609c5a Add. Support sound prompts on call flow. (#1645)
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
Alexey Melnichuk 644996b1f7 Add. Support bridge mode to call forward from Lua. (#1631) 2016-06-08 07:33:55 -06:00
Alexey Melnichuk b4bb2e8221 Add. Support Escene phone book (#1613) 2016-05-25 04:28:32 -06:00
Alexey Melnichuk 9f979b3299 Add. Support Escene phone book (#1598) 2016-05-13 08:35:47 -06:00
Alexey Melnichuk 6df1dae2a9 Fix. Use correct database for Call Center while FS load. (#1597)
Problem that `mod_commands` may load after than `mod_callcenter` and there no function `global_getvar`
So current code just create database with name `INVALID COMMAND!.db`.
2016-05-13 08:03:48 -06:00
Alexey Melnichuk 6202b1e58f Update escene config. 2016-05-11 07:44:03 -06:00
Alexey Melnichuk 840ea3faa4 Fix. Do not populate invalid paths. (#1585)
Problem when `opendir($dir)` returns `false` and then
while cycle adds many empty strings which produce in the end
```
/etc/freeswitch/tls
/etc/freeswitch/tls/
/etc/freeswitch/tls//
/etc/freeswitch/tls///
/etc/freeswitch/tls////
/etc/freeswitch/tls/////
/etc/freeswitch/tls//////
/etc/freeswitch/tls///////
```
2016-05-06 09:28:10 -06:00
Alexey Melnichuk f828c1c56b Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
Alexey Melnichuk 114b2fb202 Fix. Set all allowed extensions while default settings. 2016-05-02 23:59:47 -06:00
Alexey Melnichuk 0c61e650d0 Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03:00