Update on_dtmf.lua
This commit is contained in:
parent
0018e767f2
commit
bb360bfce6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue