PIN code based call accounting

Talk with others about developing applications for Switchvox

Moderators: bmdhacks, dpodolsky, tristand, jwitt, joshuas

PIN code based call accounting

Postby Qtec » Sun Oct 23, 2011 6:50 pm

Has anyone built a solution or piece of code to facilitate billing by PIN code rather than extension?
Specific example: A shared phone in a school boarding house - each student enters a PIN before they make a call. The PIN is then appended to the CDR or written to an external database so that call accounting & billing can be done by PIN. Currently we can collect digits via IVR but I dont believe Switchvox permits those to be saved or utilised further. Any help or thoughts appreciated...
Qtec
Newsterisk
 
Posts: 3
Joined: Mon Apr 06, 2009 3:19 am

Re: PIN code based call accounting

Postby ricmarques » Mon Oct 24, 2011 9:18 am

I haven't done this, but it sounds fairly simple to accomplish...

I would route the outbound calls to an IVR to prompt for the PIN. Next, I'd use the 'Send Call Values to URL' IVR option to send the data to an external system. Once there, I'd verify the PIN then store the call time, number dialed, and PIN in a database, then return a code to the IVR as acceptance of the PIN. Back in the Switchvox IVR, once accepted, proceed to process call.

In a separate process, I'd periodically query Switchvox for CDR data, and cross reference the stored timestamp / number dialed with the CDR records to tie it all together and produce reports.

There are a couple of call processing details I skipped (outbound call rules to direct calls to the IVR and then outbound call rules that only the IVR has access to), but I think this should point you in the right direction.
Ric Marques
Team One Networking, Digium Select Reseller
Roseville, CA
http://www.teamonenetworking.com
ricmarques
Newsterisk
 
Posts: 49
Joined: Wed Jan 05, 2011 6:22 pm
Location: Roseville, CA

Re: PIN code based call accounting

Postby Qtec » Mon Feb 27, 2012 5:33 pm

Hi Ric,
I was just about to post a new question when I realised that I didn't close out our previous query with a thank you for your reply...so a belated thanks and sorry it has taken me a while! The functionality I was querying is now available in the Shadow CMS product: http://www.telecost.com/readbloggerpost.htm?link=http://call-accounting.blogspot.com/2011/12/rsi-announces-call-accounting-pin-code.html
Cheers
James
Qtec
Newsterisk
 
Posts: 3
Joined: Mon Apr 06, 2009 3:19 am


Return to Switchvox Developers

Who is online

Users browsing this forum: No registered users and 2 guests