<p>The example that is given in the docs doesn't work.<br>
If a space is inserted before and after the last ';', then the parameter is properly parsed.<br>
Non working definition:</p>
<pre><code>modparam("dialplan", "partition", " part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db;")
</code></pre>
<p>Working definition:</p>
<pre><code>modparam("dialplan", "partition", " part2 : table_name = dialplan ; db_url = mysql://user:passwb@localhost/db ; ")
</code></pre>
<p>The parsing should be more flexible with respect to spaces.</p>
<p>Also, it seems that the name of the partition is stored with an extra space at the end of the partition name and dp_reload doesn't work for a non "default" partition.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/511">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciR9Vn5PpzEHINilf2iwo3aFmGjptks5oJOWlgaJpZM4Eayf8.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/OpenSIPS/opensips/issues/511"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>