[OpenSIPS-Users] CDRTool Prepaid
Philipp Hoffmann
philipp.hoffmann at arcor.de
Tue Apr 6 18:45:27 CEST 2010
OK, thanks - now it works. My code:
class E164_Europe extends E164 {
function E164_Europe ($intAccessCode='00', $natAccessCode='0',$CountryCode='',$ENUMtldRegexp="([1-9][0-9]{7,})") {
/*$this->regexp_international = "/^".$intAccessCode."([1-9][0-9]{5,})\$/";
$this->regexp_national = "/^".$natAccessCode."([1-9][0-9]{3,})\$/";
*/
$this->regexp_international = "/^([1-9][0-9]{5,})\$/";
$this->regexp_national = "/^([1-9][0-9]{3,})\$/";
$this->CountryCode = trim($CountryCode);
$this->ENUMtldRegexp = trim($ENUMtldRegexp);
}
}
Philipp
----- Original Nachricht ----
Von: Laszlo <laszlo at voipfreak.net>
An: OpenSIPS users mailling list <users at lists.opensips.org>
Datum: 06.04.2010 18:17
Betreff: Re: [OpenSIPS-Users] CDRTool Prepaid
> 2010/4/6 Philipp Hoffmann <philipp.hoffmann at arcor.de>
>
> >
> > Mhhh,... Laszlo, can do you send me a example for my cdr_genric.php,
> which
> > my allow to send the can_uri to cdrtool directly in e.164?
> >
> > Philipp
> >
>
> Hi,
>
> Sorry, I'm not going to do it, you need to figure it out by yourself.
>
> Please read this again:
> http://cdrtool.ag-projects.com/browser/doc/RATING.txt
>
> Especially this part: 2. Determination of the destination id
>
> I'm sure you can figure out what you will need to do.
>
> -Laszlo
>
>
> --------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list