Difference between revisions of "VOIP Billing"

From Sky Networks Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<b>VOIP Billing</b>
+
Click Here to return to the main Screen: '''[[Main Page |Back]]'''
VOIP BIlling is an  VoIP Billing Solution for Sky DANCE based on ASTPP. It supports pre-paid and post-paid billing with call rating and credit control. It also provides many other features such as calling cards, least cost routing (LCR), did management, resellers management etc.
 
  
<!-- @page Section1 { size: 8.5in 11.0in; margin: 1.0in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; } table { border: solid 1px; border-collapse: collapse; } table td, table th { border: solid 1px; padding: 5px; } td { page-break-inside: avoid; } tr { page-break-after: avoid; } div.Section1 { page: Section1; } /* Confluence print stylesheet. Common to all themes for print medi= a */ /* Full of !important until we improve batching for print CSS */ @media print { #main { padding-bottom: 1em !important; /* The default padding of 6em is to= o much for printouts */ } body { font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 10pt; line-height: 1.2; } body, #full-height-container, #main, #page, #content, .has-personal-sid= ebar #content { background: #fff !important; color: #000 !important; border: 0 !important; width: 100% !important; height: auto !important; min-height: auto !important; margin: 0 !important; padding: 0 !important; display: block !important; } a, a:link, a:visited, a:focus, a:hover, a:active { color: #000; } #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { font-family: Arial, Helvetica, FreeSans, sans-serif; page-break-after: avoid; } pre { font-family: Monaco, "Courier New", monospace; } #header, .aui-header-inner, #navigation, #sidebar, .sidebar, #personal-info-sidebar, .ia-fixed-sidebar, .page-actions, .navmenu, .ajs-menu-bar, .noprint, .inline-control-link, .inline-control-link a, a.show-labels-editor, .global-comment-actions, .comment-actions, .quick-comment-container, #addcomment { display: none !important; } /* CONF-28544 cannot print multiple pages in IE */ #splitter-content { position: relative !important; } .comment .date::before { content: none !important; /* remove middot for print view */ } h1.pagetitle img { height: auto; width: auto; } .print-only { display: block; } #footer { position: relative !important; /* CONF-17506 Place the footer at en= d of the content */ margin: 0; padding: 0; background: none; clear: both; } #poweredby { border-top: none; background: none; } #poweredby li.print-only { display: list-item; font-style: italic; } #poweredby li.noprint { display: none; } /* no width controls in print */ .wiki-content .table-wrap, .wiki-content p, .panel .codeContent, .panel .codeContent pre, .image-wrap { overflow: visible !important; } /* TODO - should this work? */ #children-section, #comments-section .comment, #comments-section .comment .comment-body, #comments-section .comment .comment-content, #comments-section .comment p { page-break-inside: avoid; } #page-children a { text-decoration: none; } /** hide twixies the specificity here is a hack because print styles are getting loaded before the base styles. */ #comments-section.pageSection .section-header, #comments-section.pageSection .section-title, #children-section.pageSection .section-header, #children-section.pageSection .section-title, .children-show-hide { padding-left: 0; margin-left: 0; } .children-show-hide.icon { display: none; } /* personal sidebar */ .has-personal-sidebar #content { margin-right: 0px; } .has-personal-sidebar #content .pageSection { margin-right: 0px; } .no-print, .no-print * { display: none !important; } } -->
+
ASTPP is a Open Source VoIP Billing Solution for Freeswitch. It supports prepaid and postpaid billing with call rating and credit control. It also provides many other features such as,
+
Sky DANCE Billing is a fully integrated Billing Solution for Sky DANCE based on the ASTPP project. It supports pre-paid and post-paid billing with call rating and credit control. It also provides many other features such as calling cards, least cost routing (LCR), did management, resellers management etc. 
  
Calling cards
 
  
Least cost routing (LCR),
+
General Theory:
 +
You will be considered the admin and will be working with providers, resellers and customers.  Customers who don't have a reseller are considered your direct customers. - reseller ID - 0
  
DID management,
+
1. You will need to setup different accounts:
 +
  a) Provider - that is to track your costs
 +
  b) Customer or Reseller or both - that is to track your income.
  
Multi level Reseller management
+
2. You will need to setup rates for termination - these are the rates your providers charge you.  These will be attached to a RG_xx where xx is the Sky DANCE resource group.
 +
3. You will need to setup rates for origination - these are the rates you will charge your customers or resellers.  These will be attached to a rate group which is attached to the outbound resource groups you setup in #2.
 +
4. Account codes can be set at the resource group level, attached to a specific ANI or attached to a specific extension.  The priority is extension, ANI, resource group if there is overlap.
  
Customer management
+
The sky_prepaid.lua script is used to integrate billing into the dialplan and should be integrated into the create_b_leg in the skydance.xml dialplan and also whenever you dial outbound from an extension.
  
IP & SIP Termination
+
If you don't provide an account number to sky_prepaid.lua, it will try to determine it based on either the ANI or if not from that it will get it from the inbound resource group associated with that call.
  
Rates management
+
You will need to setup a RG_xx entry for each resource group you will be tracking.  Outbound resource groups will have the provider account code and inbound resource groups will have the customer/reseller account code.
  
Reports
+
Note: You will actually need to login as a given reseller to create customer accounts for that reseller.  The only accounts you see are ones that belong to you - provider, customer, reseller for the admin user or just reseller and customer for the reseller user.
  
and many more
 
  
<b>Sky Networks Documentation</b>
 
[[Sky Dance Web User Interface]]
 
[[PBX|Sky PBX]]
 
[[Sky Dance Completions]]
 
[[Sky Dance Billing]]
 
[[VOIP Billing|Sky Billing]]
 
[[Sky Phone]]
 
  
 +
[[Calling cards]]
 +
[[Least cost routing (LCR)]]
 +
[[DID management]]
 +
[[Multi level Reseller management]]
 +
[[Customer management]]
 +
[[Invoices and Billing]]
 +
[[Rates management]]
 +
[[Reports]]
  
  [http://docs.stratustelecom.com ENTICE Documentation]
+
  [https://web.archive.org/web/20190603115610/https://astpp.readthedocs.io/en/v3.6/Modules/modules.html See complete ASTPP docs]
 
 
 
 
Introduction
 
Installation
 
Modules
 
APIs
 
Security
 
Service Monitoring
 
Integrations
 
Performance Improvement
 
FAQ
 
Report a Bug
 
Get Support
 

Latest revision as of 10:01, 17 January 2023

Click Here to return to the main Screen: Back


Sky DANCE Billing is a fully integrated Billing Solution for Sky DANCE based on the ASTPP project. It supports pre-paid and post-paid billing with call rating and credit control. It also provides many other features such as calling cards, least cost routing (LCR), did management, resellers management etc.


General Theory: You will be considered the admin and will be working with providers, resellers and customers. Customers who don't have a reseller are considered your direct customers. - reseller ID - 0

1. You will need to setup different accounts:
 a) Provider - that is to track your costs
 b) Customer or Reseller or both - that is to track your income.
2. You will need to setup rates for termination - these are the rates your providers charge you.  These will be attached to a RG_xx where xx is the Sky DANCE resource group.
3. You will need to setup rates for origination - these are the rates you will charge your customers or resellers.  These will be attached to a rate group which is attached to the outbound resource groups you setup in #2.
4. Account codes can be set at the resource group level, attached to a specific ANI or attached to a specific extension.  The priority is extension, ANI, resource group if there is overlap.

The sky_prepaid.lua script is used to integrate billing into the dialplan and should be integrated into the create_b_leg in the skydance.xml dialplan and also whenever you dial outbound from an extension.

If you don't provide an account number to sky_prepaid.lua, it will try to determine it based on either the ANI or if not from that it will get it from the inbound resource group associated with that call.

You will need to setup a RG_xx entry for each resource group you will be tracking. Outbound resource groups will have the provider account code and inbound resource groups will have the customer/reseller account code.

Note: You will actually need to login as a given reseller to create customer accounts for that reseller. The only accounts you see are ones that belong to you - provider, customer, reseller for the admin user or just reseller and customer for the reseller user.


Calling cards
Least cost routing (LCR)
DID management
Multi level Reseller management
Customer management
Invoices and Billing
Rates management
Reports
See complete ASTPP docs