diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7e7e9d8390..3ba459e0eb 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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]] */ diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index ec3fafa6de..20828f920b 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -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] ; ; ;