Make sure that we have the same terminology in sip.conf.sample and the source code...
authorOlle Johansson <oej@edvina.net>
Thu, 15 Jan 2009 18:08:59 +0000 (18:08 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 15 Jan 2009 18:08:59 +0000 (18:08 +0000)
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

index f571a20..1690a6a 100644 (file)
@@ -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)) {
        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;
        }
 
                return -1;
        }