Why not just split them by comma using {s.select} and then fish them out with {nameaddr.uri}?
On Thu, Nov 21, 2019 at 06:20:30PM +0000, Duarte Rocha wrote:
Greetings,
In order to identify Redirecting Number and Original Called Number on a given request i look for the top( Redirecting Number) and bottom (Original Called) Diversion headers using hdr(Diversion)[0] and hdr(Diversion)[-1].
However, i have a client that sends me all the Diversions URIS in the same header. Does kamailio has a similar tool for accessing the different URIS in the header?
Best Regards,
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users