Hi Peter,<div>have a look on the AVPOPS module, it has all the functions to manipulate variables.</div><div><br></div><div>Best regards,</div><div><br></div><div>Federico</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Dec 17, 2012 at 7:06 PM, peter ness <span dir="ltr"><<a href="mailto:ptness@gmx.co.uk" target="_blank">ptness@gmx.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I have such a uri as this<br>
sip:240680474#<a href="mailto:4420387654@192.168.1.10">4420387654@192.168.1.10</a><br>
<br>
how could I extract 240680474 from it.<br>
<br>
So everything after 'sip:' to '#'<br>
<br>
regards<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>