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 "00" as international prefix.
Have a look on that, perhaps it helps. Cheers, DanB On Feb 3, 2008 7:17 PM, Andy Smith <[EMAIL PROTECTED]> wrote: > > > Hi all, > > 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. > > Maybe its something to do with this, from the CDRTool rating document: > > "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." > > What constitutes a fully qualified E164 number? [EMAIL PROTECTED] > should be ok shouldnt it? I also tried > [EMAIL PROTECTED] also without any success... > > > 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 > result. It is certainly looking at the calls as they are made as its logging > info to the syslog saying so, eg: > > Feb 1 16:11:39 server CDRTool[22869]: ShowPrice Id=94 Timestamp=1201882245 > Duration=6 inputTraffic=0 outputTraffic=0 [EMAIL PROTECTED] > [EMAIL PROTECTED] Gateway=x.x.x.x Application=audio ENUMtld= > Feb 1 16:11:39 server CDRTool[10751]: Normalization done in 0 s, memory > usage: 4.96 MB > Feb 1 16:11:39 server CDRTool[10751]: Unlock ser_radius:radacct > > > Any ideas people?? Mediaproxy isnt actually required for billing is it? I > understood it is optional for the documentation...?? > > Thanks for any help! Andy. > > > _______________________________________________ > Users mailing list > Users@lists.openser.org > http://lists.openser.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users