Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: PUT /rest/siptoq850mappingtable/{identifier}/siptoq850mapping/{identifier}

Page Tree
rootResource - siptoq850mapping

Creates a SIP to Q.850 Cause Code Mapping Table Entry given a specific Table Entry ID in a given SIP to Q.850 Override Table.

URL:

https://134.56.227.163/rest/siptoq850mappingtable/{identifier}/siptoq850mapping/{identifier}

HTTP Method

PUT

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
SIPYesNoint0Possible values:
  • 0 - Minimum
  • 699 - Maximum
SIP response code (as listed in the SIP Response Codes).
Q850YesNoint0Possible values:
  • 0 - Minimum
  • 127 - Maximum
Q850 cause code (as listed in the Q.850 Cause Codes).

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/siptoq850mappingtable/1/siptoq850mapping/1 -X PUT --data "Q850=1&ConfigIEState=1&SIP=400"

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>500</http_code>
 <app_status href="https://134.56.72.218/rest/siptoq850mappingtable/1/siptoq850mapping/1">
 <app_status_entry code="20013" params="1:1|SipToIsdnCauseMapping"/>
 </app_status>
  </status>
</root>