[SR-Users] Substdef syntax change?

Fredrik Dahlgren fredrik.dahlgren at freespee.com
Mon Sep 19 12:11:35 CEST 2022


I'm looking at a kamailio config where all substdef have the syntax
"!regexp!subst!flags", "!DB_URL!db.example.com!g" but i can't find this
syntax in the documentation. It's currently running on a fairly modern 5.x
version and as far as i know it has never been on 4.x or older.

Does anyone know where this syntax is from and if it's possible/recommended
to simply replace it with "/regexp/subst"?

*Fredrik* *Dahlgren* | Senior SIP/VoIP Engineer
fredrik.dahlgren at freespee.com |  LinkedIn
<https://www.linkedin.com/company/freespee/> |  Twitter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220919/e981e92a/attachment.htm>

More information about the sr-users mailing list