mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 10:03:49 +00:00
16 lines
174 B
Lua
16 lines
174 B
Lua
if freeswitch then
|
|
|
|
function sleep(ms)
|
|
freeswitch.msleep(ms)
|
|
end
|
|
|
|
else
|
|
|
|
local socket = require "socket"
|
|
|
|
function sleep(ms)
|
|
socket.sleep(ms/1000)
|
|
end
|
|
|
|
end
|