Hi Geoffrey<br><br>Why don&#39;t you try:<br><a href="http://www.kamailio.org/docs/modules/1.5.x/textops.html#id2467793">http://www.kamailio.org/docs/modules/1.5.x/textops.html#id2467793</a><br><br>Regards,<br>Pascal<br><br>

<div class="gmail_quote">On Fri, Jun 19, 2009 at 9:01 PM, Geoffrey Mina <span dir="ltr">&lt;<a href="mailto:geoffreymina@gmail.com">geoffreymina@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I have a need to perform some manipulation of the user part of the<br>
RURI.  I have some dialers which send INVITES with the RURI in the<br>
following format:<br>
<br>
d15555551212@123.345.123.345:5060<br>
<br>
I need to check for the existence of the &quot;d&quot; and strip it off if it is<br>
present.  Basically what I want is pseduo code is:<br>
<br>
if(left($ruri),1 == &quot;d&quot;){<br>
  $ruri = right($ruri,len($ruri)-1);<br>
}<br>
<br>
Thanks!<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>