<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 28, 2010, at 4:23 AM, Mike O'Connor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div bgcolor="#ffffff" text="#000000"> Hi All<br> <br> I live in Australia and we have a few numbers which are outside of our normal dialing ranges.<br> <br> The following are standard numbers for land lines (10 Digits)<br> 02<br> 0312312332 (or 61312312332)<br> 04<br> 06<br> 07<br> 0884567532 (or 61884567532)<br> 09<br> <br> Now the special numbers are in the form of<br> <br> 132221 (costs a local call)<br> 1300234234 (costs a local call)<br> 1800234234 (these are totally free)<br> <br> My problem is that the land line and mobiles calls are rated correctly and is display in CDRTool in the form of<br>  <nobr>+61</nobr>884567532 (Australia 618)<br></div></blockquote><div><br></div><div><br></div><div>You must add entries in both rates and destinations table that match each other.</div><div><br></div><br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"> CDTool lists them as having a Flow of '  diverted-off-net'.<br> <br> Where as a call to 132221 (ie the special) is rated as '  diverted-on-net' and is displayed as<br> <a class="moz-txt-link-abbreviated" href="mailto:132221@sip.xxx.xx.xx">132221@sip.xxx.xx.xx</a><br></div></blockquote><div><br></div><div>This means that in your OpenSIPS configuration login did not set correctly the CanonicalURI.</div><div><br></div><blockquote type="cite"><div bgcolor="#ffffff" text="#000000">I have rates for both 61, 614, 6113, 6118 so they all should be rated correctly.<br> <br> If I telnet to the rating tools use the following, rates the correctly.<br> ShowPrice From=5xxxxx To=132221 Gateway=202.xx.xx.33 Duration=20<br> <br> The only different I can see in the CDRTool webpage is the '  To (dialed URI)', 'Canonical URI' and 'Next Hop URI' show a 00 at the beginning.<br>  <a class="moz-txt-link-abbreviated" href="mailto:006161884567532@sip.xxx.xxx.xx">006161884567532@sip.xxx.xxx.xx</a><br> compared to<br>  <a class="moz-txt-link-abbreviated" href="mailto:1300111111@sip.xxx.xxx.xx">1300111111@sip.xxx.xxx.xx</a><br> <br> Any ideas should be great, if more information is needed just email me.<br> <br> Thanks for your time<br> Mike<br> </div>  _______________________________________________<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></blockquote></div><br></body></html>