[OpenSER-Users] CDRTool rating on test system (without PSTN) zero cost problem

A.smith a.smith at ukgrid.net
Mon Feb 4 13:24:20 CET 2008


Hey Dan!

  Yep ur right! I had to have a leading "00" on the canonicalURI for to rate
the call! Thanks alot for the info!

   cheers Andy! :)

--------- Original Message --------
From: Dan-Cristian Bogos <dan.bogos at gmail.com>
To: Andy Smith <a.smith at ukgrid.net>
Cc: users at lists.openser.org
Subject: Re: [OpenSER-Users] CDRTool rating on test system (without PSTN)
zero cost problem
Date: 04/02/08 11:28

> Hi Andy,
> 
> I suspect that your problem is related to
> var $intAccessCode       = '00'; inside cdrlib.phtml.
> Based on that all the numbers which should not be altered and  be
> considered billable should contain &quot;00&quot; as international prefix.
> 
> Have a look on that, perhaps it helps.
> 
> Cheers,
> DanB
> 
> On Feb 3, 2008 7:17 PM, Andy Smith &lt;a.smith at ukgrid.net&gt; wrote:
> &gt;
> &gt;
> &gt; Hi all,
> &gt;
> &gt; im trying to &quot;trick&quot; CDRTool into rating calls when my
OpenSER isnt actually
> &gt; routing anything to a PSTN, Im trying just putting the handset
username as
> &gt; an internation number without the leading zera (ie 44208888888) but
CDRTool
> &gt; is rating ever call as zero cost.
> &gt;
> &gt; Maybe its something to do with this, from the CDRTool rating
document:
> &gt;
> &gt; &quot;The rating logic checks if the TLD exists in the
billing_enum_tlds table.
> &gt; If it does, the rating engine tries to match the regexp field against
the
> &gt; username part of the destination from the ENUM response, which has
been
> &gt; saved in the Canonical URI. The match must return a fully qualified
E164
> &gt; number otherwise the call is considered to have ended to a no E164
> &gt; destination and the call will be free of charge.&quot;
> &gt;
> &gt; What constitutes a fully qualified E164 number?
44208888888 at mydomain.com
> &gt; should be ok shouldnt it? I also tried
> &gt; +44208888888 at mydomain.com also without any success...
> &gt;
> &gt;
> &gt; Its quite furstrating cos I cant see the logic as its applied by the
rating
> &gt; system which would explain how it reaches the zero cost
> &gt; result. It is certainly looking at the calls as they are made as its
logging
> &gt; info to the syslog saying so, eg:
> &gt;
> &gt; Feb  1 16:11:39 server CDRTool[22869]: ShowPrice Id=94
Timestamp=1201882245
> &gt; Duration=6 inputTraffic=0 outputTraffic=0 From=003 at domain.net
> &gt; To=44208888888 at domain.net Gateway=x.x.x.x Application=audio ENUMtld=
> &gt; Feb  1 16:11:39 server CDRTool[10751]: Normalization done in 0 s,
memory
> &gt; usage: 4.96 MB
> &gt; Feb  1 16:11:39 server CDRTool[10751]: Unlock ser_radius:radacct
> &gt;
> &gt;
> &gt;  Any ideas people?? Mediaproxy isnt actually required for billing is
it? I
> &gt; understood it is optional for the documentation...??
> &gt;
> &gt;     Thanks for any help! Andy.
> &gt;
> &gt;
> &gt; _______________________________________________
> &gt; Users mailing list
> &gt; Users at lists.openser.org
> &gt; http://lists.openser.org/cgi-bin/mailman/listinfo/users
> &gt;
> &gt;
> 

________________________________________________
Message sent using UK Grid Webmail 2.7.9






More information about the sr-users mailing list