[OpenSIPS-Users] CDRTool
pavel@eremina.net
eremina.net at gmail.com
Sat Sep 14 05:50:24 CEST 2013
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130914/8a83d9f7/attachment.htm>
More information about the Users
mailing list