Make the sip_standard_port function more granular by allowing separate
authorMark Michelson <mmichelson@digium.com>
Tue, 21 Oct 2008 23:54:41 +0000 (23:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 21 Oct 2008 23:54:41 +0000 (23:54 +0000)
commit97dac2d91a7aff7d21088480681f131e7c37078b
tree947fbbed0484f78e6859c89313e9dcd513384d63
parentf4561c0e46087895f7a1325aa752bfd15452d968
Make the sip_standard_port function more granular by allowing separate
type and port arguments. This is necessary because when building our From
and Contact headers, we need to be absolutely sure that we are placing our
source port there and not the peer's source port.

(closes issue #12761)
Reported by: asbestoshead
Patches:
      patch-chan-sip-contact-port.txt uploaded by asbestoshead (license 455)

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