<!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>Hello Ashwini,<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>I populated the tables with the data that came with
the product. It uses the same name for the Profile</FONT></DIV>
<DIV><FONT size=2 face=Arial>and the Rate. It does not have any data for
profiles, but customers, Rates and Destinations are OK.</FONT></DIV>
<DIV><FONT size=2 face=Arial>With the same name for the profile and the
rate I failed to create the Profile entry linking the two. Now</FONT></DIV>
<DIV><FONT size=2 face=Arial>after creating the profile and reloading the
software it works properly.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Two Question:</FONT></DIV>
<DIV><FONT size=2 face=Arial>- Is there a way for the system to
recalculated all the calls in the database that now look like they are
free?</FONT></DIV>
<DIV><FONT size=2 face=Arial>- How do I delete the entries in memcache? I had to
reboot,cause I didn't find how to do this. Could you point</FONT></DIV>
<DIV><FONT size=2 face=Arial>me to the proper documentation?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks for your help,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Alberto</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>---- Original Message ----- </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=ashwini.naidu@gmail.com href="mailto:ashwini.naidu@gmail.com">ASHWINI
NAIDU</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=listas@b2br.net
href="mailto:listas@b2br.net">Alberto Listas</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">users@lists.opensips.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, July 11, 2009 2:27
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OpenSIPS-Users] CDRTool -
Rating engine does not rate</DIV>
<DIV><BR></DIV>Have you populated all the relavent data needed for CDRTool
rating Destinations table,customers, prfiles and rates.<BR><BR>if yes. Delete
the entries in Your memcache table and restart ur rating engine and try to get
search again. I guess this should work.<BR><BR><BR>
<DIV class=gmail_quote>On Sat, Jul 11, 2009 at 3:21 AM, Alberto Listas <SPAN
dir=ltr><<A href="mailto:listas@b2br.net">listas@b2br.net</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Hi,<BR><BR>I have installed OpenSips 1.5.1, FreeRadius
2.1.6, CDRTool 6.8.0. The calls<BR>work but they all appear as<BR>free in
CDRTool. I am using the standard customer and rate tables that come<BR>with
the<BR>software. When I telnet to the rating engine and use the example in
the<BR>documentation<BR>I get the result below:<BR><BR>ShowPrice From=<A
href="mailto:sip%3A123@example.com">sip:123@example.com</A> To=<A
href="mailto:sip%3A0031650222333@example.com">sip:0031650222333@example.com</A> Gateway=10.0.0.1
Duration=59<BR>0<BR>Duration: 59 s<BR> App:
audio<BR> Destination: 31650<BR>
Customer: domain=<A href="http://example.com"
target=_blank>example.com</A><BR>(And nothing else...)<BR><BR>I don't get a
price and the /var/log/syslog displays this error:<BR><BR>Jul 10 18:28:49
os2 cdrtool[11392]: Error: Cannot find rates for callid=,<BR>billing
party=<A href="mailto:123@example.com">123@example.com</A>, customer
domain=<A href="http://example.com"
target=_blank>example.com</A>,<BR>gateway=10.0.0.1, destination=31650,
profile=grn_premium, app=audio<BR><BR>I don't see the error. There is an
entry in customers for the domain<BR><A href="http://example.com"
target=_blank>example.com</A>, there<BR>is a rate for destination 31650. But
the rating engine does find any.<BR><BR>Anybody has a
suggestion???<BR><BR>Thanks,<BR><BR>Alberto<BR><BR><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></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Thanking You,<BR>Ashwini BR
Naidu<BR></BLOCKQUOTE></BODY></HTML>