From b75b5ebeb28b3cca53eea567ea930f77a072dc9e Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Sat, 31 May 2014 14:21:29 +0400 Subject: [PATCH] Fix 'via' option lookup --- src/mod_sip_proxy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl index 526c498f8..f25acbd4e 100644 --- a/src/mod_sip_proxy.erl +++ b/src/mod_sip_proxy.erl @@ -265,7 +265,7 @@ is_request_within_dialog(#sip{hdrs = Hdrs}) -> get_configured_vias(LServer) -> gen_mod:get_module_opt( - LServer, ?MODULE, via, + LServer, mod_sip, via, fun(L) -> lists:map( fun(Opts) ->