SystemDialPlanPolicyAddAccessCodeRequest
Bases: OCIRequest
Request to add a system-level Dial Plan Access Code and its all attribues. The response is either SuccessResponse or ErrorResponse.
Attributes:
access_code (str):
include_code_for_network_translations_and_routing (bool):
include_code_for_screening_services (bool):
enable_secondary_dial_tone (bool):
description (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemDialPlanPolicyAddAccessCodeRequest
client = Client()
command = SystemDialPlanPolicyAddAccessCodeRequest(
access_code=...,
include_code_for_network_translations_and_routing=...,
include_code_for_screening_services=...,
enable_secondary_dial_tone=...,
description=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemDialPlanPolicyAddAccessCodeRequest",
access_code=...,
include_code_for_network_translations_and_routing=...,
include_code_for_screening_services=...,
enable_secondary_dial_tone=...,
description=...,
)
print(response)