diff options
| -rw-r--r-- | src/mod_sip_proxy.erl | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl index 7a10671e4..f2648e7dd 100644 --- a/src/mod_sip_proxy.erl +++ b/src/mod_sip_proxy.erl @@ -47,9 +47,9 @@ route(Req, LServer, Opts) ->      case connect(Req1, add_certfile(LServer, Opts)) of  	{ok, SIPSocketsWithURIs} ->  	    lists:foreach( -	      fun({SIPSocket, URI}) -> +	      fun({SIPSocket, _URI}) ->  		      Req2 = add_via(SIPSocket, LServer, Req1), -		      esip:send(SIPSocket, Req2#sip{uri = URI}) +		      esip:send(SIPSocket, Req2)  	      end, SIPSocketsWithURIs);  	_ ->  	    error | 
