]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent outbound SIP NOTIFY packets from displaying a port of 0
authorKinsey Moore <kmoore@digium.com>
Thu, 1 Mar 2012 14:18:49 +0000 (14:18 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 1 Mar 2012 14:18:49 +0000 (14:18 +0000)
commit7741e5fab3a2adb4df60b0875d75bd7b9aa5e476
tree1a3afbfed83a5da66b4ad3c30a29a7375e8a2c11
parent98b303468b40cde43fc00de72b336491d071c555
Prevent outbound SIP NOTIFY packets from displaying a port of 0

In the change from 1.6.2 to 1.8, ast_sockaddr was introduced which changed the
behavior of ast_find_ourip such that port number was wiped out.  This caused
the port in internip (which is used for Contact and Call-ID on NOTIFYs) to be
0.  This change causes ast_find_ourip to be port-preserving again.

(closes issue ASTERISK-19430)
........

Merged revisions 357665 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@357667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/acl.c