Fix an issue where the port for p->ourip was being set to 0.
authorMark Michelson <mmichelson@digium.com>
Fri, 9 Jul 2010 19:29:30 +0000 (19:29 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 9 Jul 2010 19:29:30 +0000 (19:29 +0000)
commit7e6f9b4e2db74a69ca5c1f8a934d8484913a82a5
treeaa252ef08263b966c20084c5d27e971ad41ff99a
parentd2872c60e4e0dc3c71f309782c3ab9e1d94cb7b3
Fix an issue where the port for p->ourip was being set to 0.

This should fix all the CDR tests that were not passing. When they would
originate a call, all fields in the INVITE that contained the source port would
have the port set to 0. Most troubling of these was the Contact header. Tests
are passing locally now and should also pass on the bamboo build agents.

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