aboutsummaryrefslogtreecommitdiffstats
path: root/configs/sip.conf.sample
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-03 15:16:33 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-03 15:16:33 +0000
commitf5d118c41cf64040d8f285e74a07a642ba4e415b (patch)
tree3b92ada370f693e1d2601bb21f1fea82eea570a2 /configs/sip.conf.sample
parent2baff26171263be72298bb994bce3be5ae902dce (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: http://svn.digium.com/svn/asterisk/trunk@153904 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/sip.conf.sample')
-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