mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update on_dtmf.lua
This commit is contained in:
@@ -37,11 +37,15 @@
|
||||
if (stream_seek == true) then
|
||||
if (dtmf_digits == "4") then
|
||||
dtmf_digits = "";
|
||||
return("seek:-12000");
|
||||
return("seek:-10000");
|
||||
end
|
||||
if (dtmf_digits == "5") then
|
||||
dtmf_digits = "";
|
||||
return("pause");
|
||||
end
|
||||
if (dtmf_digits == "6") then
|
||||
dtmf_digits = "";
|
||||
return("seek:12000");
|
||||
return("seek:+10000");
|
||||
end
|
||||
end
|
||||
if (string.len(dtmf_digits) >= max_digits) then
|
||||
@@ -53,4 +57,4 @@
|
||||
end
|
||||
end
|
||||
return 0;
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user