Update on_dtmf.lua
This commit is contained in:
@@ -37,11 +37,15 @@
|
|||||||
if (stream_seek == true) then
|
if (stream_seek == true) then
|
||||||
if (dtmf_digits == "4") then
|
if (dtmf_digits == "4") then
|
||||||
dtmf_digits = "";
|
dtmf_digits = "";
|
||||||
return("seek:-12000");
|
return("seek:-10000");
|
||||||
|
end
|
||||||
|
if (dtmf_digits == "5") then
|
||||||
|
dtmf_digits = "";
|
||||||
|
return("pause");
|
||||||
end
|
end
|
||||||
if (dtmf_digits == "6") then
|
if (dtmf_digits == "6") then
|
||||||
dtmf_digits = "";
|
dtmf_digits = "";
|
||||||
return("seek:12000");
|
return("seek:+10000");
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if (string.len(dtmf_digits) >= max_digits) then
|
if (string.len(dtmf_digits) >= max_digits) then
|
||||||
@@ -53,4 +57,4 @@
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
return 0;
|
return 0;
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user