Re: Alpha Feature: API Access
I need to add a question: I noticed that the API is also available for Express accounts. Was that done in error, or are some commands available to Express users? (If so, which ones?) Once you integrate voicemail, it makes good sense to include the API. OTOH, with Express accounts, since one API password could control multiple different numbers (each of which have different routing instructions), that difference would need to be considered.
Re: Alpha Feature: API Access
Not that anyone cares, but this is what I threw together in 5 minutes to enable/disable DND from a webpage. There is no authentication, so don't give out your DND URL to people you dont trust :)
http://bubba.org/tmp/dnd.php.txt
http://bubba.org/tmp/curl.class.txt
Use at your own risk.
Re: Alpha Feature: API Access
Quote:
Originally Posted by
bubbanc
Could always password protect the directory its in.
Re: Alpha Feature: API Access
This is great news. I think I was one of the people who asked for it, and unfortunately, haven't been on the forums in a while to see this.
I would like a way to add/delete an incoming call route. I have my route that I add manually to route "restricted" to voicemail to keep the telemarketers away. My kids doctors office blocks their caller ID, so I have to go in and delete it when I am waiting on a callback, and re-add it later.
Also, I would be interested in this being a SOAP service with authentication. Becuase the password is in the URL, I believe that this can be gathered from proxy server logs, if you are using a web proxy to get to voipo.
Dan
Re: Alpha Feature: API Access
This is my first try at the api and I am having a problem..
http://api.voipo.com/?username=mypho...=dnd&arguments[]=status
returns a 0. Commands such as vmail or busy have no effect. Yes, I have activated the api in vpanel. Is there a problem or am I doing something wrong?
Ron
Re: Alpha Feature: API Access
Quote:
Originally Posted by
mrkarron
This is my first try at the api and I am having a problem..
Send me a private message with the exact string details you're using, wrapped in and I'll take a look.
Re: Alpha Feature: API Access
Returning a 0 on as status inquiry simply means DND is set to off. The other commands do not look like they have an effect (page comes back blank), but if you check VPanel, the setting is changed. You may need to reload the page.
Also, I was getting a password error until I remembered that the password needs to be the one I set in VPanel/Beta/API, not the password for getting into VPanel.
Re: Alpha Feature: API Access
Quote:
Originally Posted by
VOIPoJustin
Send me a private message with the exact string details you're using, wrapped in
and I'll take a look.
ok, using a different computer (at home) it works. Earlier I was trying to set it at work. I wonder since the work computers still use IE6 if that was the problem.
Re: Alpha Feature: API Access
Would it be possible to add something to the API to retreave the last x number of calls from the call log? I'm more interested in received calls than sent ones but I imagine you could do both for those that want it.
Re: Alpha Feature: API Access
I'd be reluctant to use this with the password as a URL parameter. I know that makes it easy to use, but URLs are sent in the clear and logged many places. Better would be to have a https URL and POST parameters, perhaps an XML form for extensibility. If you decide to move forward with this, please take this into account.