<p>i try script:</p>

<pre><code>$var(some_string) = 'a=foo1;b=foo2;c=foo3,4,5;d=3';
$var(c_value) = $(var(some_string){param.value,c,;});
xlog("L_INFO", "'c' param from '$var(some_string)' is '$var(c_value)'");
</code></pre>

<p>in log:</p>

<blockquote>
<p>'c' param from 'a=foo1;b=foo2;c=foo3,4,5;d=3' is 'foo3'</p>
</blockquote>

<p>Has this  behaviour any reason? or it's possible to delete comma from stop list (and use separator parameter for comma-delimited list)?</p>

<pre><code>diff --git a/parser/parse_param.c b/parser/parse_param.c
index b9e0fbc..e7784c8 100644
--- a/parser/parse_param.c
+++ b/parser/parse_param.c
@@ -355,7 +355,6 @@ static inline int parse_token_param(str* _s, str* _r, char separator)
                case '\t':
                case '\r':
                case '\n':
-               case ',':
                             /* So if you find
                              * any of them
                              * stop iterating
</code></pre>

<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/issues/648">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZYiHxFk9mn4ctuE_f0svXDoUuWJvks5qG0bugaJpZM4IqA-t">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zfo1OrHj1uHfvKdizkcvzmKmqGIvks5qG0bugaJpZM4IqA-t.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/issues/648"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>