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,