[OpenSIPS-Users] What's the best solution for national accounting?

Adrian Georgescu ag at ag-projects.com
Thu Jun 11 16:44:12 CEST 2009


Even better do not modify the supplied class as it will be overwritten  
on upgrade. If you look in setup/global.inc.complex.sample you will  
see this option per data source:

                     "E164_class"         => "E164_custom",  // define  
a custom class to determine the E164 for a telephone number
                                                             // see  
E164 classes as example in library/cdr_generic.php

Adrian


On Jun 11, 2009, at 3:56 PM, Joan wrote:

> I'm using the opensips+cdrtool+mediaproxy+freeradius solution for an
> opensips setup.
> My users are dialing directly the number in case of national calls,
> i.e. 912123123.
> In the SIP Destination table, it gets writen as 912123123 at example.com.
>
> And the problem is that I cannot get a price for the calls because, it
> depends on the definition of E164_Europe in the cdr_generic.php
> Since it doesn't fit on any of the categories, the call is just free.
>
> My question is, what is the better solution for this?
>
> 1.- Users have to mandatory use either 912123123 or
> 00international_code912123123 for the call
> 2.- I correct the E164_Europe to suit my needs
> 3.- Somehow change the values before normalizing the table?
> 4.- Something else?
>
> Thanks for your answers
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090611/2f175b0a/attachment.htm 


More information about the Users mailing list