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. For making sure it is prepaid, you can use api_sched_hangup/transfer and then you don't need mod_nibblebill. -Avi On Mon, Apr 11, 2011 at 4:06 PM, <rhuddleston@gmail.com> wrote:
I have a custom written LUA script which utilizes mod_lcr and mod_nibblebill. I'm also using xml cdr support.
On Apr 11, 2011, at 4:55 AM, alex pappas <rebel.pappas@gmail.com> wrote:
Dear all,
I'm very new to Freeswitch and I'm trying to find the best way to implement an application which will handle calling cards.
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.
My question is how is the best way to implement this?
1. Through a script which will be called from the dialplan 2. From Inbound ESL 3. From Outbound ESL
Thank you in advance
Alex
_______________________________________________ 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