To allow recording termination when the extension is entered by menu (*98) (#3956)
It was not possible to terminate a recording with a keypress when *98 was used. *98ext was working.
This commit is contained in:
parent
935b8888cd
commit
0ffb8d4c7d
|
|
@ -276,16 +276,17 @@
|
|||
--unset bind meta app
|
||||
session:execute("unbind_meta_app", "");
|
||||
|
||||
--set the callback function
|
||||
if (session:ready()) then
|
||||
session:setVariable("playback_terminators", "#");
|
||||
session:setInputCallback("on_dtmf", "");
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--set the callback function
|
||||
if (session:ready()) then
|
||||
session:setVariable("playback_terminators", "#");
|
||||
session:setInputCallback("on_dtmf", "");
|
||||
end
|
||||
|
||||
--general functions
|
||||
require "resources.functions.base64";
|
||||
require "resources.functions.trim";
|
||||
|
|
|
|||
Loading…
Reference in New Issue