Hi All, Any solution on how I can implement prepaid billing on asterisk? But not the calling card type, just a simple Custome rwill buy credit, consume then buy again. Also, is there a solution for that when you combine asterisk with ser? Regards, Ronald
Ronald Ramos a ?crit :> Hi All, > > Any solution on how I can implement prepaid billing on asterisk? > But not the calling card type, just a simple Custome rwill buy credit, > consume then buy again.You mean like a rechargable calling card =)> Also, is there a solution for that when you combine asterisk with ser?I'm currently toying with Asterisk + SER, but it's not very obvious. I wish SER config files were as easy as Asterisk's...
Ronald Ramos wrote:> Hi All, > > Any solution on how I can implement prepaid billing on asterisk? > But not the calling card type, just a simple Custome rwill buy credit, > consume then buy again. > Also, is there a solution for that when you combine asterisk with ser? > > Regards, > RonaldHi Ronald, Check the prepaid applications here for ideas: http://www.voip-info.org/wiki/view/Asterisk+Prepaid+Applications ASTPP, which is based on ASTCC is highly recommended. http://www.aleph-com.net/astpp Myself, I've implemented what you aim to do using ASTCC hooked to the shopping cart Virtuemart/Joomla. Customers register through Virtuemart/Joomla, then a "card" is created on ASTPP. When they buy a "refill card" through the store, their account is credited. As for * on ser, you may want to visit : http://www.voip-info.org/wiki-SIP+Express+Router -- JP Carballo http://www.netfone2x.com Bringing the world closer. It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.
Adrian Carter wrote:> Hey JP, > I have just built a Joomla shopcart system for our general ordering > system, and am scratching my head how to handle the backend post the > order being created... can I ask, would you mind sharing some more > detail on that particular aspect of your prepaid soultion ? Im not > particularly interested for PrePaid, we run a Wholesale internet > provider (ISP for ISP's) and want to just use Joomla/Virtuemart to > manage orders from the ISPs for DSL tails and the like.. and maybe... > asterisk stuff eventually (one thing at a time...) > > Thanks for your time > > AdrianNot at all, although this is OT, so I'll keep it simple. Goto /administrator/components/com_virtuemart/classes/ps_order.php Look for the order_status_update function Add your routines, based on $curr_order_status and $d["order_status"] In my case, the routine I added to the function checks if an order is confirmed, then the relevant variables are passed on to ASTCC/PP on the * server. For further details, feel free to email me. -- JP Carballo http://www.netfone2x.com Bringing the world closer. It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.