| Author |
Message |
fenderbass
New Forum Member


Joined: Jun 25, 2006
Posts: 8
|
I am trying to get a form made to have a customer enter their phone number and click submit initiating a call to them from my Vonage phone. I used the php example that Vonage supplied on the site http://secure.click2calllu.com and loaded it with my username, password, and phone number but it will not function properly when I POST the information from the form to the script. Can anyone help? I am using Yahoo Web Hosting Standard as the server. |
|
|
|
|
 |
fenderbass
New Forum Member


Joined: Jun 25, 2006
Posts: 8
|
I'm still having a problem getting the script to work. It appears that the problem has to do with the fact of the Click2Call site being secure and the script is looking for the certificate locally. I need to find out how to get it going to bypass the script from looking for the cert. |
|
|
|
|
 |
scerruti
Vonage Forum MVM


Joined: Feb 05, 2005
Posts: 1424
Location: Carlsbad, CA (finally)
|
|
|
|
 |
fenderbass
New Forum Member


Joined: Jun 25, 2006
Posts: 8
|
I tried that before, but I don't know where it goes. |
Last edited by fenderbass on Sat Jul 01, 2006 1:52 am; edited 1 time in total |
|
|
|
 |
scerruti
Vonage Forum MVM


Joined: Feb 05, 2005
Posts: 1424
Location: Carlsbad, CA (finally)
|
I took a look at the scripts and found out that with my host (godaddy) I did not need the verifypeer option but that did need to use a proxy for outgoing web requests.
| Code: |
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://64.202.165.130:3128");
//curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); |
There is also a timeout option that is a good idea. This code was inserted just prior to the curl_exec command.
You may want to find out if Yahoo! Hosting requires a proxy for outbound curl https requests. |
_________________ Stephen P. Cerruti (ISP: TWC) |
|
|
|
 |
|
|
|
|
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 vote in polls in this forum |
All times are GMT - 5 Hours | |