[sr-dev] [kamailio/kamailio] core: fix regex error for modules parameters (#703)

Dmitri Savolainen notifications at github.com
Sat Jul 9 16:45:02 CEST 2016


Ambiguous was possible in params for multiple modules in one config line.
For example
```
loadmodule "presence_dialoginfo.so"
modparam("presence|dialplan", "db_url", "mysql://DBUSER:DBPASSWORD@localhost/DBNAME")
```
produced error 
`parameter <db_url> of type <1> not found in module <presence_dialoginfo>`
because of ["presence_dialoginfo" =~ /^presence|dialplan$/] => True
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/703

-- Commit Summary --

  * core: fix regex error for modules parameters

-- File Changes --

    M modparam.c (8)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/703.patch
https://github.com/kamailio/kamailio/pull/703.diff

---
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/pull/703
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160709/badb671a/attachment.html>


More information about the sr-dev mailing list