[OpenSIPS-Users] transformation on uri

Podrigal, Aron aronp at guaranteedplus.com
Tue Feb 24 06:44:44 CET 2015


Hi all,

When doing transformations on a uri, how can I efficiently get the type of
uri 'sip|sips|tel' ?

usually my transformations involve stripping/prepending digits from/to the
user part of the uri. I don't want to rewrite the entire uri. because I
want to preserve the sips|sip part as it was originally. As of now I'm
using the subst() function, but it gets really messy for some simple tasks.
Any suggestions?

Thanks
Aron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150224/71843c20/attachment.htm>


More information about the Users mailing list