Skip to content

SystemDTMFTransmissionGetRequest

Bases: OCIRequest

Get the system DTMF transmission configurations. The response is either SystemDTMFTransmissionGetResponse or ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemDTMFTransmissionGetRequest(OCIRequest):
    """Get the system DTMF transmission configurations.
      The response is either SystemDTMFTransmissionGetResponse or ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to the SystemDTMFTransmissionGetRequest.

Attributes:

transmission_method (str):

signaling_content_type (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemDTMFTransmissionGetResponse(OCIDataResponse):
    """Response to the SystemDTMFTransmissionGetRequest.

    Attributes:

        transmission_method (str):

        signaling_content_type (Optional[str]):

    """

    transmission_method: str = field(metadata={"alias": "transmissionMethod"})

    signaling_content_type: Optional[str] = field(
        default=None, metadata={"alias": "signalingContentType"}
    )

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import SystemDTMFTransmissionGetRequest

client = Client()

command = SystemDTMFTransmissionGetRequest()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemDTMFTransmissionGetRequest")

print(response)