[OpenSIPS-Users] re.subst usage

Barny Ritchley barnyritchley at hotmail.com
Fri Jul 31 19:43:54 EST 2020


Hi Ben

I couldn’t use that unfortunately as there is an optional + that may or not be present.

Barny

On 29 Jul 2020, at 14:28, Ben Newlin <Ben.Newlin at genesys.com> wrote:


Also, if you know the length of the prefix you could just s.substr.

https://www.opensips.org/Documentation/Script-Tran-3-1#s.substr


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200731/a3ba09e8/attachment.html>


More information about the Users mailing list