We have installed CDRTool and find some strange behavior with E164 class.
I use E164_US class that extend E164 function. but when i change my
parameters in this:
*class E164_US extends E164 {*
* function E164_US($intAccessCode='011', $natAccessCode='',
$CountryCode="1",$ENUMtldRegexp="([1-9][0-9]{7,})") {*
It's not affect on logic when cdrtool find 'destination id', but when i do
it "hard":
*class E164_US extends E164 {*
* function E164_US($intAccessCode='011',
$natAccessCode='',$CountryCode="1",$ENUMtldRegexp="([1-9][0-9]{7,})") {*
* $this->regexp_international = "/^"."011"
.$intAccessCode."([1-9][0-9]{5,})\$/";*
* $this->regexp_national =
"/^".$natAccessCode."([1-9][0-9]{9})\$/";*
* $this->CountryCode = "1";
*
*}*
It's work as documented in README.
Is it trouble in CDRTool? or just some PHP specific behavior in my case;
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users