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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3593a5f5b2e012154b1c9a00e1645c67c5ece91c
      https://github.com/OpenSIPS/opensips/commit/3593a5f5b2e012154b1c9a00e1645c67c5ece91c
  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.




More information about the Devel mailing list