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