mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Update dtmf_handler.lua
Event-Date-Timestamp resolution is in microseconds, transfer_history is only seconds. We need have the same key.
This commit is contained in:
committed by
GitHub
parent
908e7f67d6
commit
fa12c4daea
@@ -4,7 +4,8 @@
|
||||
--freeswitch.consoleLog("NOTICE", "Serial!\n" .. s)
|
||||
|
||||
local call_uuid = event:getHeader("Caller-Unique-ID");
|
||||
local channel_timestamp = event:getHeader("Event-Date-Timestamp");
|
||||
--local channel_timestamp = event:getHeader("Event-Date-Timestamp");
|
||||
local channel_timestamp = os.time();
|
||||
local dtmf_value = event:getHeader("DTMF-Digit");
|
||||
|
||||
local session = freeswitch.Session(call_uuid);
|
||||
|
||||
Reference in New Issue
Block a user