summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-04 12:17:18 +0200
committerPeter Kozak <spag@golwen.net>2013-08-04 12:17:18 +0200
commitfdac3707f2a8f8670108d82a2322f893935a3c5c (patch)
tree2979ea4f9837da054bdd881ae555efb0b5bc9a81
parent87ffa12ff7d48e61daa4a3531d42537b48755f0a (diff)
support for multiple constraints added
-rw-r--r--misc/freeswitch/scripts/dialplan/sip_call.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/sip_call.lua b/misc/freeswitch/scripts/dialplan/sip_call.lua
index eba53e6..1b5ee5d 100644
--- a/misc/freeswitch/scripts/dialplan/sip_call.lua
+++ b/misc/freeswitch/scripts/dialplan/sip_call.lua
@@ -175,7 +175,7 @@ function SipCall.fork(self, destinations, arg )
local gateway = common.gateway.Gateway:new{ log = self.log, database = self.database}:find_by_id(destination.id);
if gateway and gateway.outbound then
- gateway:origination_variables('invite', origination_variables, self.caller);
+ gateway:origination_variables('invite', origination_variables, gateway.settings, destination, self.caller);
if destination.channel_variables then
for key, value in pairs(destination.channel_variables) do