From d4736e98972964ca2d29ef37c9354af16f936536 Mon Sep 17 00:00:00 2001 From: Olle Johansson <oej@edvina.net> Date: Thu, 15 Jan 2009 17:55:53 +0000 Subject: [PATCH] Clarify some misunderstandings and make it even more clear that you can refer to a peer in the register= line. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168711 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/sip.conf.sample | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 0b73f08d12..c365b01853 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -413,17 +413,21 @@ 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]]@host[:port][/extension][~expiry] +; register => [transport://]user[:secret[:authuser]]@domain[:port][/extension][~expiry] ; ; ; +; domain is either +; - domain in DNS +; - host name in DNS +; - the name of a peer defined below or in realtime +; The domain is where you register your username, so your SIP uri you are registering to +; is username@domain +; ; If no extension is given, the 's' extension is used. The extension needs to ; be defined in extensions.conf to be able to accept calls from this SIP proxy ; (provider). ; -; host is either a host name defined in DNS or the name of a section defined -; below. -; ; A similar effect can be achieved by adding a "callbackextension" option in a peer section. ; this is equivalent to having the following line in the general section: ; -- GitLab