Correct not setting the bindport before attempting to open the socket.
authorJeff Peeler <jpeeler@digium.com>
Thu, 15 Jul 2010 20:21:03 +0000 (20:21 +0000)
committerJeff Peeler <jpeeler@digium.com>
Thu, 15 Jul 2010 20:21:03 +0000 (20:21 +0000)
commit44ae0033be7dd83d0df10101e1d3c3306fb084ee
tree2cdd96922db9dd3f3ef1cf66b9ca0ba2226574b5
parent753fa3b278e8c7f78956ccb299bd1f74a8a7fdfd
Correct not setting the bindport before attempting to open the socket.

Related to changes from 276571, I was accidentally testing with a port set in
my configuration causing me to miss this. Also moved the TCP handling as well
to occur before build_peer is called.

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