<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>using {s.select,...} is probably the option to do script
      operations. If you need something more advanced, you can add some
      embedded external interpreters (javascript, lua, python) and do
      the parsing of the values as you need.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 25.02.21 18:52, Duarte Rocha wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAJJHZjLaFjesHa7y+bki5nawx9fNRJ8g54ON+dNhjsPiH=Mrg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Greetings, <br>
        <br>
        I have a Kamailio proxy where i'm doing some operations over
        multiple History-Infos and they come in two forms : <br>
        <br>
            Scenario 1 -><br>
                History-Info : URI1<br>
                History Info : URI2<br>
                <br>
            Scenario 2 -><br>
                History-Info : URI1 , URI2.<br>
                <br>
        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.<br>
        <br>
        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?<br>
        <br>
        Best Regards,        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>