[OpenSIPS-Devel] [OpenSIPS/opensips] f91441: Fixed interface matching in loose_route()

Bogdan-Andrei Iancu bogdan at opensips.org
Mon May 30 11:49:21 CEST 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f91441d43e814d06ebf325e637206be411112879
      https://github.com/OpenSIPS/opensips/commit/f91441d43e814d06ebf325e637206be411112879
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M modules/rr/loose.c

  Log Message:
  -----------
  Fixed interface matching in loose_route()

If port is missing in Route URI, do not assume default 5060, but consider the schema and protocol (they may require a different default port).
Ex: sip:10.0.0.5;transport=tls was previously handled as sip:10.0.0.5:5060;transport=tls, which is wrong as the default TLS port is 5061
Reported on mailing list by Ravitez Dondeti.

(cherry picked from commit 3593a5f5b2e012154b1c9a00e1645c67c5ece91c)




More information about the Devel mailing list