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.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2008-11-03 15:16:33 +00:00
parent 4c3ce9b8a1
commit 204845843e
3 changed files with 23 additions and 8 deletions

View File

@@ -712,6 +712,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; callingpres callingpres
; permit permit
; deny deny
; remotesecret
; secret secret
; md5secret md5secret
; transport transport
@@ -782,7 +783,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;[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
@@ -802,7 +803,8 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;type=peer
;host=sip.provider1.com
;fromuser=4015552299 ; how your provider knows you
;secret=youwillneverguessit
;remotesecret=youwillneverguessit ; The password we use to authenticate to them
;secret=gissadetdu ; The password they use to contact us
;callbackextension=123 ; Register with this server and require calls coming back to this extension
;transport=udp,tcp ; This sets the transport type to udp for outgoing, and will
; ; accept both tcp and udp. Default is udp. The first transport