No, actually, the original invite, had a perfectly valid RURI in it.. but the contact had sip:mod_sofia in it..<div><br class="webkit-block-placeholder"></div><div>I am using extra_accounting and I&#39;m looking $oU, which is why I&#39;m confused since the actual $oU is valid and not sip:mod_sofia</div>

<div><br class="webkit-block-placeholder"></div><div><br><br><div class="gmail_quote">On Wed, Apr 8, 2009 at 8:40 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Brett,<br>
<br>
The acc module will log the last RURI of the failed branch...so what was the RURI before sending the INVITE out....because if I look at the ACK, I guess the INVITE also has &quot;mod_sofia&quot;, right ?<br>
In failure route you cannot change the branch that was just completed....<br>
<br>
If you want something custom to be logged, use the extra_accounting options.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Brett Nemeroff wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hey All,<br>
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;<br>


<br>
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?)<br>
<br>
<br>
Here&#39;s the 486 from my upstream:<br>
<br>
<br></div>
U <a href="http://5.6.239.142:5060" target="_blank">5.6.239.142:5060</a> &lt;<a href="http://5.6.239.142:5060" target="_blank">http://5.6.239.142:5060</a>&gt; -&gt; <a href="http://1.2.204.8:5060" target="_blank">1.2.204.8:5060</a> &lt;<a href="http://1.2.204.8:5060" target="_blank">http://1.2.204.8:5060</a>&gt;<div class="im">

<br>
<br>
SIP/2.0 486 Busy Here.<br>
<br>
Via: SIP/2.0/UDP 1.2.204.8;branch=z9hG4bK5a3.473e0af1.0.<br>
<br>
Via: SIP/2.0/UDP 2.3.72.138:5060;received=2.3.72.138;branch=z9hG4bK0bf20a91;rport=5060.<br>
<br></div>
From: &quot;<a href="http://custdomain.com" target="_blank">custdomain.com</a> &lt;<a href="http://custdomain.com" target="_blank">http://custdomain.com</a>&gt;&quot; &lt;sip:<a href="http://custdomain.com" target="_blank">custdomain.com</a> &lt;<a href="http://custdomain.com" target="_blank">http://custdomain.com</a>&gt;@<a href="http://2.3.72.138" target="_blank">2.3.72.138</a> &lt;<a href="http://2.3.72.138" target="_blank">http://2.3.72.138</a>&gt;&gt;;tag=as0e9ef59a.<br>


<br>
To: &lt;<a href="mailto:sip%3A5212324399441@1.2.204.8" target="_blank">sip:5212324399441@1.2.204.8</a> &lt;mailto:<a href="mailto:sip%253A5212324399441@1.2.204.8" target="_blank">sip%3A5212324399441@1.2.204.8</a>&gt;&gt;;tag=BeZcHaUmX1D8Q.<br>


<br>
Call-ID: <a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138" target="_blank">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a> &lt;mailto:<a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138" target="_blank">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a>&gt;.<div class="im">

<br>
<br>
CSeq: 103 INVITE.<br>
<br>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-12911.<br>
<br>
Accept: application/sdp.<br>
<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH.<br>
<br>
Supported: timer, precondition, path, replaces.<br>
<br>
Content-Length: 0.<br>
<br>
.<br>
<br>
<br>
<br></div>
U <a href="http://2.3.72.138:5060" target="_blank">2.3.72.138:5060</a> &lt;<a href="http://2.3.72.138:5060" target="_blank">http://2.3.72.138:5060</a>&gt; -&gt; <a href="http://1.2.204.8:5060" target="_blank">1.2.204.8:5060</a> &lt;<a href="http://1.2.204.8:5060" target="_blank">http://1.2.204.8:5060</a>&gt;<div class="im">

<br>
<br>
ACK sip:mod_sofia@63.211.239.143:5060;transport=udp SIP/2.0.<br>
<br>
Via: SIP/2.0/UDP 2.3.72.138:5060;branch=z9hG4bK0bf20a91;rport.<br>
<br>
Route: &lt;sip:1.2.204.8;lr=on;did=bf5.880cbc94&gt;,&lt;sip:5.6.239.142;lr=on;ftag=as0e9ef59a&gt;.<br>
<br>
Max-Forwards: 70.<br>
<br></div>
From: &quot;<a href="http://custdomain.com" target="_blank">custdomain.com</a> &lt;<a href="http://custdomain.com" target="_blank">http://custdomain.com</a>&gt;&quot; &lt;sip:<a href="http://custdomain.com" target="_blank">custdomain.com</a> &lt;<a href="http://custdomain.com" target="_blank">http://custdomain.com</a>&gt;@<a href="http://2.3.72.138" target="_blank">2.3.72.138</a> &lt;<a href="http://2.3.72.138" target="_blank">http://2.3.72.138</a>&gt;&gt;;tag=as0e9ef59a.<br>


<br>
To: &lt;<a href="mailto:sip%3A5212324399441@1.2.204.8" target="_blank">sip:5212324399441@1.2.204.8</a> &lt;mailto:<a href="mailto:sip%253A5212324399441@1.2.204.8" target="_blank">sip%3A5212324399441@1.2.204.8</a>&gt;&gt;;tag=BeZcHaUmX1D8Q.<br>


<br>
Contact: &lt;sip:<a href="http://custdomain.com" target="_blank">custdomain.com</a> &lt;<a href="http://custdomain.com" target="_blank">http://custdomain.com</a>&gt;@<a href="http://2.3.72.138" target="_blank">2.3.72.138</a> &lt;<a href="http://2.3.72.138" target="_blank">http://2.3.72.138</a>&gt;&gt;.<br>


<br>
Call-ID: <a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138" target="_blank">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a> &lt;mailto:<a href="mailto:29728c50765bdc3275a6bd375a6508b1@2.3.72.138" target="_blank">29728c50765bdc3275a6bd375a6508b1@2.3.72.138</a>&gt;.<div class="im">

<br>
<br>
CSeq: 103 ACK.<br>
<br>
User-Agent: SS.<br>
<br>
Content-Length: 0.<br>
<br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
  <br>
</blockquote>
<br>
</blockquote></div><br></div>