Hi!
catalina oancea schrieb:
No, actually the value in the received parameter is
not equal to the
IP in the Via. I looked in the code and this seems to be the intended
behavior. It would be nice to be able to disable it, but I don't think
there is one.
Then it is standard conform. If the request is received from a different
address then advertised, this parameter must be added.
This is because SIP requires to send the response to the IP address from
which the request was received.
regards
klaus
Thanks anyway
Catalina
2009/7/16 Klaus Darilion <klaus.mailinglists(a)pernau.at>at>:
> catalina oancea wrote:
>> Form what I found in
>>
http://lists.kamailio.org/pipermail/devel/2008-August/015080.html, it
>> seems to me that it's a bug that kamailio adds received=IP parameter
>> although force_rport was not called.
> The bug was something else.
>
>>> Does anybody know how to disable the received=IP Via parameter that is
>>> added by default from kamailio? For the case I want to disable it in,
>>> I have no NAT handling. Also, I have:
>>> dns=no
>>> rev_dns=no
>
> In this case "received" will only be added if the advertised IP is
different
> than the IP from which the request was received. (according to RFC).
>
> So, you do not use rport but kamailio adds the received parameter and the
> value in the received parameter is identical to the IP in the Via?
>
> regards
> klaus
>