Child pages
  • 2. Overview of sipXecs APIs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Wiki Markup
curl --insecure --basic -u superadmin \[https://\]\{host\}/sipxconfig/rest/phonebook/sales


To test the call placing service with cURL use:

Wiki Markup
curl --insecure -X PUT \[https://\]\{user\}:\{password\}@\{host\}/sipxconfig/rest/call/\{number\}


HTTP PUT to service URL determines sipXconfig to place call to {number}. The call is placed using authorized user credentials. It works in the same way as click-to-call functionality available in the User Portal. User's phone rings first and when answered, it places the call to {number}.
To test the call forwarding service with cURL use:

Wiki Markup
curl --insecure -X PUT \[https://\]\{user\}:\{password\}@\{host\}/sipxconfig/rest/my/forward/ --data-binary @\{file.xml\}


HTTP PUT to service URL creates a call forwarding scheme depending on the XML content. The same result can be obtained through the User Portal, using the call forwarding page. Specified numbers will be called in cascade using the specified configuration:
<call-sequence>
<rings>
<ring>
<expiration>20</expiration>
<type>If no response</type>
<enabled>true</enabled>
<number>100</number>
</ring>
</rings>
<withVoicemail>false</withVoicemail>
</call-sequence>

Anchor
__RefHeading__42072_131641563
__RefHeading__42072_131641563
2.1.2 SOAP APIs

...