<div>Hi Duane,</div><div> </div><div>Thanks for your answer.</div><div> </div><div>By internal calls I mean that 2 numbers in the Customers list are calling eachother and being routed back to the same IP-address.</div><div>
</div><div>Asterisk by default sends all calls to CDRTool, but when the call is routed back because it is a internal customer, then CDRTool does not even log or bill the call. Freeradius logs: Acct-Status-Type = Failed</div>
<div> </div><div>We have tried to look into your suggestions but it did not help.</div><div>Can it be Asterisk reinvite issue?</div><div> </div><div>Best regards,<br>Tony<br><br></div><div class="gmail_quote">2011/6/21 <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span><br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">Look at my last post here
<br>
<br><a href="http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-CDR-Flow-record-td6432731.html#a6449882" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-CDR-Flow-record-td6432731.html#a6449882</a>
<br>
<br>I think it's just a matter of what you have configured for
<br>"E164_class" =>
<br>"intAccessCode" =>
<br>"natAccessCode" =>
<br>
<br>And also edit the can_uri. So if your can_uri for your internal calls is set up the same as outbound calls it should calculate the calls.
<br>
<br>Hope that answers the issue you are having.
<br><div class="im">
<br>
<br>
<br>On Jun 21, 2011 7:29am, Tony Tyler <<a href="mailto:tonytyler2011@gmail.com" target="_blank">tonytyler2011@gmail.com</a>> wrote:
<br>> Anyone?
<br>>
<br>> From FreeRadius log:
<br>>
<br>> Acct-Status-Type = Failed
<br>> Service-Type = Sip-Session
<br>> Sip-Response-Code = 408
<br>> Sip-Method = Invite
<br>>
<br>>
<br>> Event-Timestamp = "Jun 14 2011 16:02:47 CEST"
<br>> Sip-From-Tag = "as16538a8e"
<br>> Acct-Session-Id = "18375a0e058480f5626c94293975f7cf@x"
<br>>
<br>>
<br>> User-Name = "a@x"
<br>> Calling-Station-Id = "sip:a@x"
<br>> Called-Station-Id = "sip:b@y"
<br>> Sip-Translated-Request-URI = "sip:b@ip"
<br>>
<br>>
<br>> Source-IP = "ip"
<br>> Source-Port = "5060"
<br>> Billing-Party = "sip:a@x"
<br>> Canonical-URI = "sip:b@y"
<br>> User-Agent = "Asterisk PBX"
<br>>
<br>>
<br>> Contact = ""
<br></div><div><div></div><div class="h5">> NAS-Port = 5060
<br>> Acct-Delay-Time = 0
<br>> NAS-IP-Address = 127.0.0.1
<br>> Acct-Unique-Session-Id = "89f0c9014ba0a2f9"
<br>> Timestamp = 1308060167
<br>>
<br>>
<br>> Request-Authenticator = Verified
<br>>
<br>> Best regards,
<br>> Tony Tyler
<br>>
<br>>
<br>> 2011/6/14 Tony Tyler <a href="mailto:tonytyler2011@gmail.com" target="_blank">tonytyler2011@gmail.com</a>>
<br>>
<br>>
<br>> Hi,
<br>>
<br>> We have setup CDRTool version 8.0.15 with an Asterisk multitenant PBX.
<br>>
<br>>
<br>>
<br>> We want to be able to log and bill the internal calls in CDRTool.
<br>> All the calls are sent from Asterisk to OpenSIPS and the call is sent back to the same Asterisk on the same IP-address.
<br>>
<br>>
<br>>
<br>> 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.
<br>>
<br>> From FreeRadius log:
<br>>
<br>>
<br>>
<br>>
<br>>
<br>> Acct-Status-Type = Failed
<br>> Service-Type = Sip-Session
<br>> Sip-Response-Code = 408
<br>> Sip-Method = Invite
<br>> Event-Timestamp = "Jun 14 2011 16:02:47 CEST"
<br>> Sip-From-Tag = "as16538a8e"
<br>>
<br>>
<br>>
<br>>
<br>> Acct-Session-Id = "18375a0e058480f5626c94293975f7cf@x"
<br>> User-Name = "a@x"
<br>>
<br>>
<br>> Calling-Station-Id = "sip:a@x"
<br>>
<br>>
<br>> Called-Station-Id = "sip:b@y"
<br>> Sip-Translated-Request-URI = "sip:b@ip"
<br>> Source-IP = "ip"
<br>> Source-Port = "5060"
<br>> Billing-Party = "sip:a@x"
<br>>
<br>>
<br>>
<br>>
<br>> Canonical-URI = "sip:b@y"
<br>> User-Agent = "Asterisk PBX"
<br>> Contact = ""
<br>> NAS-Port = 5060
<br>> Acct-Delay-Time = 0
<br>> NAS-IP-Address = 127.0.0.1
<br>>
<br>>
<br>>
<br>>
<br>> Acct-Unique-Session-Id = "89f0c9014ba0a2f9"
<br>> Timestamp = 1308060167
<br>> Request-Authenticator = Verified
<br>>
<br>>
<br>> Best regards,
<br>> Tony Tyler
<br>>
<br>>
<br>>
<br>>
<br>>
<br>>
<br>></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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></div><br>