[OpenSIPS-Users] formatting URI

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Tue Mar 18 13:05:40 CET 2014


Is there a way to format the URI values eg.
if the referrence to user

$tU = +0140932031

and i only want to get +01

if ($tU == "+01")
{
         Some Action
};

is there a way to get this output, by saving it in another variable or
formatting it in some way ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140318/20fbb14d/attachment.htm>


More information about the Users mailing list