Commit Graph

5 Commits

Author SHA1 Message Date
Alexey Melnichuk cf9c77ad9b Add. Speed dial respects contacts user. (#2249)
* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.
2017-04-17 09:02:36 -06:00
Alexey Melnichuk 4648f97c17 Fix. Find in database not empty phone number for speed dial. (#2242)
Also do not store `context` in memcache
2016-12-09 00:49:51 -07:00
FusionPBX 9eb6ea6472 Update index.lua
Change destination_number to destination, and use argv to get the destination.
2016-12-08 11:48:07 -07:00
Alexey Melnichuk bd9dc60090 Rewrite speed_dial Lua script. (#2239) 2016-12-08 10:23:38 -07:00
FusionPBX d86ea6b0de Create index.lua 2016-12-08 03:03:58 -07:00