]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 198791 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Tue, 2 Jun 2009 13:50:21 +0000 (13:50 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 2 Jun 2009 13:50:21 +0000 (13:50 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198791 | file | 2009-06-02 10:48:06 -0300 (Tue, 02 Jun 2009) | 5 lines

  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/branches/1.6.1@198793 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c
configs/sip.conf.sample

index 7e7e9d8390a8832acb217a0ec3ae798fc56b8fec..3ba459e0eb98163f59a63580eec78a55b567ff34 100644 (file)
@@ -6605,7 +6605,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;
        }
        /* split user[:secret[:authuser]] */
index ec3fafa6de69157b5e211a9e0ad949fca12f691c..20828f920b4f8edee81902c6a86839a1bb0d3d9a 100644 (file)
@@ -431,7 +431,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]
 ;
 ; 
 ;