<p>For reference, from sip grammar (rfc3261, section25):</p>
<pre><code>uri-parameters = *( ";" uri-parameter)
uri-parameter = transport-param / user-param / method-param
/ ttl-param / maddr-param / lr-param / other-param
other-param = pname [ "=" pvalue ]
pname = 1*paramchar
pvalue = 1*paramchar
paramchar = param-unreserved / unreserved / escaped
param-unreserved = "[" / "]" / "/" / ":" / "&" / "+" / "$"
</code></pre>
<p>Therefore '[' and ']' are allowed in uri parameter, being part of 'param-unreserved' group of chars.</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/kamailio/kamailio/issues/120#issuecomment-90902611">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfaXoCaiyZjD5oeEmamp6X7k2nDpks5n9RlIgaJpZM4D7Ux0.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/120#issuecomment-90902611"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>