[SR-Users] How to access different uris in a header

Duarte Rocha duarterocha91 at gmail.com
Thu Nov 21 19:20:30 CET 2019


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191121/f43f24ba/attachment.html>


More information about the sr-users mailing list