From fdac3707f2a8f8670108d82a2322f893935a3c5c Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Sun, 4 Aug 2013 12:17:18 +0200 Subject: support for multiple constraints added --- misc/freeswitch/scripts/dialplan/sip_call.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') 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 -- cgit v1.2.3