Hi,
First, a proxy should only remove the topmost Route headers whose URI domains correspond to addresses the proxy perceives to be its own, not another element’s. Are you sure that is not a possibility in your case?
Second, the loose_route() should set the network and transport-layer next-hop destination ($du) to the next Route hop. However, if another Route hop is not present because all of them have been consumed by the proxy on the basis that the proxy perceives
them to correspond to itself, then it will consume the RURI domain to determine the final hop.
I think there is something missing with regard to the actual content of the Route hops and their relationship to your Kamailio instance.
—
Sent from mobile, with due apologies for brevity and errors.
Hello,
I have trouble with REFER method that has to-tag and Route header , more than one.
When it pass loose_route() method , loose_route function remove all route headar then sets RURI with top most Route.
Is there a function that removing own route header and sets destination uri ($du) with top most uri.
Best Regards.
Yasin CANER
2.6 Behavior of SIP Proxies
SIP proxies do not require modification to support the REFER method.
Specifically, as required by [1], a proxy should process a REFER
request the same way it processes an OPTIONS request.
For example,
---------->mykamailio@test2.test----------->>nextroute@test3.test------>
1
--
To: <>;tag=asdads
From:<>;tag=asd123
---
2 - After Kamailio Process
---
To: <>;tag=asdads
From:<>;tag=asd123