GroupRoutePointAddDNISRequest
Bases: OCIRequest
Add a Route Point DNIS. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
dnis_key (DNISKey):
dnis_phone_number (Optional[str]):
extension (Optional[str]):
use_custom_clid_settings (bool):
calling_line_id_phone_number (Optional[str]):
calling_line_id_last_name (Optional[str]):
calling_line_id_first_name (Optional[str]):
use_custom_dnis_announcement_settings (bool):
allow_outgoing_acd_call (bool):
Source code in src/mercury_ocip/commands/commands.py
53903 53904 53905 53906 53907 53908 53909 53910 53911 53912 53913 53914 53915 53916 53917 53918 53919 53920 53921 53922 53923 53924 53925 53926 53927 53928 53929 53930 53931 53932 53933 53934 53935 53936 53937 53938 53939 53940 53941 53942 53943 53944 53945 53946 53947 53948 53949 53950 53951 53952 53953 53954 53955 53956 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupRoutePointAddDNISRequest
client = Client()
command = GroupRoutePointAddDNISRequest(
dnis_key=...,
dnis_phone_number=...,
extension=...,
use_custom_clid_settings=...,
calling_line_id_phone_number=...,
calling_line_id_last_name=...,
calling_line_id_first_name=...,
use_custom_dnis_announcement_settings=...,
allow_outgoing_acd_call=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupRoutePointAddDNISRequest",
dnis_key=...,
dnis_phone_number=...,
extension=...,
use_custom_clid_settings=...,
calling_line_id_phone_number=...,
calling_line_id_last_name=...,
calling_line_id_first_name=...,
use_custom_dnis_announcement_settings=...,
allow_outgoing_acd_call=...,
)
print(response)