From 8ab629c76783c2812773f1f219bb643fccb32b99 Mon Sep 17 00:00:00 2001
From: Olle Johansson <oej@edvina.net>
Date: Thu, 15 Jan 2009 18:08:59 +0000
Subject: [PATCH] Make sure that we have the same terminology in
 sip.conf.sample and the source code warning. Thanks Nick Lewis for pointing
 this out in the bug tracker.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_sip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f571a20bd6..1690a6adea 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6875,7 +6875,7 @@ static int sip_register(const char *value, int lineno)
 	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]]@host[:port][/contact][~expiry] at line %d\n", lineno);
+		ast_log(LOG_WARNING, "Format for registration is [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] at line %d\n", lineno);
 		return -1;
 	}
 
-- 
GitLab