From 7cdc49f51dea8a886a98989f36df0c71d84ff3ab Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Tue, 20 Jan 2009 20:13:18 +0000 Subject: [PATCH] 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 --- 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 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]] */