2012/8/8 Iñaki Baz Castillo <ibc(a)aliax.net>
Hi, AFAIK kamailio does not add Path header for a REGISTER that is routed to another
server. Adding it should be straightforward:
There is no need for a new script function. Instead use the existing loose_route()
function, but:
If the request method is REGISTER then add Path header(s) instead of Record-Route
header(s), which the exact SAME value (this includes Outbound flow token and ;ob param,
when implemented). No more.
Ok, there is already support for this via:
http://kamailio.org/docs/modules/3.3.x/modules_k/path.html#id2537563
I didn't realize of it. I expect that add_path() is just a wrapper on
top of loose_route() by replacing "Record-Route" with "Path".
Cheers.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>