<div>Hi,</div><div> </div><div>We have setup CDRTool version 8.0.15 with an Asterisk multitenant PBX.</div><div> </div><div>We want to be able to log and bill the internal calls in CDRTool.  </div><div>All the calls are sent from Asterisk to OpenSIPS and the call is sent back to the same Asterisk on the same IP-address.</div>
<div> </div><div>If it´s a external call, there is no problem. The problem occurs when the called number is a local customer, then it can´t log or bill the call in CDRTool.</div><div> </div><div>From FreeRadius log:</div>
<div> </div><div> Acct-Status-Type = Failed<br>        Service-Type = Sip-Session<br>        Sip-Response-Code = 408<br>        Sip-Method = Invite<br>        Event-Timestamp = &quot;Jun 14 2011 16:02:47 CEST&quot;<br>        Sip-From-Tag = &quot;as16538a8e&quot;<br>
        Acct-Session-Id = &quot;<a href="mailto:18375a0e058480f5626c94293975f7cf@x">18375a0e058480f5626c94293975f7cf@x</a>&quot;<br>        User-Name = &quot;<a href="mailto:a@x">a@x</a>&quot;<br>        Calling-Station-Id = &quot;sip:a@x&quot;<br>
        Called-Station-Id = &quot;sip:b@y&quot;<br>        Sip-Translated-Request-URI = &quot;sip:b@ip&quot;<br>        Source-IP = &quot;ip&quot;<br>        Source-Port = &quot;5060&quot;<br>        Billing-Party = &quot;sip:a@x&quot;<br>
        Canonical-URI = &quot;sip:b@y&quot;<br>        User-Agent = &quot;Asterisk PBX&quot;<br>        Contact = &quot;&lt;sip:a@ip&gt;&quot;<br>        NAS-Port = 5060<br>        Acct-Delay-Time = 0<br>        NAS-IP-Address = 127.0.0.1<br>
        Acct-Unique-Session-Id = &quot;89f0c9014ba0a2f9&quot;<br>        Timestamp = 1308060167<br>        Request-Authenticator = Verified</div><div> </div><div> </div><div>Best regards,</div><div>Tony Tyler</div>