Add ignore early media for external calls
This commit is contained in:
@@ -629,11 +629,15 @@ log = require "resources.functions.log".ring_group
|
|||||||
end);
|
end);
|
||||||
--freeswitch.consoleLog("NOTICE", "[ring_group] external "..external.."\n");
|
--freeswitch.consoleLog("NOTICE", "[ring_group] external "..external.."\n");
|
||||||
|
|
||||||
--get the dialplan data and save it to a table
|
--run this if there are any external destinations
|
||||||
if (external == "true") then
|
if (external == "true") then
|
||||||
dialplans = route_to_bridge.preload_dialplan(
|
-- set ignore early media
|
||||||
dbh, domain_uuid, {hostname = hostname, context = context}
|
session:execute("set", "ignore_early_media=true");
|
||||||
)
|
|
||||||
|
--get the dialplan data and save it to a table
|
||||||
|
--dialplans = route_to_bridge.preload_dialplan(
|
||||||
|
-- dbh, domain_uuid, {hostname = hostname, context = context}
|
||||||
|
--)
|
||||||
end
|
end
|
||||||
|
|
||||||
---add follow me destinations
|
---add follow me destinations
|
||||||
|
|||||||
Reference in New Issue
Block a user