]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
We don't support ~expiry in 1.6.0 register statements
authorTerry Wilson <twilson@digium.com>
Tue, 20 Jan 2009 20:13:18 +0000 (20:13 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 20 Jan 2009 20:13:18 +0000 (20:13 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@169558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f493a0162cb5eaedff027e8c0c858394dcda7098..c1d6212d8267775fdb5ea008416108e33a80142b 100644 (file)
@@ -6179,7 +6179,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]]@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]] */