[asterisk-dev] [Code Review] Fix SIP Notify Messages To Have The Proper IP Address In The FROM Field
rmudgett
reviewboard at asterisk.org
Thu Jan 3 16:00:21 CST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2255/#review7604
-----------------------------------------------------------
/branches/1.8/channels/chan_sip.c
<https://reviewboard.asterisk.org/r/2255/#comment14484>
oldid is never going to be NULL.
- rmudgett
On Dec. 29, 2012, 9:34 p.m., elguero wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2255/
> -----------------------------------------------------------
>
> (Updated Dec. 29, 2012, 9:34 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> On a multihomed server, when sending a NOTIFY message we are not figuring out which network should be used to contact the peer that the message is going to.
>
> This patch fixes the problem by calling ast_sip_ouraddrfor() and then build_via() so that our NOTIFY message contains the correct IP address.
>
>
> This addresses bug ASTERISK-20805.
> https://issues.asterisk.org/jira/browse/ASTERISK-20805
>
>
> Diffs
> -----
>
> /branches/1.8/channels/chan_sip.c 378070
>
> Diff: https://reviewboard.asterisk.org/r/2255/diff
>
>
> Testing
> -------
>
> Tested on dev box and the reporter also tested it in his environment.
>
>
> Thanks,
>
> elguero
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130103/1fd3e892/attachment.htm>
More information about the asterisk-dev
mailing list