[SR-Users] Parse multiple URI

Duarte Rocha duarterocha91 at gmail.com
Thu Feb 25 18:52:02 CET 2021


Greetings,

I have a Kamailio proxy where i'm doing some operations over multiple
History-Infos and they come in two forms :

    Scenario 1 ->
        History-Info : URI1
        History Info : URI2

    Scenario 2 ->
        History-Info : URI1 , URI2.

On scenario 1 i iterate between headers using $(hdr(name)[N]). However, i
can't seem to find a similar tool to apply on scenario 2.

In the case Kamailio doesn't have it, what would be the best way to iterate
the URIS? I was thinking of parsing them using the comma ",", is that safe?

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210225/f6a37827/attachment.htm>


More information about the sr-users mailing list