Configure RTP Proxies
Use this REST API endpoint to configure, register, and manage the RTP Proxy nodes. These nodes support high-availability, load balancing, and seamless RTP media stream forwarding between Session Border Controllers (SBCs) and Media Flow Engines for real-time audio processing.
URL Syntax
/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys
HTTP Methods
- GET
- POST
- DELETE
Parameters
Table 17-24 URL Parameters
| Names | Description |
|---|---|
| links | Set to none if you want to remove the links from the response. Set to an enumerated list of the links to return. For example:
|
Examples
Example 17-70 Get all RTP proxies
curl -u 'weblogic:<password>' \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys?links=none"
Example response:
{
"items": [
{
"identity": [
"customResources",
"IntelligentMediaConnector",
"customResource",
"RTPProxys",
"example.com"
],
"managementIP": "10.0.0.5",
"managementPort": 8080,
"rtpProxyName": "example.com",
"sslEnabled": false,
"secondaryPort": 8081
},
{
"identity": [
"customResources",
"IntelligentMediaConnector",
"customResource",
"RTPProxys",
"example.org"
],
"managementIP": "10.0.0.6",
"managementPort": 7070,
"rtpProxyName": "example.org",
"sslEnabled": false,
"secondaryPort": 7071
}
]
}
Example 17-71 Get a specific RPT proxy
curl -X GET -u 'weblogic:<password>' \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys/example.com?links=none"
Example response body:
{
"identity": [
"customResources",
"IntelligentMediaConnector",
"customResource",
"RTPProxys",
"example.com"
],
"managementIP": "10.0.0.5",
"managementPort": 8080,
"rtpProxyName": "example.com",
"sslEnabled": false,
"secondaryPort": 8081
}
Example 17-72 Add an RTP proxy
curl -X POST -u 'weblogic:<password>' \
-H "X-Requested-By: ConsoleBackendRestClient" \
-H "Content-Type: application/json" \
-d@RTPProxys.json \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys"
Example request body:
{
"managementIP": "10.0.0.7",
"managementPort": 8080,
"rtpProxyName": "example.net",
"sslEnabled": false,
"secondaryPort": 8081
}
The responds with a 201 Created.
Example 17-73 Delete an RTP proxy
curl -X DELETE -u 'weblogic:<password>' \
-H "X-Requested-By: ConsoleBackendRestClient" \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/RTPProxys/example.net"
The responds with a 200 OK.