[asterisk-commits] twilson: branch 1.6.0 r169558 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 20 14:13:18 CST 2009


Author: twilson
Date: Tue Jan 20 14:13:18 2009
New Revision: 169558

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169558
Log:
We don't support ~expiry in 1.6.0 register statements

This must have inadvertantly got merged in sometime as the code doesn't handle
this option, and configs/sip.conf.sample doesn't mention it as available. So
just remove it from the WARNING message

Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=169558&r1=169557&r2=169558
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Tue Jan 20 14:13:18 2009
@@ -6179,7 +6179,7 @@
 	if (hostname)
 		*hostname++ = '\0';
 	if (ast_strlen_zero(username) || ast_strlen_zero(hostname)) {
-		ast_log(LOG_WARNING, "Format for registration is [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] at line %d\n", lineno);
+		ast_log(LOG_WARNING, "Format for registration is [transport://]user[:secret[:authuser]]@domain[:port][/extension] at line %d\n", lineno);
 		return -1;
 	}
 	/* split user[:secret[:authuser]] */




More information about the asterisk-commits mailing list