aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:29:14 +0000
committerbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:29:14 +0000
commitaecf21780146ad13a95132c7afee90eba36e4839 (patch)
tree215b89b301aa5c00af299481a6a0e8b70620298a /configs
parent086c8fbf0b468fec0b32619fded788a20e744024 (diff)
Merged revisions 125891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r125891 | bbryant | 2008-06-27 11:28:06 -0500 (Fri, 27 Jun 2008) | 6 lines 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/branches/1.6.0@125892 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 4fb600c3d..6da8026a6 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -666,6 +666,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; deny deny
; secret secret
; md5secret md5secret
+; transport transport
; dtmfmode dtmfmode
; canreinvite canreinvite
; nat nat
@@ -734,6 +735,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
@@ -748,6 +752,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