diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2014-06-02 20:46:09 +0400 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2014-06-02 20:46:29 +0400 |
commit | 6441c284e07e5311f24b1db71b063d049866d2c8 (patch) | |
tree | 888d04f2c23fbf116b91c6cb6e121c070a4a9ff2 /src/mod_sip_proxy.erl | |
parent | Rename option 'route' to 'record_route' and add new option 'routes' (diff) |
Don't add 'rport' paramater to 'Via' header
Diffstat (limited to 'src/mod_sip_proxy.erl')
-rw-r--r-- | src/mod_sip_proxy.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl index b6d75bc62..de5760fef 100644 --- a/src/mod_sip_proxy.erl +++ b/src/mod_sip_proxy.erl @@ -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) -> |