Sorry, first of all thanks, for the info. Few months ago i need to know few suggestion via mailing because my scenario was completely ugly, and involves lot of non standard billing methods. Therefore, with small amount of suggestion to my email, i came to my own customized solution now, which somehow does not work. I know there is our greatest mod_nibblebill, but in my case i cant use it, its not working for me, as i mentioned its a ugly and hated project that i have to ever submit. - Lua i cant in my small brain, its not getting fit. Again another new language... - Instead of Lua, 6 months i was writing C (basic part) + Javascript (largest part) + Java (basic part) + PHP (elephant part), now after 6 month its a giant code base with all the cocktail. I cant simply change or move in to Lua as of this moment. With javascript it would have taken 30 minute to build a prepaid billing system. Alas i dont still understand why our greatest FreeSwitch-> Mr. Spider Monkey, is not allowing me the simple ex: setTimeout(function() { } , 1000); function....
From my point of view its a nightmare, its really not easy now to change simply move all those SOAP/REST/PLAN etc etc..
Thanks & Regards On Sat, Dec 18, 2010 at 11:15 PM, Chris Burns <chris@cloudtel.com> wrote:
mod_nibblebill does prepaid billing ... if you search the wiki for "billing" it is the first result :D
If you wanted to properly implement your own billing, you should consider using the event socket and subscribing to events. Trying to create a prepaid billing system using lua or javascript is going to be an uphill battle
On Sat, Dec 18, 2010 at 3:48 PM, Shamun toha md <shamun.toha@gmail.com>wrote:
Hello,
FreeSwitch gets freezed when i try to make it for Pre-Paid track.
ex: while(session.ready()) { curl(....balance...); }
I tried many possibilities but still i cant make this setTimeout() function working. How can i track when call is connected, seperate option to allow me tracking that call.
Is it really not possible ? is it better to have other switch for this, because FreeSwitch cant allow developers to put there own javascript function while call is connected ? Should we use for this other switch ? ex: OpenSIPS or Kamilio.
Please kindly guide, project is taking way too long only for this feature, dont found any wiki guide about this info.
Thanks & Regards
_______________________________________________ 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