Support For Remote-Party-ID within Trusted Networks

S
Written by Sergiiy
Updated 1 year ago

Last updated by FlySIP Support on November 03, 2019 22:50

There is a possibility to pass Remote-Party-ID through the FlySip Softswitch but such possibility could be activated only via API.

Here are the corresponding methods: https://support.flysip.com/en/xml-rpc-rest-api/system-config

An example of usage:

curl -v -k --digest -u <username>:<password> -d '<?xml version="1.0"?>
<methodCall>
  <methodName>getSystemConfig</methodName>
<params>
  <param>
  <value>
  <struct>
  <member>
  <name>i_customer</name><value><int>1</int></value>
  </member>
  <member>
  <name>key</name><value><string>system/sip/headers/passthrough</string></value>
  </member>
  </struct>
  </value>
  </param>
</params>
</methodCall>' https://<environment_ip>/xmlapi/xmlapi

where system/sip/headers/passthrough is a fixed value so you need only to set ssp-root password.

Here is the update method:

curl -v -k --digest -u <username>:<password> -d '<?xml version="1.0"?>
<methodCall>
  <methodName>setSystemConfig</methodName>
<params>
  <param>
  <value>
  <struct>
  <member>
  <name>i_customer</name><value><int>1</int></value>
  </member>
  <member>
  <name>key</name><value><string>system/sip/headers/passthrough</string></value>
  </member>
  <member>
  <name>value</name><value><string>Remote-Party-ID</string></value>
  </member>
  </struct>
  </value>
  </param>
</params>
</methodCall>' https://<environment_ip>/xmlapi/xmlapi

where Remote-Party-ID is the header which you need to pass-through.

Did this answer your question?