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(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/