<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Interstate</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>Recent changes to Interstate</description><atom:link href="https://sourceforge.net/p/opencdrrate/home/Interstate/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 05 Apr 2012 16:57:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opencdrrate/home/Interstate/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v25 
+++ v26 
@@ -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:08 -0000</pubDate><guid>https://sourceforge.net125f168b50a97569689b40f34e56afec9853392e</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v24 
+++ v25 
@@ -9,7 +9,7 @@
 
 
 
-This call type requires loading your interstate rates, per customer, into the [InterstateRateMaster] table. A future version will allow this to be done via the PHP portal.
+This call type requires loading your interstate rates, per customer, into the [InterstateRateMaster] table.  You can also load your rates via the [PHP Admin Portal] by clicking 'Customer Rates' on the main page then going into 'Interstate'.
 
 
 Please see our [CallRecordMaster_TBR] table documentation for information on how to load interstate 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:07:29 -0000</pubDate><guid>https://sourceforge.net3b6d4e94837ef96352cee18dd0cbeede408c03de</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v23 
+++ v24 
@@ -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:30:50 -0000</pubDate><guid>https://sourceforge.net6a19d6fdbc8e5a31057228579f7098b2e6d214e3</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v22 
+++ v23 
@@ -37,23 +37,25 @@
 
 7. Determine if the CDR will be billed based on LRN or Dialed Number.
 
-8. Move any CDR to the [CallRecordMaster_HELD] table if their destination number does not meet the E.164 format requirements.
-
-9. Attempt to determine rate based on NPANXXX.
-
-10. Attempt to determine rate based on NPANXX.
-
-11. Apply default rate to any CDR with no rate from step 9 and 10. This only applies to customers who are configured with a default rate.
-
-12. Move any CDR to the [CallRecordMaster_HELD] table that we could not determine a rate for.
-
-13. Retrieve the CNAM dip rate for any CDR that were dipped for CNAM.
-
-14. Retrieve the LRN dip fee for any CDR that were dipped for LRN.
-
-15. Calculate the total call price taking usage, CNAM and LRN fees into account.
-
-16. Move the rated records to the [CallRecordMaster] table. These records will be billed on the customer's next billing cycle.
+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.
 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Fri, 02 Dec 2011 13:59:46 -0000</pubDate><guid>https://sourceforge.netaa65ed036128afd9855664a0ac7bd4cfba8a15e2</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v21 
+++ v22 
@@ -29,7 +29,7 @@
 
 3. Collect 100,000 (or more) unrated interstate records and put them into a temporary table for processing.
 
-4. Attempt to identify the CustomerID using the IP address supplied in the CDR. This only applies to records who do not have a CustomerID already supplied in their CDR.
+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.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 01 Dec 2011 19:25:48 -0000</pubDate><guid>https://sourceforge.netf470ef6b66bbfb1d6e860527eb6033c6bf7701f6</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v20 
+++ v21 
@@ -29,7 +29,7 @@
 
 3. Collect 100,000 (or more) unrated interstate records and put them into a temporary table for processing.
 
-4. Attempt to identify the CustomerID using the IP address supplied in the CDR. This only applies to records who do not have a CustomerID supplied in their CDR.
+4. Attempt to identify the CustomerID 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.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 01 Dec 2011 19:25:00 -0000</pubDate><guid>https://sourceforge.netc710e9af07ea0374d0624ac2d02e1f656f4d3917</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v19 
+++ v20 
@@ -16,9 +16,45 @@
 
 Once the rates and CDR are loaded, you can execute the fnRateInterstateCDR 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. 
-
+By default, the system will rate 100,000 CDR at a time. This is adjustable per site. 
+
 This process will record its run-time in [ProcessHistory].
+
+
+***Rating Logic***
+
+1. Determine the date of the oldest unrated interstate CDR in the [CallRecordMaster_TBR] table. 
+
+2. Generate an interstate rate sheet for all rates effective on that date.
+
+3. Collect 100,000 (or more) unrated interstate records and put them into a temporary table for processing.
+
+4. Attempt to identify the CustomerID using the IP address supplied in the CDR. This only applies to records who do not have a CustomerID 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. Move any CDR to the [CallRecordMaster_HELD] table if their destination number does not meet the E.164 format requirements.
+
+9. Attempt to determine rate based on NPANXXX.
+
+10. Attempt to determine rate based on NPANXX.
+
+11. Apply default rate to any CDR with no rate from step 9 and 10. This only applies to customers who are configured with a default rate.
+
+12. Move any CDR to the [CallRecordMaster_HELD] table that we could not determine a rate for.
+
+13. Retrieve the CNAM dip rate for any CDR that were dipped for CNAM.
+
+14. Retrieve the LRN dip fee for any CDR that were dipped for LRN.
+
+15. Calculate the total call price taking usage, CNAM and LRN fees into account.
+
+16. 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].
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DTH</dc:creator><pubDate>Thu, 01 Dec 2011 19:23:14 -0000</pubDate><guid>https://sourceforge.neta2c3858aae2fff582e2f33380cdaef5c743344aa</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v18 
+++ v19 
@@ -9,7 +9,7 @@
 
 
 
-This call type requires loading your interstate rates, per customer, into the [InterstateRateMaster] table.
+This call type requires loading your interstate rates, per customer, into the [InterstateRateMaster] 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 interstate 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:09 -0000</pubDate><guid>https://sourceforge.net76bff749de7bd3394039eece22f1c1457929e385</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v17 
+++ v18 
@@ -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:31:34 -0000</pubDate><guid>https://sourceforge.net67f7028a66bcead3df03814557b75cb2096e5daf</guid></item><item><title>WikiPage Interstate modified by DTH</title><link>https://sourceforge.net/p/opencdrrate/home/Interstate/</link><description>&lt;pre&gt;--- v16 
+++ v17 
@@ -1,7 +1,7 @@
 ***This is a first-release of the documentation. Additional detail will be added as the project matures.***
 
-* Rate interstate calls on NPANXXX.
-* Use a default rate for CDR that don't match on NPANXXX. (optional)
+* Rate interstate 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:46:37 -0000</pubDate><guid>https://sourceforge.netf20df034ee70e848a99d4362f6ce5cf0f4e7a33c</guid></item></channel></rss>