[OpenSIPS-Devel] [OpenSIPS/opensips] 81da72: Fix script varibles for providing port and proto (...
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 24 10:30:44 CEST 2016
Branch: refs/heads/2.1
Home: https://github.com/OpenSIPS/opensips
Commit: 81da723e554c6efb7404e56329eeb85a6970893a
https://github.com/OpenSIPS/opensips/commit/81da723e554c6efb7404e56329eeb85a6970893a
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-06-24 (Fri, 24 Jun 2016)
Changed paths:
M pvar.c
Log Message:
-----------
Fix script varibles for providing port and proto (as part of SIP URI).
If the SIP URI does not have an explicit port or proto, determine the default port/proto in a SIP wise manner (rather than returning 5060 / UDP) (Ex: sip:example.com;transport=tls has default port 5061 and not 5060 ; or sips:example.com has default proto TLS and not UDP).
Affected variables are $dp, $rp, $op and $dP, $rP, $oP
(cherry picked from commit 6cc850e34dcd022f1ed354bd50d9a1809518fa1f)
More information about the Devel
mailing list