Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

...

If you don't have any error messages, fpconst is correctly installed.

STEP 2: As soon as PyXML  PyXML is downloaded, please extract the contents of the archive, open the extracted folder, and run the following commands:

Code Block
python
python
python setup.py build
python setup.py install

To check that PyXML  PyXML has been properly installed, type the following in your Python command-line:

...

If you do not have any error messages, PyXML  PyXML is correctly installed.

STEP 3: As soon as SOAPpy  SOAPpy is downloaded, please extract the contents of the archive, open the extracted folder, and run the following commands:

Code Block
python
python
python setup.py build
python setup.py install

To check that SOAPpy  SOAPpy has been properly installed, type the following in your Python command-line:

...

If you do not have any error messages, SOAPpy  SOAPpy is correctly installed.

Warning

If you get the following error during installation:
File ".../SOAPpy/Client.py", line 46
from _future_ import nested_scopes
SyntaxError: from _future_ imports must occur at the beginning of the file
You need to open your temporary folder SOAPpy\Client.py and copy/paste the "from _future_ imports" line to be the first import.
The same error will appear with other files during installation; therefore, it is recommended that you repeat this step.

Note

The Client.py is just a temporary folder used by the SOAPpy engine. You don't need to bother with it.

STEP 4: As soon as ZSI  ZSI is downloaded, please extract the contents of the archive, open the extracted folder, and run the following commands:

Code Block
python
python
python setup.py build
python setup.py install

To check that ZSI  ZSI has been properly installed, type the following in your Python command-line:

...

If you do not have any error messages,  ZSI is is correctly installed.

STEP 5: You can start writing applications for your VoipNow server using the SOAPpy web services toolkit.

...

STEP 1: As soon as Visual Studio 2008 Express and  and Python are installed and fpconst is downloaded, please extract the contents of the fpconst archive, open the extracted folder, and run the following commands:

...

STEP 5: You can start writing applications for your VoipNow server VoipNow server using the SOAPpy web services toolkit.

...

Then you need to fill in the user credentials.  VoipNow VoipNow the OAuth protocol, where the user must provide his access token. The old legacy authentication and OAuth with consumer key and consumer secret are deprecated.

...

Adding an user or an extension is very similar. You only need to adjust the namespaces, endpoint and soapaction variables. Also, for extension accounts, you should use the the label field instead of of name and  and login.

CallCosts

The DEMO version also provides a CallCosts request. Here is the code:

...

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.