mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't substitute URI in ACK
This commit is contained in:
parent
2cd17c7988
commit
da22da23cd
@ -47,9 +47,9 @@ route(Req, LServer, Opts) ->
|
|||||||
case connect(Req1, add_certfile(LServer, Opts)) of
|
case connect(Req1, add_certfile(LServer, Opts)) of
|
||||||
{ok, SIPSocketsWithURIs} ->
|
{ok, SIPSocketsWithURIs} ->
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun({SIPSocket, URI}) ->
|
fun({SIPSocket, _URI}) ->
|
||||||
Req2 = add_via(SIPSocket, LServer, Req1),
|
Req2 = add_via(SIPSocket, LServer, Req1),
|
||||||
esip:send(SIPSocket, Req2#sip{uri = URI})
|
esip:send(SIPSocket, Req2)
|
||||||
end, SIPSocketsWithURIs);
|
end, SIPSocketsWithURIs);
|
||||||
_ ->
|
_ ->
|
||||||
error
|
error
|
||||||
|
Loading…
Reference in New Issue
Block a user