<p>Ambiguous was possible in params for multiple modules in one config line.<br>
For example</p>

<pre><code>loadmodule "presence_dialoginfo.so"
modparam("presence|dialplan", "db_url", "mysql://DBUSER:DBPASSWORD@localhost/DBNAME")
</code></pre>

<p>produced error <br>
<code>parameter <db_url> of type <1> not found in module <presence_dialoginfo></code><br>
because of ["presence_dialoginfo" =~ /^presence|dialplan$/] => True</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/703'>https://github.com/kamailio/kamailio/pull/703</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>core: fix regex error for modules parameters</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/703/files#diff-0">modparam.c</a>
    (8)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/703.patch'>https://github.com/kamailio/kamailio/pull/703.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/703.diff'>https://github.com/kamailio/kamailio/pull/703.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/703">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZYvPJCT2BU8Gxw4kXoxVOTYtgOARks5qT7PugaJpZM4JIoZw">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZRfj8i_gzwt2n8jrhJMR1bkJF1vOks5qT7PugaJpZM4JIoZw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/703"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>