GroupDialPlanPolicyModifyRequest
Bases: OCIRequest
Modify the Group level data associated with Dial Plan Policy. The response is either a SuccessResponse or an ErrorResponse. The following elements are only used in AS data mode and ignored in XS data mode: overrideResolvedDeviceDigitMap deviceDigitMap
Attributes:
service_provider_id (str):
group_id (str):
use_setting (Optional[str]):
requires_access_code_for_public_calls (Optional[bool]):
allow_e164_public_calls (Optional[bool]):
prefer_e164_number_format_for_callback_services (Optional[bool]):
public_digit_map (Optional[Nillable[str]]):
private_digit_map (Optional[Nillable[str]]):
override_resolved_device_digit_map (Optional[bool]):
device_digit_map (Optional[Nillable[str]]):
Source code in src/mercury_ocip/commands/commands.py
45187 45188 45189 45190 45191 45192 45193 45194 45195 45196 45197 45198 45199 45200 45201 45202 45203 45204 45205 45206 45207 45208 45209 45210 45211 45212 45213 45214 45215 45216 45217 45218 45219 45220 45221 45222 45223 45224 45225 45226 45227 45228 45229 45230 45231 45232 45233 45234 45235 45236 45237 45238 45239 45240 45241 45242 45243 45244 45245 45246 45247 45248 45249 45250 45251 45252 45253 45254 45255 45256 45257 45258 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupDialPlanPolicyModifyRequest
client = Client()
command = GroupDialPlanPolicyModifyRequest(
service_provider_id=...,
group_id=...,
use_setting=...,
requires_access_code_for_public_calls=...,
allow_e164_public_calls=...,
prefer_e164_number_format_for_callback_services=...,
public_digit_map=...,
private_digit_map=...,
override_resolved_device_digit_map=...,
device_digit_map=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupDialPlanPolicyModifyRequest",
service_provider_id=...,
group_id=...,
use_setting=...,
requires_access_code_for_public_calls=...,
allow_e164_public_calls=...,
prefer_e164_number_format_for_callback_services=...,
public_digit_map=...,
private_digit_map=...,
override_resolved_device_digit_map=...,
device_digit_map=...,
)
print(response)