Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Dec 18, 2017 10:29 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Save/Remove CID via IVR
PostPosted: Fri Oct 28, 2011 4:23 pm 
Offline

Joined: Fri Oct 28, 2011 4:03 pm
Posts: 2
Hi,

I am trying to set up a calling card solution with A2Billing Version : 1.9.4 integrated with FreePBX. I have done most of the customization using agi-conf. I don't want A2B to save CID automatically when a user calls the DID and enters correct PIN number, rather I want to have an IVR prompt to save CID, i.e.

1. DID is called and caller is asked to enter PIN
2. when correct PIN is entered, IVR prompts to press a specific key (or two) to save CID
3. If key(s) is pressed then save CID and prompt to enter the number wished to call, or wait 2 secs and if key not pressed then continue to prompt to enter the number wished to call.

I have seen viewtopic.php?f=15&t=4264 but the code didn't work for me, perhaps due to the fact that I have latest A2B version. Can any one help?

Thank you.


Top
 Profile  
 
 Post subject: Re: Save/Remove CID via IVR
PostPosted: Fri Oct 28, 2011 4:28 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

I would suggest you program this in the Asterisk dial-plan.

Joe


Top
 Profile  
 
 Post subject: Re: Save/Remove CID via IVR
PostPosted: Sat Oct 29, 2011 5:37 pm 
Offline

Joined: Fri Oct 28, 2011 4:03 pm
Posts: 2
Thanks Joe, I am struggling to figure out how to do this via dial plan.


Top
 Profile  
 
 Post subject: Re: Save/Remove CID via IVR
PostPosted: Sat Oct 29, 2011 6:15 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Create a dialplan that looks up in the database to see if the callerID exists, if it does call a2billing.php. If it does not exist, prompt for PIN, ask to save caller ID permanently, if yes, insert the CallerID into the cc_caller_id table, if no, set accountcode to PIN, and call a2billing.php, if yes, simply call a2billing.php.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group