For reference, from sip grammar (rfc3261, section25):
``` 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 = "[" / "]" / "/" / ":" / "&" / "+" / "$" ```
Therefore '[' and ']' are allowed in uri parameter, being part of 'param-unreserved' group of chars.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/120#issuecomment-90902611