ServiceProviderHPBXAlternateCarrierSelectionGetRequest
Bases: OCIRequest
Request to get the Alternate Carrier Selection parameters. The response is either a ServiceProviderHPBXAlternateCarrierSelectionGetResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the ServiceProviderHPBXAlternateCarrierSelectionGetRequest.
Attributes:
process_cbc_carrier_selection (bool):
preselected_local_carrier (Optional[str]):
preselected_distant_carrier (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import ServiceProviderHPBXAlternateCarrierSelectionGetRequest
client = Client()
command = ServiceProviderHPBXAlternateCarrierSelectionGetRequest(
service_provider_id=...,
)
response = client.command(command)
print(response)