Simplify the speed_dial cache key
This commit is contained in:
parent
a62235e983
commit
3f4c74dac8
|
|
@ -45,7 +45,7 @@
|
|||
destination = argv[2];
|
||||
|
||||
-- search in cache first
|
||||
local key = "app:dialplan:outbound:speed_dial:" .. user .. ":" .. destination .. "@" .. domain_name
|
||||
local key = "app:dialplan:speed_dial:" .. destination .. "@" .. domain_name
|
||||
local value = cache.get(key)
|
||||
|
||||
-- decode value from cache
|
||||
|
|
|
|||
Loading…
Reference in New Issue