<div dir="ltr">We have installed CDRTool and find some strange behavior with E164 class.<div><br></div><div>I use E164_US class that extend E164 function. but when i change my parameters in this: </div><div><br></div><div>
<div><i>class E164_US extends E164 {</i></div><div><i> function E164_US(<b>$intAccessCode='011', </b>$natAccessCode='',<b>$CountryCode="1"</b>,$ENUMtldRegexp="([1-9][0-9]{7,})") {</i></div>
<div><br></div><div>It's not affect on logic when cdrtool find 'destination id', but when i do it "hard":</div></div><div><br></div><div><div><i>class E164_US extends E164 {</i></div><div><i> function E164_US($intAccessCode='011', $natAccessCode='',$CountryCode="1",$ENUMtldRegexp="([1-9][0-9]{7,})") {</i></div>
<div><i> $this->regexp_international = "/^".<b>"011"</b>.$intAccessCode."([1-9][0-9]{5,})\$/";</i></div><div><i> $this->regexp_national = "/^".$natAccessCode."([1-9][0-9]{9})\$/";</i></div>
<div><i> <b> $this->CountryCode = "1";</b><br></i></div></div><div><i>}</i></div><div><br></div><div>It's work as documented in README.</div><div><br></div><div>Is it trouble in CDRTool? or just some PHP specific behavior in my case;</div>
<div><br></div></div>