SystemVerifyTranslationAndRoutingRequest
Bases: OCIRequest
Represents a Verify Translation and Routing request which can be either a request containing parameters or a request containing a SIP message. Returns a SystemVerifyTranslationAndRoutingResponse.
Attributes:
parameters (Optional[VerifyTranslationAndRoutingParameters]):
sip_message (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Represents a Verify Translation and Routing Test Call Result.
Attributes:
result (str): The Verify Translation and Routing log created by the request.
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemVerifyTranslationAndRoutingRequest
client = Client()
command = SystemVerifyTranslationAndRoutingRequest(
parameters=...,
sip_message=...,
)
response = client.command(command)
print(response)