[asterisk-dev] [svn-commits] file: branch 1.6.2 r188070 - in /branches/1.6.2: ./ channels/chan_sip.c

Olle E. Johansson oej at edvina.net
Tue Apr 14 01:33:23 CDT 2009


13 apr 2009 kl. 18.34 skrev SVN commits to the Digium repositories:

> Fix a bug where using an outbound proxy would cause the local  
> address to be 127.0.0.1.
>
>  Copy the outbound proxy IP address into the SIP dialog structure as  
> the IP address we will
>  be sending to. This has to be done because the logic that  
> determines what local IP address to use
>  in the SIP messages is not aware of an outbound proxy being in  
> place. It only knows what IP address
>  we are sending to.


This might be a problem, since only the first packet should be forced  
to go to the outbound proxy,
unless we've set the force option. We do need to keep the original  
address if we have it for subsequent
requests, or recalculate it for the second request.


/O



More information about the asterisk-dev mailing list