From: Terry Wilson Date: Tue, 20 Jan 2009 20:13:18 +0000 (+0000) Subject: We don't support ~expiry in 1.6.0 register statements X-Git-Tag: 1.6.0.4-rc1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cdc49f51dea8a886a98989f36df0c71d84ff3ab;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@169558 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f493a0162c..c1d6212d82 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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]] */