mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Don't add 'rport' paramater to 'Via' header
This commit is contained in:
parent
0aea9c74bd
commit
6441c284e0
@ -271,8 +271,7 @@ add_via(#sip_socket{type = Transport}, LServer, #sip{hdrs = Hdrs} = Req) ->
|
||||
Via = #via{transport = ViaTransport,
|
||||
host = ViaHost,
|
||||
port = ViaPort,
|
||||
params = [{<<"branch">>, esip:make_branch()},
|
||||
{<<"rport">>, <<"">>}]},
|
||||
params = [{<<"branch">>, esip:make_branch()}]},
|
||||
Req#sip{hdrs = [{'via', [Via]}|Hdrs]}.
|
||||
|
||||
add_record_route_and_set_uri(URI, LServer, #sip{hdrs = Hdrs} = Req) ->
|
||||
|
Loading…
Reference in New Issue
Block a user