<div dir="ltr">Here's a few options:<div>1) use mod_nibblebill and do the billing live. If you don't need pre payment however, this adds in complexity and doesn't provide as much of an audit trail</div><div>2) If you don't need pre-billing, set the bill-to user and the billing per minute on the leg of the call. Use something like xml_cdr to save the data - perhaps post it to a script that saves the appropriate fields. It multiplies the billing * billsec (if you want rounding, do it..) and saves the amount. Then, just sum up the billing amount. Just note: if the xml_cdr fails to post (mostly if the server dies mid-call) you won't have a record of the call. Also, this only works for post-payment.</div>
<div><br></div><div>I am available to set this up, please email me privately if you are interested.</div><div>-Avi Marcus</div><div><br><br><div class="gmail_quote">On Sat, Feb 26, 2011 at 2:16 AM, deniro <span dir="ltr"><<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi All</div>
<div>I would like to write some type of billing program that will collect the charges for each account monthly</div>
<div> </div>
<div>When someone calls into the (freeswitch) conference by dialing toll free number or local number and enters PIN number</div>
<div>the program will recognize that and start collecting number of minutes and number of persons dialed in</div>
<div>and calculate the amount of dollars.</div>
<div> </div>
<div>Lets say conference is 10cent/per minute /per person for a tool free number</div>
<div>Each time people dial into conference it will calculate total amount by person and by minutes, and generate monthly billing.</div>
<div> </div>
<div>The PIN numbers may be different for conferences that belong to same account.</div>
<div> </div>
<div>How would I do such thing? Where do I start from?</div>
<div>Is there any sample programs like it somewhere out there</div>
<div>Which language would be best to it with </div>
<div> </div>
<div>I would pay for any professional services</div>
<div> </div>
<div>Thanks in advance</div>
<div>deniro--</div><font color="#888888">
<div> </div>
<div> </div>
</font><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></div></div>