diff --git a/src/nksip_call_uac_transp.erl b/src/nksip_call_uac_transp.erl index 421d42fb..91fd6867 100644 --- a/src/nksip_call_uac_transp.erl +++ b/src/nksip_call_uac_transp.erl @@ -98,7 +98,10 @@ send_request(Req, Call, Opts) -> #nkport{}=Flow -> [Flow|Destinations1]; undefined -> - Destinations1 + case nklib_util:get_value(outbound_proxy, Opts) of + undefined -> Destinations1; + OutboundProxy -> [OutboundProxy] + end end, %% io:format("URI ~p\n", [{UriScheme, UriTransp, UriDomain, UriPort}]), %% io:format("DESTS ~p\n", [Dests]),