[svn-commits] file: trunk r198791 - in /trunk: channels/chan_sip.c configs/sip.conf.sample

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 2 08:48:14 CDT 2009


Author: file
Date: Tue Jun  2 08:48:06 2009
New Revision: 198791

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198791
Log:
Correct documentation for the register line, specifically where the domain should be specified.

(closes issue #14367)
Reported by: Nick_Lewis

Modified:
    trunk/channels/chan_sip.c
    trunk/configs/sip.conf.sample

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=198791&r1=198790&r2=198791
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Jun  2 08:48:06 2009
@@ -7239,7 +7239,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[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line %d\n", lineno);
 		return -1;
 	}
 

Modified: trunk/configs/sip.conf.sample
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/configs/sip.conf.sample?view=diff&rev=198791&r1=198790&r2=198791
==============================================================================
--- trunk/configs/sip.conf.sample (original)
+++ trunk/configs/sip.conf.sample Tue Jun  2 08:48:06 2009
@@ -475,7 +475,7 @@
 ;----------------------------------------- OUTBOUND SIP REGISTRATIONS  ------------------------
 ; Asterisk can register as a SIP user agent to a SIP proxy (provider)
 ; Format for the register statement is:
-;       register => [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry]
+;       register => [transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry]
 ;
 ;
 ;




More information about the svn-commits mailing list