<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Even better do not modify the supplied class as it will be overwritten on upgrade. If you look in setup/global.inc.complex.sample you will see this option per data source:</div><div><br></div><div> "E164_class" => "E164_custom", // define a custom class to determine the E164 for a telephone number</div><div> // see E164 classes as example in library/cdr_generic.php</div><div><br></div><div>Adrian</div><div><br></div><div><br></div><div><div>On Jun 11, 2009, at 3:56 PM, Joan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'm using the opensips+cdrtool+mediaproxy+freeradius solution for an<br>opensips setup.<br>My users are dialing directly the number in case of national calls,<br>i.e. 912123123.<br>In the SIP Destination table, it gets writen as <a href="mailto:912123123@example.com">912123123@example.com</a>.<br><br>And the problem is that I cannot get a price for the calls because, it<br>depends on the definition of E164_Europe in the cdr_generic.php<br>Since it doesn't fit on any of the categories, the call is just free.<br><br>My question is, what is the better solution for this?<br><br>1.- Users have to mandatory use either 912123123 or<br>00international_code912123123 for the call<br>2.- I correct the E164_Europe to suit my needs<br>3.- Somehow change the values before normalizing the table?<br>4.- Something else?<br><br>Thanks for your answers<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></div><br></body></html>