Get Calling Profiles Mapping to SBC Devices
The Get Calling Profiles Mapping to SBC Devices request retrieves the details of the mapping between Calling Profiles and SBC devices (Enrolled trunks). Calling profiles are mapped to SBC devices based on the FQDN of the SBC device. The response for this request retrieves the database IDs of the mapped SBC devices. Calling profiles and SBC mapping are preconfigured by AudioCodes Professional Services. In the Microsoft Operator Connect portal, mapped SBC devices are known as 'Trunks Enrolled' in the Calling Profile page (under 'Calling Profile Management' tab). Before you can uploading numbers to your customer, a Calling Profile must be mapped to an SBC device that is configured as an 'Enrolled Trunk' on the Operator Connect portal.
URL
{{baseUrl}}/api/v2/oc/callingprofile/sbcmapping
HTTP Method
GET
Example Response
In the example below, the SBC device ID 8 is mapped to Calling Profiles.
[
{
"callingProfileId": "d12aa76a-d719-4db9-bf78-7ea8bec1d7b5",
"callingProfileName": "oc1.customers.audiocodes.es",
"sbcIds": []
},
{
"callingProfileId": "d44ec241-6fa9-40a3-b729-3e90d943c89f",
"callingProfileName": "oc2.customers.audio-codes.es",
"sbcIds": []
},
{
"callingProfileId": "22f42b35-7dcc-4268-a939-8c7a0af571c7",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_AC_Calling_EMEA_oc1-fmcuc",
"sbcIds": [
8
]
},
{
"callingProfileId": "4b829179-da9e-4e4b-ad8a-e8340dceb72a",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_oc2-fmcuc",
"sbcIds": []
},
{
"callingProfileId": "538730f7-843c-4ae6-94a9-a5e70fc144b8",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_all-fmcuc",
"sbcIds": []
},
{
"callingProfileId": "8d7a1410-6d5f-4169-8966-3afa97a96e29",
"callingProfileName": "PROD_testAudiocodesLiveCloudSP2_Calling_EMEA_all-es",
"sbcIds": []
},
{
"callingProfileId": "e1eaa11c-4133-4de2-b3a4-43e0df9400b3",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_oc-all-es",
"sbcIds": []
},
{
"callingProfileId": "5f3fbb3b-df9b-483d-b294-c7eb01e22aac",
"callingProfileName": "PROD_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_Sandbox2",
"sbcIds": [
8
]
},
{
"callingProfileId": "6543d4a3-7605-4656-ae5c-889f91fc6f9d",
"callingProfileName": "PROD_testAudiocodesLiveCloudSP2_Calling_AC_NOAM_sandbox3us",
"sbcIds": []
},
{
"callingProfileId": "540c64ef-0663-4a50-b8c3-aeca9f437d24",
"callingProfileName": "PROD_testAudiocodesLiveCloudSP2_Calling_AC_NOAM_Sandbox2",
"sbcIds": [
8
]
},
{
"callingProfileId": "f3197662-970c-4520-82bd-a61724114258",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_livesaas",
"sbcIds": []
},
{
"callingProfileId": "5833f9f6-a792-4dde-a963-4097feb620f2",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_FMC_Calling_NOAM",
"sbcIds": [
8
]
},
{
"callingProfileId": "54895471-54c2-4ced-8469-b847743320bb",
"callingProfileName": "QA_testAudiocodesLiveCloudSP2_FMC_Calling_NOAM_OCM",
"sbcIds": []
}
]
Based on the above example, the following Calling profiles can be used to upload OC numbers, where there is a matching SBC device (assigned sbcId 8):
■ | QA_testAudiocodesLiveCloudSP2_AC_Calling_EMEA_oc1-fmcuc |
■ | PROD_testAudiocodesLiveCloudSP2_Calling_AC_EMEA_Sandbox2 |
HTTP Responses
■ | 200 OK |
Parameter |
Type |
Description |
---|---|---|
callingProfileId |
string |
The id of the configured Calling Profile. |
callingProfileName |
string |
The name of the Calling Profile. |
sbcIds |
string |
The database Ids of the mapped SBC devices. For details of the corresponding IP addresses and FQDNs of the mapped SBC devices, see Get SBC Devices. |