[asterisk-commits] russell: branch bbryant/sip-tcptls r78992 - /team/bbryant/sip-tcptls/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 10 09:38:40 CDT 2007


Author: russell
Date: Fri Aug 10 09:38:40 2007
New Revision: 78992

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78992
Log:
fix a copy/paste error

Modified:
    team/bbryant/sip-tcptls/channels/chan_sip.c

Modified: team/bbryant/sip-tcptls/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/bbryant/sip-tcptls/channels/chan_sip.c?view=diff&rev=78992&r1=78991&r2=78992
==============================================================================
--- team/bbryant/sip-tcptls/channels/chan_sip.c (original)
+++ team/bbryant/sip-tcptls/channels/chan_sip.c Fri Aug 10 09:38:40 2007
@@ -8739,7 +8739,7 @@
 	/* Make sure it's a SIP URL */
 	if (pvt->socket.type == SIP_TRANSPORT_TLS) {
 		if (parse_uri(curi, "sips:", &curi, NULL, &host, &pt, NULL)) {
-			if (parse_uri(curi2, "sips:", &curi, NULL, &host, &pt, NULL))
+			if (parse_uri(curi2, "sip:", &curi, NULL, &host, &pt, NULL))
 				ast_log(LOG_NOTICE, "Not a valid SIP contact (missing sip:) trying to use anyway\n");
 		}
 		port = !ast_strlen_zero(pt) ? atoi(pt) : STANDARD_TLS_PORT;




More information about the asterisk-commits mailing list