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:
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue