I'm very interested as well. This sounds very useful.

On Thu, Feb 24, 2011 at 4:31 AM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello AviMarcus,

The calling card works the following way:

- You can have multiple card access numbers associated to a card "name"
- Each card is associated with a rate table.
- Each areacode in the rate table has a route to use, which in turn is a distributor gw list.
- Every gateway is actually a provider which also has a cost table associated with it.
- After the call duration is calculated, the app sets a shcedule-api to disconnect the call.
- When the call is hung up, a CDR is posted to the webserver via xml_cdr. 
- This CDR contains all information regarding the call. i.e. rate, cost, clgnum, cldnum, gw_used, balance_before, balance_after, ratetable, costtable, etc...


David


On Thu, Feb 24, 2011 at 12:54 PM, Avi Marcus <avi@avimarcus.net> wrote:
I'd be interested in such a thing.
There'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.
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?

Also, for calling card, how does it handle the billing? I'd be interested in seeing it.

-Avi




On Thu, Feb 24, 2011 at 1:39 PM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello Guys,

I'm finishing a "complete" 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't know how.

Features include all the following parameters configurable via web interface:

- 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. 
     - i.e. offer to the same customer a "gold" routing on IP1 and cheap routing on IP2

- Customer add/modify/delete
     - IP source
     - Rates for client routes based on areacode
     - Prepaid or postpaid.
          - When cutomer balance is 0, no more calls are allowed.
     - limit max channels
     - Media by-pass
          - When by-passed, customer and provider will exchange RTPs directly. Else, server will be in the middle.

- Provider add/modify/delete
     - costs for provider routes based on areacode
     - limit max channels

- Routing based on areacode, gives great granularity.

- Routes can be assigned multiple gateways/providers which can in turn be distributed based on weigth. Includes overflow to next configured GW.

- Basic financial report generation (totals) by customer/provider 

- Basic traffic ASR/ACD report (totals) by cutomer/provider

- Basic user administration. (No access level, only total access)

- CDR export to csv file.




I also have a prepaid card app... no web interface on that one though...

Thanks all


David

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org