How do I build a prepaid calling card service with Asterisk?
That depends on the size of the operation and the complexity of your requirements. There are a great deal of commercial solutions geared toward this aim. Smaller, low-end setups seem to frequently rely on the free, open-source A2Billing package. Some prepaid platforms work on a simpler principle and use OpenSER/Kamailio/OpenSIPS in combination with AG Projects’ CDRTool and RADIUS. If your requirements have more logic and complexity than these cookie-cutter approaches can accommodate, we can assist you with custom development.