<p>Module uac use some kind of Base64 for SipUri saving in Record-Route header parameter "rr_from_store_param" <br>
Base64 is case sensitive, but according to rfc3261:</p>
<pre><code> When comparing header fields, field names are always case-
insensitive Unless otherwise stated in the definition of a
particular header field, field values, parameter names, and parameter
values are case-insensitive Tokens are always case-insensitive
Unless specified otherwise, values expressed as quoted strings are
case-sensitive For example,
Contact: <sip:alice@atlantacom>;expires=3600
is equivalent to
CONTACT: <sip:alice@atlantacom>;ExPiReS=3600
and
Content-Disposition: session;handling=optional
is equivalent to
content-disposition: Session;HANDLING=OPTIONAL
The following two header fields are not equivalent:
Warning: 370 devnull "Choose a bigger pipe"
Warning: 370 devnull "CHOOSE A BIGGER PIPE"
</code></pre>
<p>Ok " values expressed as quoted strings are case-sensitive", so I thought to make a quoted string like</p>
<pre><code>Record-Route: <sip:xxxxxxxxxxxx:5071;lr;ftag=SDj3nsa01-78422015;vsf="baSE64strinG";nat=yes>
</code></pre>
<p>but according to rfc3261 DQUATE is not possible here:</p>
<pre><code>other-param = pname [ "=" pvalue ]
pname = 1*paramchar
pvalue = 1*paramchar
paramchar = param-unreserved / unreserved / escaped
param-unreserved = "[" / "]" / "/" / ":" / "&" / "+" / "$"
</code></pre>
<p>Some devices in my network convert "rr_from_store_param" to lower-case letters, so there is trash in To/From headers after restore, It is not wise behaviour, but is rfc compliant </p>
<p>So any idea for using Base32 instead of Base64?</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/455">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWsU6Mv_uhQRSLLPsU7xhw6jiYjeks5pT-FTgaJpZM4G7lTA.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/455"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>