[asterisk-dev] Tabs vs. Spaces in Configs (oej: trunk r153904 - in /trunk: ./ channels/ configs/)

Russell Bryant russell at digium.com
Mon Nov 3 09:21:13 CST 2008


SVN commits to the Digium repositories wrote:
> Author: oej
> Date: Mon Nov  3 09:16:33 2008
> New Revision: 153904
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=153904
> Log:
> Adding a separation of remote authentication and our authentication.
> remotesecret => our password for a remote service
> secret => our authentication when someone calls us
> 
> Secret => still has both functions if remotesecret is not used.
> 
> Modified:
>     trunk/CHANGES
>     trunk/channels/chan_sip.c
>     trunk/configs/sip.conf.sample

> Modified: trunk/configs/sip.conf.sample
> URL: http://svn.digium.com/view/asterisk/trunk/configs/sip.conf.sample?view=diff&rev=153904&r1=153903&r2=153904
> ==============================================================================
> --- trunk/configs/sip.conf.sample (original)
> +++ trunk/configs/sip.conf.sample Mon Nov  3 09:16:33 2008
> @@ -712,6 +712,7 @@
>  ; callingpres                 callingpres
>  ; permit                      permit
>  ; deny                        deny
> +; 			      remotesecret
>  ; secret                      secret
>  ; md5secret                   md5secret
>  ; transport                   transport
> @@ -782,7 +783,7 @@
>  
>  ;[sip_proxy-out]
>  ;type=peer                        ; we only want to call out, not be called
> -;secret=guessit
> +;remotesecret=guessit		  ; Our password to their service
>  ;defaultuser=yourusername         ; Authentication user for outbound proxies
>  ;fromuser=yourusername            ; Many SIP providers require this!
>  ;fromdomain=provider.sip.domain        

Please use spaces instead of tabs when adding documentation to the 
sample configuration files.  Otherwise, things are out of alignment 
unless people are using the same tab settings as the author.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list