Hey All,<div>I&#39;m sure I&#39;m doing someting stupid here.. In general, I set all the acc_db flags at the top of my script so everything gets logs. I&#39;m getting 486 Busy from the far end and nice, pretty to_did from the original RURI is being blown away with &#39;sip:mod_sofia&#39;</div>

<div><br class="webkit-block-placeholder"></div><div>Question is.. what do I need to do to get the 486 logged, but to have the right did in the record.. right now I use $oU. Maybe a revert_uri? (am I making that up?)</div>

<div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>Here&#39;s the 486 from my upstream:</div><div><br class="webkit-block-placeholder"></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px">

<br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">U <a href="http://5.6.239.142:5060">5.6.239.142:5060</a> -&gt; <a href="http://1.2.204.8:5060">1.2.204.8:5060</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">SIP/2.0 486 Busy Here.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Via: SIP/2.0/UDP 1.2.204.8;branch=z9hG4bK5a3.473e0af1.0.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Via: SIP/2.0/UDP 2.3.72.138:5060;received=2.3.72.138;branch=z9hG4bK0bf20a91;rport=5060.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">From: &quot;<a href="http://custdomain.com">custdomain.com</a>&quot; &lt;sip:<a href="http://custdomain.com">custdomain.com</a>@<a href="http://2.3.72.138">2.3.72.138</a>&gt;;tag=as0e9ef59a.</p>


<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">To: &lt;<a href="mailto:sip%3A5212324399441@1.2.204.8">sip:5212324399441@1.2.204.8</a>&gt;;tag=BeZcHaUmX1D8Q.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Call-ID: <a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a>.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">CSeq: 103 INVITE.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-12911.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Accept: application/sdp.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Supported: timer, precondition, path, replaces.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Content-Length: 0.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">U <a href="http://2.3.72.138:5060">2.3.72.138:5060</a> -&gt; <a href="http://1.2.204.8:5060">1.2.204.8:5060</a></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">ACK sip:mod_sofia@63.211.239.143:5060;transport=udp SIP/2.0.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Via: SIP/2.0/UDP 2.3.72.138:5060;branch=z9hG4bK0bf20a91;rport.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Route: &lt;sip:1.2.204.8;lr=on;did=bf5.880cbc94&gt;,&lt;sip:5.6.239.142;lr=on;ftag=as0e9ef59a&gt;.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Max-Forwards: 70.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">From: &quot;<a href="http://custdomain.com">custdomain.com</a>&quot; &lt;sip:<a href="http://custdomain.com">custdomain.com</a>@<a href="http://2.3.72.138">2.3.72.138</a>&gt;;tag=as0e9ef59a.</p>


<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">To: &lt;<a href="mailto:sip%3A5212324399441@1.2.204.8">sip:5212324399441@1.2.204.8</a>&gt;;tag=BeZcHaUmX1D8Q.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Contact: &lt;sip:<a href="http://custdomain.com">custdomain.com</a>@<a href="http://2.3.72.138">2.3.72.138</a>&gt;.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Call-ID: <a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a>.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">CSeq: 103 ACK.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">User-Agent: SS.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Content-Length: 0.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p>
</div>