Assistance

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Assistance

Postby Sathiya » Thu Jul 07, 2016 12:37 am

HI,

We're using VICIDIAL for the past 4 years and we're updating our asterisk now. Can you please assist me on the below query?

Once the call has been reached to our IVR, we need to pass the Mobile number to our script whether its exist in our database or not. We've created the php script but I'm not sure how to pass my phone number to it.

Thank You.
Sathiya
 
Posts: 9
Joined: Wed May 11, 2016 5:19 am

Re: Assistance

Postby mflorell » Thu Jul 07, 2016 6:23 am

You are going to have to provide a lot more information here, like how your PHP script accepts variables, and what they are named and what the output from your script looks like.

Also, by "IVR" do you mean "Call Menu"?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Assistance

Postby Sathiya » Thu Jul 07, 2016 7:19 am

Hi ,

I've pasted the sample script which I'm planning to use. Can you please have a look on this?

exten => s,1,Answer()
exten => s,1,Background(LEG/EngWelcome)
exten => s,n,WaitExten(10)
exten => s,n,NoOp("Caller ID IS: ${CALLERID(number)}")
exten => s,n,Set(foo=${CURL(http://server.test.com/appln/test.php?data='${CALLERID(number)}')})

Thank You.
Sathiya
 
Posts: 9
Joined: Wed May 11, 2016 5:19 am

Re: Assistance

Postby williamconley » Thu Jul 07, 2016 3:21 pm

Sathiya wrote:Hi ,

I've pasted the sample script which I'm planning to use. Can you please have a look on this?

exten => s,1,Answer()
exten => s,1,Background(LEG/EngWelcome)
exten => s,n,WaitExten(10)
exten => s,n,NoOp("Caller ID IS: ${CALLERID(number)}")
exten => s,n,Set(foo=${CURL(http://server.test.com/appln/test.php?data='${CALLERID(number)}')})

Thank You.

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) You are stepping outside the realm of the Vicidial system and asking a question that would pertain to a "non-vicidial" system. In a way, you're asking an auto mechanic to help you build a wankle engine to push your horses carriage because your horse died. Instead of just buying a car. Costs more for R&D and you'll not likely have a better machine when done. Plus R&D time.

4) Let's try it this way: The Vicidial method of accepting calls is to point them ALL to the [trunkinbound] context upon arrival. Once in this context, the dialplan pushes all calls to the inbound DID script. Once a call hits the DID, you have many options to route the call anywhere (agent, call menu, voicemail, but usually: Ingroup!). Inside both the Campaign and Ingroup configurations is a feature named "Start Call URL". This would be where you put the http://server.test.com/appln/test.php?data='${CALLERID(number)}')}, only you would use the syntax --A--phone_number--B-- to provide the variable. You can also try it with no parameters, just the URL, and you'll be able to test all the information that is passed automatically, which includes the phone_number of course. The audio upon arrival is also an option in the Ingroup settings, of course, as this is meant to be a "One Stop Shop" for all functions related to inbound calls. It can even include a Call Menu function if you like.

5) I strongly suggest you read the Vicidial Manager's Manual (free on EFLO.net) and even purchase a copy of the full version. You'll find a whole lot of useful information in there, just like this stuff.

6) If your Vicidial is that old, you may want to consider upgrading to a more recent version. Put a new HD in the system so you can always revert to your existing system by just popping the old HD in.

Happy Hunting 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 134 guests