aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-20 20:13:18 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-20 20:13:18 +0000
commitb1c4482ee312c7201143769f416b0925e0cbcd0c (patch)
tree1ffa40b33378c09843fee56d7ad93445c8ee1887
parent7ebe76f80c3f34723fccd0a651f82214924795ef (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@169558 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f493a0162..c1d6212d8 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]] */