2009/3/3 Geir O. Jensen <geir.o.jensen(a)uninett.no>no>:
Hm. We do rather a lot of things with the SIP uri,
both reformatting the
content and changing hosts depending on the number.
You should NEVER modify a request uri in an in-dialog request, NEVER.
However, I thought this was OK since anything that was
changed would be
"record routed" and handled via the loose route portion.
Again: RURI must not be modified in an in-dialog request, regardless
of the usage of record-route.
The ACK that is sent from the SNOM gets caught by the
looseroute script.
Should it?
The ACK from SNOM must pass through looseroute script since, as I
already explained, it is in fact an in-dialog request.
I'm a bit confused now, can't really see how
I'm going to fix this... Our
script is rather large and ugly :/
Don't modify RURI in loose-route section. Just it.
I was just under the impression that loose route meant
the packets "knew"
where they were going...
Yes, and that is due to the existance of a Route header. When a proxy
receives an in-dialog request with Route header it must inspect that
header. Usually it contains a proxy local address so the proxy removes
that header and routes the request based on the RURI (but MUST NOT
change the RURI !!!).
--
Iñaki Baz Castillo
<ibc(a)aliax.net>