<div dir="ltr">Hi Duarte,<div><br></div><div>Please see the documentation about URI transformations in <a href="https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#uri_transformations">https://www.kamailio.org/wiki/cookbooks/5.2.x/transformations#uri_transformations</a> - this will work to extract all or part of the URI from the applicable pseudo-variables such as $ai or $ct,</div><div><br></div><div>Jeff</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 25, 2019 at 2:15 PM Duarte Rocha <<a href="mailto:duarterocha91@gmail.com">duarterocha91@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Jeff</div>