[sr-dev] [kamailio/kamailio] set_contact_alias() issue with clients adding it to their Contact (#2308)

Daniel-Constantin Mierla notifications at github.com
Mon May 4 15:29:25 CEST 2020


@mtryfoss: regarding the subst, probably it does the job with ipv4, however in regexp `.` is matching any char, if you want to restrict it to match `.` as a char, one way is to enclose it inside square brackets, like:

```
subst("/;alias=[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+~[0-9]+~[0-9]+//g");
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2308#issuecomment-623464131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200504/aed518a5/attachment.html>


More information about the sr-dev mailing list