"Let Us Call You" blog post problems

Talk with others about developing applications for Switchvox

Moderators: bmdhacks, dpodolsky, tristand, jwitt, joshuas

"Let Us Call You" blog post problems

Postby mthode » Thu May 06, 2010 1:00 pm

Does http://developers.digium.com/switchvox/blog/?p=78 not work with the current Switchvox anymore?
It seems to not allow login with valid admin credentials.
Using the wget tutorial, I get a 401 on the first attempt, and then a success on the second. (wget auto retries)
I think the PHP script provided does not attempt a second try.

here is what happens when I run the PHP script with static numbers in the script from the command line.

Code: Select all
SwitchvoxResponse Object
(
    [apiStatus:private] => failed
    [apiErrors:private] => Array
        (
            [0] => HTTP Request failed (401)
        )

    [apiResult:private] => Array
        (
        )

    [rawXML:private] =>
)
mthode
Newsterisk
 
Posts: 1
Joined: Thu May 06, 2010 12:54 pm

Re: "Let Us Call You" blog post problems

Postby dpodolsky » Wed May 19, 2010 3:39 pm

The PHP should work just fine. Can you post your code and I will review. Also, make sure you have all the supporting libraries installed.
dpodolsky
Oldsterisk
 
Posts: 325
Joined: Thu Apr 23, 2009 2:35 pm


Return to Switchvox Developers

Who is online

Users browsing this forum: No registered users and 4 guests