[Kamailio-Users] Question about manually manipulating RURI

Pascal Maugeri pascal.maugeri at gmail.com
Fri Jun 19 21:23:21 CEST 2009


Hi Geoffrey

Why don't you try:
http://www.kamailio.org/docs/modules/1.5.x/textops.html#id2467793

Regards,
Pascal

On Fri, Jun 19, 2009 at 9:01 PM, Geoffrey Mina <geoffreymina at gmail.com>wrote:

> I have a need to perform some manipulation of the user part of the
> RURI.  I have some dialers which send INVITES with the RURI in the
> following format:
>
> d15555551212 at 123.345.123.345:5060
>
> I need to check for the existence of the "d" and strip it off if it is
> present.  Basically what I want is pseduo code is:
>
> if(left($ruri),1 == "d"){
>  $ruri = right($ruri,len($ruri)-1);
> }
>
> Thanks!
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20090619/bb3ff83c/attachment-0001.htm>


More information about the Users mailing list