<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi all, </DIV>
<DIV>&nbsp;</DIV>
<DIV>im trying to "trick" CDRTool into rating calls when my OpenSER isnt 
actually routing anything to a PSTN, Im trying just putting the handset username 
as an internation number without the leading zera (ie 44208888888) but CDRTool 
is rating ever call as zero cost.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Maybe its something to do with this, from the 
CDRTool rating document:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>"The rating logic checks if the TLD exists in the billing_enum_tlds table. 
If it does, the rating engine tries to match the regexp field against the 
username part of the destination from the ENUM response, which has been saved in 
the Canonical URI. The match must return a fully qualified E164 number otherwise 
the call is considered to have ended to a no E164 destination and the call will 
be free of charge."</DIV>
<DIV>&nbsp;</DIV>
<DIV>What constitutes a fully qualified E164 number? <A 
href="mailto:44208888888@mydomain.com">44208888888@mydomain.com</A> should be ok 
shouldnt it? I also tried</DIV>
<DIV><A href="mailto:+44208888888@mydomain.com">+44208888888@mydomain.com</A> 
<FONT face=Arial size=2>also without any success...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Its quite furstrating cos I cant see the logic as 
its applied by the rating system which would explain how it reaches the zero 
cost</FONT></DIV>
<DIV><FONT face=Arial size=2>result. It is certainly looking at the calls as 
they are made as its logging info to the syslog saying so, eg:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Feb&nbsp; 1 16:11:39 server CDRTool[22869]: 
ShowPrice Id=94 Timestamp=1201882245 Duration=6 inputTraffic=0 outputTraffic=0 
<A href="mailto:From=003@domain.net">From=003@domain.net</A> <A 
href="mailto:To=44208888888@domain.net">To=44208888888@domain.net</A> 
Gateway=x.x.x.x Application=audio ENUMtld=<BR>Feb&nbsp; 1 16:11:39 server 
CDRTool[10751]: Normalization done in 0 s, memory usage: 4.96 MB<BR>Feb&nbsp; 1 
16:11:39 server CDRTool[10751]: Unlock ser_radius:radacct</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;Any ideas people?? Mediaproxy isnt actually 
required for billing is it? I understood it is optional for the 
documentation...??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Thanks for any help! Andy.</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>