Hello Guys,<div><br></div><div>I updated the wiki with the following:</div><div><br></div><div><h2 style="background-image:none;background-color:rgb(255,255,255);font-weight:normal;margin-top:0px;margin-right:0px;margin-bottom:0.6em;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(170,170,170);font-size:19px;font-family:sans-serif;line-height:19px">
<span class="mw-headline">CLI-based/Retail</span></h2><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I have now made a retail version for FreeSWITCH-Billing.</p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
It works like this:</p><ul style="line-height:19px;list-style-type:square;margin-top:0.3em;margin-right:0px;margin-bottom:0px;margin-left:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<li style="margin-bottom:0.1em">A specific context is created for this application.</li><li style="margin-bottom:0.1em">Any calls which comes in on said context is handled by the retail script.</li><li style="margin-bottom:0.1em">
The script Looks up the incomming caller ID Number in a DB table.</li><li style="margin-bottom:0.1em">The CLI is associated with a "Master" acount via the Master account's ID.</li><li style="margin-bottom:0.1em">
This Master account has a balance, a rate table and a username/password (for later use, this user will be able to check his traffic, balance, etc via web)</li><li style="margin-bottom:0.1em">If the account has a positive balance, the rate table is used to apply a price per minute.</li>
<li style="margin-bottom:0.1em">The Max talk time is calculated and set by the script and the call is sent out using the route tables (already existing in the wholesale side).</li><li style="margin-bottom:0.1em">Once the call is finished, the CDR is posted using mod_xml_cdr on a web server and the receiving php inserts the cdr into the cdr table, also calculating and setting the cost of the call.</li>
</ul><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">TO DO:</p><ul style="line-height:19px;list-style-type:square;margin-top:0.3em;margin-right:0px;margin-bottom:0px;margin-left:1.5em;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<li style="margin-bottom:0.1em">web pages for the client to check out his balance, clis, etc.</li></ul><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br>I will upload this into the github this weekend!</p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Have fun!</p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">note: any suggestion is VERY welcome!</p>
<p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></p><p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></p></div>