<p>So I'm using <a href="https://github.com/OpenSIPS/opensips/commit/d9eec5868da2501a5071185aaa4b0e65cf386bdc" class="commit-link"><tt>d9eec58</tt></a> </p>
<p>If I do this:<br>
$du=$ru;<br>
xlog("du->$du");</p>
<p>du looks right: say like this:<br>
sip:15125551212@1.2.3.4:5060;user=phone</p>
<p>** THERE IS NO EXTRA COLON IN THERE, I PROMISE **</p>
<p>However, if I modify $du piece parts like this:<br>
$du=$ru;<br>
$dp=5061;</p>
<p>dp is changed, but du is now malformed<br>
sip:15125551212:@1.2.3.4:5061;user=phone</p>
<p>Note: port 5061 as expected, but a COLON is inserted before the @ <br>
Note2: If I make 5061 a string like '5061' it does the exact same thing</p>
<p>Similarly if I change the domain ONLY I get the same weird colon</p>
<p>$du=$ru<br>
$dd='example.com'</p>
<p>gives me:<br>
sip:15125551212:@example.com:5060;user=phone</p>
<p>I have no idea how the colon gets in there</p>
<p>It's always ONE COLON before the @. I haven't see any other case</p>
<p>Now if I change BOTH $dd and $dp:<br>
$du=$ru<br>
$dp=5061<br>
$dd='example.com'</p>
<p>The exact same problem:<br>
sip:15125551212:@example.com:5061;user=phone</p>
<p>I don't doubt the possibility of some dynamic other variable or other part of my script causing this to happen, but I can't; figure out how or why</p>
<p>I've tried to debug on level 6, but because of a different bug, more than half my AVPs are NULL during the script and everything fails. </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/593">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcif0GJ8aKJo4vtOGzxkgDCS3yWWOrks5olOScgaJpZM4FntGX.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/593"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>