aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:28:06 +0000
committerbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:28:06 +0000
commit373bfa2d0a19286bff67de0191eb25a1e423e5af (patch)
tree3ee59ff52b8b6ad0d72e135abe7b94c806a39dbe /configs
parent0b41dddce2699e8bc1b6bd8031fb69d3c3b796f0 (diff)
Change the way that the transport option works for sip users. transport will now take multiple arguments, the first one listed will be the one used
for new dialogs, and the rest listed will be acceptable ways for that peer to contact us. This fixes a minor bug where, because SIP TCP/UDP run on the same port, could cause a TCP peer to be saved in the ast_db. There will also be warnings when a transport is changed for an unexpected reason. (issue #12799) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125891 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 3879c062d..3f10a4ce4 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -685,6 +685,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; deny deny
; secret secret
; md5secret md5secret
+; transport transport
; dtmfmode dtmfmode
; canreinvite canreinvite
; nat nat
@@ -753,6 +754,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;fromuser=yourusername ; Many SIP providers require this!
;fromdomain=provider.sip.domain
;host=box.provider.com
+;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
+; ; listed will always be used for outgoing connections.
;usereqphone=yes ; This provider requires ";user=phone" on URI
;callcounter=yes ; Enable call counter
;busylevel=2 ; Signal busy at 2 or more calls
@@ -767,6 +771,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;fromuser=4015552299 ; how your provider knows you
;secret=youwillneverguessit
;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
+; ; listed will always be used for outgoing connections.
;------------------------------------------------------------------------------
; Definitions of locally connected SIP devices