<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 18, 2010, at 5:17 PM, Philipp Hoffmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Sorry, this isn't possiable.</blockquote><blockquote type="cite">CDRTool need to parse the URI with + as prefix.<br></blockquote><div><br></div><div>Yes, you can always rewrite the uri internally when you pass it to callcontrol and rewrite it the way you want again when it goes out on the wire.</div><div><br></div><div>The flow of your configuration must be:</div><div><br></div><div>Dialed number -> Internal normalization to 00 + Country Code in the format expected by call control ->Translate into format expected by destination -> Send out</div><div><br></div>Adrian</div><div><br><blockquote type="cite"><br>Any idear?<br><br>Thanks,<br>Philipp<br><br><div class="gmail_quote">2010/5/18 Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Your setup must be done in a different place, you must set OpenSIPS configuration to send 00+ Country Code format to the call control, if this is correctly set you must have To:sip:00.... in syslog.<div>
<br></div><div><div><div><div>Adrian</div><div><div><br><div><div><div></div><div class="h5"><div>On May 18, 2010, at 4:14 PM, Philipp Hoffmann wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5">
Hi,<br><br>we wan't dial numbers with + , so I edited our cdr_generic.php:<br><br>...<br> var $intAccessCode = '+';<br> var $natAccessCode = '0';<br><br>...<br><br> function E164_Europe ($intAccessCode='+', $natAccessCode='0',$CountryCode='',$ENUMtldRegexp="([1-9][0-9]{7,})") {<br>
$this->regexp_international = "/^".$intAccessCode."([1-9][0-9]{5,})\$/";<br> $this->regexp_national = "/^".$natAccessCode."([1-9][0-9]{3,})\$/";<br>...<br>
<br>But I always recive:<br><br>MaxSessionTime Duration=36000 CallId=<a href="mailto:2e3630ab25ed952c7c0eb226657b2c5f@domain.de" target="_blank">2e3630ab25ed952c7c0eb226657b2c5f@domain.de</a> From=<a href="mailto:sip%3Auser@domain.de" target="_blank">sip:user@domain.de</a> Gateway=88.77.252.24 To=<a href="mailto:sip%3A%2B498003301000@sip.hns-rechenzentrum.de" target="_blank">sip:+498003301000@sip.hns-rechenzentrum.de</a><br>
<br>May 18 16:09:29 ser1 call-control[13980]: Call id <a href="mailto:2e3630ab25ed952c7c0eb226657b2c5f@domain.de" target="_blank">2e3630ab25ed952c7c0eb226657b2c5f@domain.de</a> of <a href="mailto:hns01@sip.hns-rechenzentrum.de" target="_blank">hns01@sip.hns-rechenzentrum.de</a> to <a href="mailto:sip%3A%2B498003301000@sip.hns-rechenzentrum.de" target="_blank">sip:+498003301000@sip.hns-rechenzentrum.de</a> is postpaid not limited<br>
<br>Any idear?<br><br>Thanks,<br>Philipp<br><br></div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div></div></div></div></div></div><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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></body></html>