[OpenSIPS-Users] Broken Loose Routing?

Alex Hermann alex at speakup.nl
Thu Oct 30 17:08:19 CET 2008


On Thursday 30 October 2008, Iñaki Baz Castillo wrote:
> 2008/10/30 Brett Nemeroff <brett at nemeroff.com>:
> > Please note, the provider isn't sending the BYE to the internal address.
> > The provider sends it to OpenSIPs Public address. Which is correct..
>
> No, that's not correct, the RURI of the BYE from provider *MUST* be
> the same as the RURI in the INVITE Contact the provider received.
> The BYE is sent back to the public IP, of course, but it's routed
> thanks to "Route" header (loose route).
>
> This is the INVITE OpenSIPS sends to the provider:
>
> U 62.175.182.141:5060 -> 195.62.163.131:5060
> INVITE sip:17475551212 at 195.62.163.131:5060;transport=udp SIP/2.0.
> Contact: <sip:15125551234 at 10.10.67.190:5060>.
>
> And this is the BYE the provider sends to OpenSIPS:
>
> BYE sip:15125551234 at 62.175.182.141:5060 SIP/2.0.

Most probably the provider does wrong NAT detection. ie it does the equivalent 
of:

if (nat_uac_test("1")) {
	fix_nated_contact();
}
t_relay();


-- 
Met vriendelijke groet,


Alex Hermann
SpeakUp
T: 088-SPEAKUP (088-7732587)
F: 088-7732588



More information about the Users mailing list