<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Intrastate</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>Recent changes to Intrastate</description><atom:link href="https://sourceforge.net/p/opencdrrate/home/Intrastate/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 05 Apr 2012 16:57:48 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opencdrrate/home/Intrastate/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v8 
+++ v9 
@@ -66,3 +66,4 @@
 
 ***Follow us on twitter*** to receive new feature notifications: http://www.twitter.com/opencdrrate/
 
+***Join our LinkedIn group*** to open discussions on features you would like to see in the system. http://www.linkedin.com/groups/OpenCDRRate-4381972
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 05 Apr 2012 16:57:48 -0000</pubDate><guid>https://sourceforge.netc8c29b9d2bdeb47435fa4afa1b9b0b0fad88d117</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v7 
+++ v8 
@@ -9,7 +9,7 @@
 
 
 
-This call type requires loading your intrastate rates, per customer, into the [IntrastateRateMaster] table. A future version will allow this to be done via the PHP portal.
+This call type requires loading your intrastate rates, per customer, into the [IntrastateRateMaster] table. You can also load your rates via the [PHP Admin Portal] by clicking 'Customer Rates' on the main page then going into 'Intrastate'.
 
 
 Please see our [CallRecordMaster_TBR] table documentation for information on how to load intrastate CDR into our system. 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 29 Mar 2012 18:06:52 -0000</pubDate><guid>https://sourceforge.net4ba6454590b0ec5310a8e2237ed349d3c38fbd5a</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v6 
+++ v7 
@@ -62,3 +62,7 @@
 If you have any questions, please contact [Support].
 
 -The OpenCDRRate team.
+
+
+***Follow us on twitter*** to receive new feature notifications: http://www.twitter.com/opencdrrate/
+
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 29 Mar 2012 17:31:28 -0000</pubDate><guid>https://sourceforge.net192fa206419c0ac5d8f076319b52e00709afc3db</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -21,6 +21,44 @@
 This process will record its run-time in [ProcessHistory].
 
 
+***Rating Logic***
+
+1. Determine the date of the oldest unrated intrastate CDR in the [CallRecordMaster_TBR] table. 
+
+2. Generate an intrastate rate sheet for all rates effective on that date.
+
+3. Collect 100,000 (or more) unrated intrastate records and put them into a temporary table for processing.
+
+4. Attempt to identify the CustomerID of the CDR using the IP address supplied in the CDR. This only applies to records who do not have a CustomerID already supplied in their CDR.
+
+5. Move any CDR to the [CallRecordMaster_HELD] table that we don't have a CustomerID for.
+
+6. Calculate the Billable Duration based on the Raw Duration in the CDR.
+
+7. Determine if the CDR will be billed based on LRN or Dialed Number.
+
+8. Attempt to massage source number, destination number and LRN into E.164 format.
+
+9. Move any CDR to the [CallRecordMaster_HELD] table if their destination number does not meet the E.164 format requirements.
+
+10. Attempt to determine rate based on NPANXXX.
+
+11. Attempt to determine rate based on NPANXX.
+
+12. Apply default rate to any CDR with no rate from step 10 and 11. This only applies to customers who are configured with a default rate.
+
+13. Move any CDR to the [CallRecordMaster_HELD] table that we could not determine a rate for.
+
+14. Retrieve the CNAM dip rate for any CDR that were dipped for CNAM.
+
+15. Retrieve the LRN dip fee for any CDR that were dipped for LRN.
+
+16. Calculate the total call price taking usage, CNAM and LRN fees into account.
+
+17. Move the rated records to the [CallRecordMaster] table. These records will be billed on the customer's next billing cycle.
+
+
+
 If you have any questions, please contact [Support].
 
 -The OpenCDRRate team.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Mon, 05 Dec 2011 15:25:33 -0000</pubDate><guid>https://sourceforge.net7a9861c779eb83d1c44588de13461ab7ab80609d</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -9,7 +9,7 @@
 
 
 
-This call type requires loading your intrastate rates, per customer, into the [IntrastateRateMaster] table.
+This call type requires loading your intrastate rates, per customer, into the [IntrastateRateMaster] table. A future version will allow this to be done via the PHP portal.
 
 
 Please see our [CallRecordMaster_TBR] table documentation for information on how to load intrastate CDR into our system. 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Tue, 29 Nov 2011 21:13:38 -0000</pubDate><guid>https://sourceforge.nete3dcf5bb24363a1e6e2e39a6c6f1ebe457154b49</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -19,3 +19,8 @@
 By default, the system will rate 500,000 CDR at a time. This is adjustable per site. 
 
 This process will record its run-time in [ProcessHistory].
+
+
+If you have any questions, please contact [Support].
+
+-The OpenCDRRate team.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 24 Nov 2011 14:32:26 -0000</pubDate><guid>https://sourceforge.net8ca9f8658be341e811786ecf0f8bff133566c334</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -1,7 +1,7 @@
 ***This is a first-release of the documentation. Additional detail will be added as the project matures.***
 
-* Rate intrastate calls on NPANXXX.
-* Use a default rate for CDR that don't match on NPANXXX. (optional)
+* Rate intrastate calls on NPANXXX/NPANXX.
+* Use a default rate for CDR that don't match on NPANXXX/NPANXX. (optional)
 * Date-based rate sheets.
 * Bill on LRN instead of Dialed if this value is supplied in the CDR.
 * Bill for CNAM dips.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 29 Sep 2011 23:48:21 -0000</pubDate><guid>https://sourceforge.neta1c3ce8068fcb0d71fa442d558d95579e6a2e699</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -2,6 +2,7 @@
 
 * Rate intrastate calls on NPANXXX.
 * Use a default rate for CDR that don't match on NPANXXX. (optional)
+* Date-based rate sheets.
 * Bill on LRN instead of Dialed if this value is supplied in the CDR.
 * Bill for CNAM dips.
 * Bill for LRN dips.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Tue, 30 Aug 2011 11:33:12 -0000</pubDate><guid>https://sourceforge.net909191130a16bbe8b120253b8adc620fe31d8fe5</guid></item><item><title>WikiPage Intrastate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Intrastate/</link><description>***This is a first-release of the documentation. Additional detail will be added as the project matures.***

* Rate intrastate calls on NPANXXX.
* Use a default rate for CDR that don't match on NPANXXX. (optional)
* Bill on LRN instead of Dialed if this value is supplied in the CDR.
* Bill for CNAM dips.
* Bill for LRN dips.



This call type requires loading your intrastate rates, per customer, into the [IntrastateRateMaster] table.


Please see our [CallRecordMaster_TBR] table documentation for information on how to load intrastate CDR into our system. 

Once the rates and CDR are loaded, you can execute the fnRateIntrastateCDR function. Calls that have been rated will go into the [CallRecordMaster] table. Unratable calls will go into the [CallRecordMaster_HELD] and can be rated at a later date.

By default, the system will rate 500,000 CDR at a time. This is adjustable per site. 

This process will record its run-time in [ProcessHistory].
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Mon, 29 Aug 2011 19:43:18 -0000</pubDate><guid>https://sourceforge.netc7b5bbff39e3915c2ae9c8dc95ad92e4be758467</guid></item></channel></rss>