summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-11-03 15:16:33 +0000
committerOlle Johansson <oej@edvina.net>2008-11-03 15:16:33 +0000
commit204845843e66820f3d1bc9ba038869eec876d27a (patch)
tree3b92ada370f693e1d2601bb21f1fea82eea570a2 /configs
parent4c3ce9b8a1379deb6a91c1f608bc7aede547d054 (diff)
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
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index e10fa0fe5..8050b9d25 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -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