SystemSystemVoicePortalAddRequest21sp1
Bases: OCIRequest
Request to add a system voice portal instance. The response is either SuccessResponse or ErrorResponse.
The following elements are only used in IMS mode:
publicUserIdentity, ignored in standalone mode if provided.
The following elements are only used in AS mode and ignored in XS data mode:
networkClassOfService
Attributes:
system_voice_portal_id (str):
name (str):
calling_line_id_name (str):
language (str):
time_zone (str):
phone_number (Optional[str]):
public_user_identity (Optional[str]):
network_voice_portal_number (Optional[str]):
allow_identification_by_phone_number_or_voice_mail_aliases_on_login (bool):
use_voice_portal_wizard (bool):
use_voice_portal_default_greeting (bool):
voice_portal_greeting_file (Optional[LabeledMediaFileResource]):
use_voice_messaging_default_greeting (bool):
voice_messaging_greeting_file (Optional[LabeledMediaFileResource]):
express_mode (bool):
network_class_of_service (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
97244 97245 97246 97247 97248 97249 97250 97251 97252 97253 97254 97255 97256 97257 97258 97259 97260 97261 97262 97263 97264 97265 97266 97267 97268 97269 97270 97271 97272 97273 97274 97275 97276 97277 97278 97279 97280 97281 97282 97283 97284 97285 97286 97287 97288 97289 97290 97291 97292 97293 97294 97295 97296 97297 97298 97299 97300 97301 97302 97303 97304 97305 97306 97307 97308 97309 97310 97311 97312 97313 97314 97315 97316 97317 97318 97319 97320 97321 97322 97323 97324 97325 97326 97327 97328 97329 97330 97331 97332 97333 97334 97335 97336 97337 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemSystemVoicePortalAddRequest21sp1
client = Client()
command = SystemSystemVoicePortalAddRequest21sp1(
system_voice_portal_id=...,
name=...,
calling_line_id_name=...,
language=...,
time_zone=...,
phone_number=...,
public_user_identity=...,
network_voice_portal_number=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
use_voice_portal_default_greeting=...,
voice_portal_greeting_file=...,
use_voice_messaging_default_greeting=...,
voice_messaging_greeting_file=...,
express_mode=...,
network_class_of_service=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemSystemVoicePortalAddRequest21sp1",
system_voice_portal_id=...,
name=...,
calling_line_id_name=...,
language=...,
time_zone=...,
phone_number=...,
public_user_identity=...,
network_voice_portal_number=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
use_voice_portal_default_greeting=...,
voice_portal_greeting_file=...,
use_voice_messaging_default_greeting=...,
voice_messaging_greeting_file=...,
express_mode=...,
network_class_of_service=...,
)
print(response)