[OpenSIPS-Users] INVITE not forwarded, call fails
lorenzo
asymmetric at autistici.org
Wed Nov 25 19:23:31 CET 2009
On 25/11/09 18:31, lorenzo wrote:
> On 24/11/09 14:59, Jeff Pyle wrote:
>> Yes. Trying adding this to the reply route:
>>
>> if (client_nat_test("1")) {
>> fix_contact();
>> }
>>
>> For reasons I can't remember, the only test that works for the reply route
>> is "1", so you shouldn't change it.
>>
>> Make sure you arm the reply route with t_on_reply() before t_relay.
>>
>>
>> - Jeff
>
> hi jeff, i tried following your solution (apart from the fact that the
> parameter 1 isn't gonna work in my case, as the via header in the
> packets i get doesn't have a private address), but it didn't work out..
after reading some old posts (this one[1] in particular, where Iñaki
explains how you can't check the Via header in a reply), and reading
nat_traversal's documentation, i think i'm even more confused:
the Via and Contact headers in the request both have a PUBLIC ip, and a
wrong port.
so, summing it up:
. i can't use the flag 1, because the ip in the Contact field is not private
. i can't use the flag 2, because it's a reply
. i can't use the flag 4, for the same reasons as flag 1
. i can't use the flag 8, because only the IP is checked in this test.
then again, the client_nat_test("8") does not fail, as i see the
relevant xlog strings in the logs..
i'm confused... am i getting it all wrong?
[1]: http://tr.im/FMrf (nabble.com)
More information about the Users
mailing list