diff options
author | Joshua Colp <jcolp@digium.com> | 2009-06-02 13:48:06 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2009-06-02 13:48:06 +0000 |
commit | 5fcf193d7b43410bb8a2880b28efe3a17f7a1066 (patch) | |
tree | 48fd1f156fbf99a9294f53868da7867911b67569 | |
parent | 4900d37d71ff8171461075f8b16ee486c730f106 (diff) |
Correct documentation for the register line, specifically where the domain should be specified.
(closes issue #14367)
Reported by: Nick_Lewis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 | ||||
-rw-r--r-- | configs/sip.conf.sample | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0913438d4..c079e5900 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7239,7 +7239,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[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] at line %d\n", lineno); return -1; } diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 20467f1aa..08089d927 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -475,7 +475,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;----------------------------------------- OUTBOUND SIP REGISTRATIONS ------------------------ ; Asterisk can register as a SIP user agent to a SIP proxy (provider) ; Format for the register statement is: -; register => [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] +; register => [transport://]user[@domain][:secret[:authuser]]@host[:port][/extension][~expiry] ; ; ; |