Files
asterisk/channels
Michael L. Young 10a948a8ca Fix SIP Notify Messages To Have The Proper IP Address In The FROM Field
On a multihomed server when sending a NOTIFY message, we were not figuring out
which network should be used to contact the peer.

This patch fixes the problem by calling ast_sip_ouraddrfor() and then
build_via() so that our NOTIFY message contains the correct IP address.

Also, a debug message is being added to help follow the call-id changes that
occur.  This was helpful for confirming that the IP address was set properly
since the call-id contains the IP address.  It also will be helpful for
troubleshooting purposes when following a call in the debug logs.

(closes issue ASTERISK-20805)
Reported by: Bryan Hunt
Tested by: Bryan Hunt, Michael L. Young
Patches:
    asterisk-20805-notify-ip-v2.diff uploaded by Michael L. Young (license 5026)

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@378559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-04 21:18:18 +00:00
..
2012-12-10 06:49:45 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2010-06-07 20:04:42 +00:00
2012-11-07 19:03:42 +00:00
2012-11-07 19:03:42 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00