<div dir="ltr"><div><div><div>Hi Daniel,<br></div><br>Sorry, I misconfused you with Daniel Constantin :), Miconda was the who that sent that Email explaining the <span class="gmail-im">{line.sw,match}</span> some time ago.<br><br></div><div>Regarding with $, i will take your advice :)<br><br></div><div>Once again, thank you.<br></div><br>Best Regards<br><br></div>José<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-02 17:23 GMT+00:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Mar 02, 2017 at 03:46:01PM +0000, José Seabra wrote:<br>
> I changed the way that i was trying to get it done.<br>
><br>
> Now I'm using the {line.sw,match} ( you had already mentioned this function<br>
> on an old email),<br>
<br>
</span>Im not that Daniel :)<br>
Or my memory starts to fail me.<br>
<span class=""><br>
> to split the string by line, then i apply the following<br>
> regex: ^Calling-Name: ?(.{2,50}>)$.<br>
><br>
> This way I get what i need, that is the sip uri and display name.<br>
<br>
</span>Only thing I'd change would be to remove the $ for end of line, just to<br>
make it more generic. But if you are sure that these headerlines end<br>
with >, that would not make a difference.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>