Re: [SR-Users] How to easily remove top most header and set destination uri

2019-02-25 Thread YASIN CANER
CANER From: sr-users on behalf of Alex Balashov Sent: Friday, February 22, 2019 4:21 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] How to easily remove top most header and set destination uri Hi, First, a proxy should only remove the

Re: [SR-Users] How to easily remove top most header and set destination uri

2019-02-22 Thread YASIN CANER
Hi Alex, I got your answer about loose route earl mesagess , saved and still keeping it. I try to figure out , what s the best way handle refer message with kamailio if there is a route header. When there is route header more than one , smth is going wrong. Today , I worked so many cases , al

Re: [SR-Users] How to easily remove top most header and set destination uri

2019-02-22 Thread Alex Balashov
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

[SR-Users] How to easily remove top most header and set destination uri

2019-02-22 Thread YASIN CANER
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)