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 <[email protected]>
An:      OpenSIPS users mailling list <[email protected]>
Datum:   06.04.2010 18:17
Betreff: Re: [OpenSIPS-Users] CDRTool Prepaid

> 2010/4/6 Philipp Hoffmann <[email protected]>
> 
> >
> > 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to