Merged revisions 168712 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r168712 | oej | 2009-01-15 19:08:59 +0100 (Tor, 15 Jan 2009) | 3 lines

Make sure that we have the same terminology in sip.conf.sample and the source code warning.
Thanks Nick Lewis for pointing this out in the bug tracker.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Olle Johansson 17 years ago
parent bd1a0134d6
commit 8633f3884f

@ -6174,7 +6174,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]]@host[:port][/contact][~expiry] at line %d\n", lineno);
ast_log(LOG_WARNING, "Format for registration is [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] at line %d\n", lineno);
return -1;
}
/* split user[:secret[:authuser]] */

Loading…
Cancel
Save