This website requires JavaScript.
Explore
Help
Sign In
dbxe
/
fusionpbx
Watch
2
Star
0
Fork
You've already forked fusionpbx
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
48a0990d51
fusionpbx
/
app
/
switch
/
resources
/
scripts
/
call_flow_subscribe.lua
5 lines
72 B
Lua
Raw
Normal View
History
Unescape
Escape
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 17:23:23 +02:00
-- For backward compatibility
argv
[
1
]
=
'
flow
'
require
"
blf_subscribe
"
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 18:32:19 +02:00