On Apr 28, 2010, at 4:23 AM, Mike O'Connor wrote:

Hi All

I live in Australia and we have a few numbers which are outside of our normal dialing ranges.

The following are standard numbers for land lines (10 Digits)
02
0312312332 (or 61312312332)
04
06
07
0884567532 (or 61884567532)
09

Now the special numbers are in the form of

132221 (costs a local call)
1300234234 (costs a local call)
1800234234 (these are totally free)

My problem is that the land line and mobiles calls are rated correctly and is display in CDRTool in the form of
+61884567532 (Australia 618)


You must add entries in both rates and destinations table that match each other.


CDTool lists them as having a Flow of ' diverted-off-net'.

Where as a call to 132221 (ie the special) is rated as ' diverted-on- net' and is displayed as
[email protected]

This means that in your OpenSIPS configuration login did not set correctly the CanonicalURI.

I have rates for both 61, 614, 6113, 6118 so they all should be rated correctly.

If I telnet to the rating tools use the following, rates the correctly.
ShowPrice From=5xxxxx To=132221 Gateway=202.xx.xx.33 Duration=20

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.
[email protected]
compared to
[email protected]

Any ideas should be great, if more information is needed just email me.

Thanks for your time
Mike
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to