[OpenSIPS-Users] Strip prefix

morris edery morrisedery at gmail.com
Wed Jun 5 04:45:34 UTC 2024


Hello Team, im trying to strip a prefix with dialplan from a number and
from some reason have no success on that , please tell me what im
doing wrong ?  below

opensips 2.4.8

dpid = 17
pr = 0
match_op = 1
match_exp = ^770555+
match_flags = 0
subst_exp = ^(*770555*)(.+)
repl_exp = \2


need to remove 770555

on cfg file

    if (dp_translate("17", "$rU/$rU")){ }

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


More information about the Users mailing list