Set cal
This commit is contained in:
parent
44fa389a8c
commit
6e4eb3f73f
|
|
@ -120,6 +120,11 @@
|
|||
call_direction = session:getVariable("call_direction");
|
||||
end
|
||||
|
||||
--set the call_timeout to a higher value to prevent the early timeout of the ring group
|
||||
if (session:ready()) then
|
||||
session:setVariable("call_timeout","300");
|
||||
end
|
||||
|
||||
--default to local if nil
|
||||
if (call_direction == nil) then
|
||||
call_direction = "local";
|
||||
|
|
|
|||
Loading…
Reference in New Issue