[OpenSIPS-Devel] [OpenSIPS/opensips] 6cc850: Fix script varibles for providing port and proto (...
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 24 10:05:39 CEST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 6cc850e34dcd022f1ed354bd50d9a1809518fa1f
https://github.com/OpenSIPS/opensips/commit/6cc850e34dcd022f1ed354bd50d9a1809518fa1f
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
More information about the Devel
mailing list