]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channels/chan_sip: Respect outboundproxy setting when sending qualify requests
authorMatthew Jordan <mjordan@digium.com>
Fri, 17 Oct 2014 13:07:36 +0000 (13:07 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 17 Oct 2014 13:07:36 +0000 (13:07 +0000)
commit86c6c1b510c192e23cbedb693e6fffb1c5c4fc86
tree702141e81dffe95dcc8e6c43e927ce5e19baad21
parent2840c6d68b352fa51ad45faedd1fffee189d0e48
channels/chan_sip: Respect outboundproxy setting when sending qualify requests

The outboundproxy setting is currently ignored when sending OPTIONS requests
as a result of the qualify setting. This means that if an Asterisk server is
unable to send the packet directly to a peer, it is unable to qualify any
non-inbound registered peer (e.g. a peer SIP Trunk).

This patch grabs the outboundproxy information for a peer when a qualify
attempt is being constructed and, if it finds the information, uses it
when sending the OPTIONS request.

Review: https://reviewboard.asterisk.org/r/3948

ASTERISK-24063 #close
Reported by: Damian Ivereigh
patches:
  outboundproxy-dai.patch uploaded by Damian Ivereigh (License 6632)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@425818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c