Hello AviMarcus,<div><br></div><div>The calling card works the following way:</div><div><br></div><div>- You can have multiple card access numbers associated to a card &quot;name&quot;</div><div>- Each card is associated with a rate table.</div>

<div>- Each areacode in the rate table has a route to use, which in turn is a distributor gw list.</div><div>- Every gateway is actually a provider which also has a cost table associated with it.</div><div>- After the call duration is calculated, the app sets a shcedule-api to disconnect the call.</div>

<div>- When the call is hung up, a CDR is posted to the webserver via xml_cdr. </div><div>- This CDR contains all information regarding the call. i.e. rate, cost, clgnum, cldnum, gw_used, balance_before, balance_after, ratetable, costtable, etc...</div>

<div><br></div><div><br></div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 12:54 PM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">I&#39;d be interested in such a thing.<div>There&#39;s a separate GIT for contributions which you can get access to, otherwise you could throw it up on a free github account. Then, just make a link to it on the wiki.</div>



<div>Some, e.g. grnvoip, differentiate grey/premium routes by a brand/tech prefix rather than just by IP. You want it by different IP though?</div><div><br></div><div>Also, for calling card, how does it handle the billing? I&#39;d be interested in seeing it.</div>



<div><br></div><div>-Avi</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Feb 24, 2011 at 1:39 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">Hello Guys,<div><br></div><div>I&#39;m finishing a &quot;complete&quot; wholesale application created on freeswitch and I was wondering whether it would be a good idea to put it up on the wiki. I just don&#39;t know how.</div>





<div><br></div><div>Features include all the following parameters configurable via web interface:</div><div><br></div><div>- Profile creation based on server IP where traffic is received. You can have multiple IPs, system will create multiple profiles/diaplans so it can differentiate. </div>





<div>     - i.e. offer to the same customer a &quot;gold&quot; routing on IP1 and cheap routing on IP2</div><div><br></div><div>- Customer add/modify/delete</div><div>     - IP source</div><div>     - Rates for client routes based on areacode</div>





<div>     - Prepaid or postpaid.</div><div>          - When cutomer balance is 0, no more calls are allowed.</div><div><div>     - limit max channels</div></div><div>     - Media by-pass</div><div>          - When by-passed, customer and provider will exchange RTPs directly. Else, server will be in the middle.</div>





<div><br></div><div>- Provider add/modify/delete</div><div>     - costs for provider routes based on areacode</div><div><div>     - limit max channels</div></div><div><br></div><div>- Routing based on areacode, gives great granularity.</div>





<div><br></div><div>- Routes can be assigned multiple gateways/providers which can in turn be distributed based on weigth. Includes overflow to next configured GW.</div><div><br></div><div>- Basic financial report generation (totals) by customer/provider </div>





<div><br></div><div>- Basic traffic ASR/ACD report (totals) by cutomer/provider</div><div><br></div><div>- Basic user administration. (No access level, only total access)</div><div><br></div><div>- CDR export to csv file.</div>





<div><br></div><div><br></div><div><br></div><div><br></div><div>I also have a prepaid card app... no web interface on that one though...</div><div><br></div><div>Thanks all</div><div><br></div><font color="#888888"><div>



<br></div><div>David</div>

</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>