<div dir="auto">Greetings Daniel,<div dir="auto"><br></div><div dir="auto">Thank you for your answer. I've tried and everything works fine, except for the tobody.params transformation that fails to retrieve the parameters.</div><div dir="auto"><br></div><div dir="auto">Thank you for your help, this saved me a lot of work :)</div><div dir="auto"><br></div><div dir="auto">Cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A segunda, 25/03/2019, 19:47, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>you just need to use tobody transformations:</p>
    <p>  *
<a class="m_2933650944604487017moz-txt-link-freetext" href="https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#to-body_transformations" target="_blank" rel="noreferrer">https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#to-body_transformations</a></p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="m_2933650944604487017moz-cite-prefix">On 25.03.19 19:13, Duarte Rocha wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div dir="auto">Greetings, </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">In my SBC i usually have to do operations on
          P-Asserted-Identity and Contact header.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">For those operations i usually have to get the
          user part, domain, etc. For that i'm using the URI
          Transformations provided by Kamailio.</div>
        <div dir="auto">However, in order to do this i have to trim the
          header value by hand in order to remove brackets, display
          infos, etc. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Does Kamailio have a method for extracting the
          URI from those kinds of headers? </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Best Regards,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Duarte Rocha</div>
      </div>
      <br>
      <fieldset class="m_2933650944604487017mimeAttachmentHeader"></fieldset>
      <pre class="m_2933650944604487017moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_2933650944604487017moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a>
<a class="m_2933650944604487017moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="m_2933650944604487017moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_2933650944604487017moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" rel="noreferrer">www.asipto.com</a>
<a class="m_2933650944604487017moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" rel="noreferrer">www.twitter.com/miconda</a> -- <a class="m_2933650944604487017moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" rel="noreferrer">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="m_2933650944604487017moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" rel="noreferrer">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- <a class="m_2933650944604487017moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" rel="noreferrer">www.asipto.com</a></pre>
  </div>

</blockquote></div>