I receiving INVITE with two Route header (no to tag). First Route header is my Kamailio host. Second Route header is next hop after Kamailio.
I need to get value of next hop. I tried to use "$route_uri" after "loose_route" but his deos works. "$route_uri" always use top Route header. But in the INVITE first Route header is Kamailio host.
Is any change to get top Route header after "loose_route"?
Hello!
Did you try $(hfl(name)[N]) ?
чт, 10 авг. 2023 г. в 04:13, Sergey Safarov s.safarov@gmail.com:
Hi Sergey,
Have you also tried $nh(key) ?
On Thu 10 Aug 2023 at 16:15, Denys Pozniak denys.pozniak@gmail.com wrote: