<div><font class="Apple-style-span" color="#000066">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.</font></div>
<div><font class="Apple-style-span" color="#000066"><br></font></div><div><font class="Apple-style-span" color="#000066">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. </font></div>
<div><font class="Apple-style-span" color="#000066"><br></font></div><div><font class="Apple-style-span" color="#000066">- Lua i cant in my small brain, its not getting fit. Again another new language... </font></div><div>
<font class="Apple-style-span" color="#000066">- 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.</font></div>
<div><font class="Apple-style-span" color="#000066"><br></font></div><div><font class="Apple-style-span" color="#000066">I cant simply change or move in to Lua as of this moment. </font></div><div><font class="Apple-style-span" color="#000066"><br>
</font></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 102); ">With javascript it would have taken 30 minute to build a prepaid billing system. </span><font class="Apple-style-span" color="#000066">Alas i dont still understand why our greatest </font></div>
<div><font class="Apple-style-span" color="#000066">FreeSwitch-> Mr. Spider Monkey, is not allowing me the simple </font><span class="Apple-style-span" style="color: rgb(0, 0, 102); ">ex: setTimeout(function() { } , 1000); </span><span class="Apple-style-span" style="color: rgb(0, 0, 102); ">function....</span></div>
<div><span class="Apple-style-span" style="color: rgb(0, 0, 102); "><br></span></div><div><font class="Apple-style-span" color="#000066"><br></font></div><div><font class="Apple-style-span" color="#000066">From my point of view its a nightmare, its really not easy now to change simply move all those SOAP/REST/PLAN etc etc..</font></div>
<div><font class="Apple-style-span" color="#000066"><br></font></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 102); ">Thanks & Regards</span></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 102); "><br>
</span></div><div><font class="Apple-style-span" color="#000066"><br></font></div><div><font class="Apple-style-span" color="#000066"><br></font></div><br><div class="gmail_quote">On Sat, Dec 18, 2010 at 11:15 PM, Chris Burns <span dir="ltr"><<a href="mailto:chris@cloudtel.com">chris@cloudtel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">mod_nibblebill does prepaid billing ... if you search the wiki for "billing" it is the first result :D<br><br>
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<br>
<br><div class="gmail_quote"><div><div></div><div class="h5">On Sat, Dec 18, 2010 at 3:48 PM, Shamun toha md <span dir="ltr"><<a href="mailto:shamun.toha@gmail.com" target="_blank">shamun.toha@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div class="h5">
<font color="#000066">Hello,</font><div><font color="#000066"><br></font></div><div><font color="#000066">FreeSwitch gets freezed when i try to make it for Pre-Paid track. </font></div>
<div><span style="color:rgb(0, 0, 102)"><br></span></div><div><span style="color:rgb(0, 0, 102)"><span style="color:rgb(0, 0, 0)"><div>
<font color="#000066">ex: </font></div><div><font color="#000066">while(session.ready()) </font></div><div><font color="#000066">{ </font></div><div>
<font color="#000066"> curl(....balance...);</font></div><div><font color="#000066">} </font></div><div><font color="#000066"><br></font></div></span></span></div>
<div><font color="#000066"></font><span style="color:rgb(0, 0, 102)">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. </span></div>
<div><font color="#000066"><br></font></div><div><font color="#000066">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 ? </font><span style="color:rgb(0, 0, 102)">ex: OpenSIPS or Kamilio.</span></div>
<div><font color="#000066"><br></font></div><div><font color="#000066">Please kindly guide, project is taking way too long only for this feature, dont found any wiki guide about this info.</font></div>
<div><font color="#000066"><br clear="all">Thanks & Regards</font><div><br></div>
</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>