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
1.6.0
Terry Wilson 17 years ago
parent cc34381691
commit 7cdc49f51d

@ -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]] */

Loading…
Cancel
Save