Speed dial to post to url. Part of my Google voice 2014 workaround.

<< < (6/10) > >>

azrobert:
1)
Try it and see what happens.
Don't forget "Method=System Start" under provisioning and the Star Code.

2)
In the script try changing the code under the Login section to: 
               $this->_ch = curl_init();
                curl_setopt($this->_ch, CURLOPT_COOKIEJAR, $this->_cookieFile);
                curl_setopt($this->_ch, CURLOPT_FOLLOWLOCATION, TRUE);
                curl_setopt($this->_ch, CURLOPT_RETURNTRANSFER, TRUE);
                // Withtout the next line I get cURL errors
                curl_setopt($this->_ch, CURLOPT_SSL_VERIFYPEER, false);
                curl_setopt($this->_ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows

I never used a VPS, but you should install PBX in a Flash. I think Asterisk is a better solution. It's a harder install than a Web Server, but not that much. If you go this route, PHP retrieves parms differently under Asterisk.

azrobert:
I said:
Quote

I never used a VPS, but you should install PBX in a Flash. I think Asterisk is a better solution. It's a harder install than a Web Server, but not that much.

I think this is bad advice. I assume the VPS will require you to use their OS. PIAF installs CentOS, so you will need to install Asterisk by itself.

Roger:
Quote from: azrobert on April 12, 2014, 10:19:44 am

1)
Try it and see what happens.
Don't forget "Method=System Start" under provisioning and the Star Code.

I did set Method to System Start and added the Star Code.  The number I want to call does show up in speed dial #99, so that part is working.   When I try it after it dials the number (*12124445555) it hangs up and gives me back a dial tone.  I hang up but never get a call back.

2)
In the script try changing the code under the Login section to: 
               $this->_ch = curl_init();
                curl_setopt($this->_ch, CURLOPT_COOKIEJAR, $this->_cookieFile);
                curl_setopt($this->_ch, CURLOPT_FOLLOWLOCATION, TRUE);
                curl_setopt($this->_ch, CURLOPT_RETURNTRANSFER, TRUE);
                // Withtout the next line I get cURL errors
                curl_setopt($this->_ch, CURLOPT_SSL_VERIFYPEER, false);
                curl_setopt($this->_ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows

I added the line you suggested, but the problem is that google security is blocking the browser sign-in attempt.  I tried to dismiss it and say it was me, but google still blocks it and I can't figure out how to get it allowed.  I tried 2-step security with an application specific password, but that didn't work either.


azrobert:
Sign into Google once with this link:
https://accounts.google.com/ServiceLogin?passive=1209600&continue=https%3A%2F%2Faccounts.google.com%2FDisplayUnlockCaptcha&followup=https%3A%2F%2Faccounts.google.com%2FDisplayUnlockCaptcha

Edit:
When Google detects a new location accessing your account they require you to change your password

or

Use the above link to allow access without PW change.

Roger:
I was just going to post that.  DisplayUnlockCaptcha fixed issue #2.  I have updated my configURL to use the external server to eliminate any potential problem with the Obi not seeing the laptop.  When I dial I get a hang up and new dial tone.  I hang up, but don't get a call back.  Does the Obi have a log file or any way to see the error message.  I couldn't find one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page