<div dir="ltr">You can do everything from the dial plan, with a few queries and/or mod_lcr. You'll have to adjust the account balance post-call, though, via the cdr.<div>For making sure it is prepaid, you can use api_sched_hangup/transfer and then you don't need mod_nibblebill.</div>
<div><br></div><div>-Avi<br><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 4:06 PM, <span dir="ltr"><<a href="mailto:rhuddleston@gmail.com">rhuddleston@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a custom written LUA script which utilizes mod_lcr and mod_nibblebill. I'm also using xml cdr support.<br>
<div><div></div><div class="h5"><br>
On Apr 11, 2011, at 4:55 AM, alex pappas <<a href="mailto:rebel.pappas@gmail.com">rebel.pappas@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> I'm very new to Freeswitch and I'm trying to find the best way to implement an application which will handle calling cards.<br>
><br>
> The scenario is simple. A user makes a call, the call get answered and the user gives the pin number and if is correct then the user can make a call.<br>
><br>
> My question is how is the best way to implement this?<br>
><br>
> 1. Through a script which will be called from the dialplan<br>
> 2. From Inbound ESL<br>
> 3. From Outbound ESL<br>
><br>
> Thank you in advance<br>
><br>
> Alex<br>
><br>
><br>
</div></div>> _______________________________________________<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>
_______________________________________________<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>
</blockquote></div><br></div></div>