<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Hi,<BR><BR>I am having a difficulty with the rating
in CDRTool. When I telnet and give this command:<BR><BR>ShowPrice
From=sip:005521810000@10.0.0.4 To=sip:00552181000000@10.0.0.1 Gateway=10.0.0.4
Duration=30</FONT></DIV>
<DIV><FONT size=2 face=Arial>(IPs where changed)</FONT></DIV><FONT size=2
face=Arial>
<DIV><BR>The rating engine identifies the customer by the gateway and rates
correctly.<BR><BR>When the call comes from the OpenSips it doesn't identify the
customer and uses<BR>the default profile:<BR><BR>Start time: 2009-07-21 14:55:24
<BR>Stop time: 2009-07-21 14:55:59<BR>Method:Invite from :
<BR>From:5521083200000@10.0.0.4<BR>Domain:10.0.0.4<BR>To (dialed
URI):005521810000@10.0.0.4<BR>Canonical URI: 005521810000@10.0.0.1<BR>Next hop
URI:005521810000@10.0.0.2<BR>Destination: BRAZIL CELL (55218)<BR>Billing
Party:5521810000@10.0.0.4<BR>Reseller:<BR></DIV>
<DIV>Duration: 35 s<BR>App: audio<BR>Destination: 55218<BR>Customer:
default<BR>Connect: 0.0000 ......</DIV>
<DIV><BR>Should I set some different variable to FreeRadius for it to identify
the GATEWAY?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Alberto</FONT></DIV></FONT></DIV></BODY></HTML>