diff options
author | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-30 19:36:06 +0000 |
---|---|---|
committer | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-30 19:36:06 +0000 |
commit | 0c96a4e4e3db3c08cb62729527baa92559339754 (patch) | |
tree | 937351e0ab2ed3c60c76c3deecd5047975089697 /configs | |
parent | 4a638d2bdd9d6efc0b5f05faa122c16e3a096432 (diff) |
Fix SRV lookup and Request-URI generation in chan_sip.
This patch adds a new field "portinuri" to the sip dialog struct and the sip peer struct. That field is used during RURI generation to determine if the port should be included in the RURI. It is also used in some places to determine if an SRV lookup should occur.
(closes issue #14418)
Reported by: klaus3000
Tested by: klaus3000, mnicholson
Review: https://reviewboard.asterisk.org/r/369/
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@221360 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 57d965503..bfabeb63a 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -62,6 +62,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; Disabling DNS SRV lookups disables the ; ability to place SIP calls based on domain ; names to some other SIP users on the Internet + ; Specifying a port in a SIP peer definition or + ; when dialing outbound calls will supress SRV + ; lookups for that peer or call. ;pedantic=yes ; Enable checking of tags in headers, ; international character conversions in URIs |