UserInterceptUserModifyRequest21sp1
Bases: OCIRequest
Modify the user's intercept user service settings. 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:
exemptInboundMobilityCalls
exemptOutboundMobilityCalls
disableParallelRingingToNetworkLocations
Attributes:
user_id (str):
is_active (Optional[bool]):
announcement_selection (Optional[str]):
audio_file (Optional[LabeledMediaFileResource]):
video_file (Optional[LabeledMediaFileResource]):
inbound_call_mode (Optional[str]):
alternate_blocking_announcement (Optional[bool]):
exempt_inbound_mobility_calls (Optional[bool]):
disable_parallel_ringing_to_network_locations (Optional[bool]):
route_to_voice_mail (Optional[bool]):
play_new_phone_number (Optional[bool]):
new_phone_number (Optional[Nillable[str]]):
transfer_on_zero_to_phone_number (Optional[bool]):
transfer_phone_number (Optional[Nillable[str]]):
outbound_call_mode (Optional[str]):
exempt_outbound_mobility_calls (Optional[bool]):
reroute_outbound_calls (Optional[bool]):
outbound_reroute_phone_number (Optional[Nillable[str]]):
Source code in src/mercury_ocip/commands/commands.py
109480 109481 109482 109483 109484 109485 109486 109487 109488 109489 109490 109491 109492 109493 109494 109495 109496 109497 109498 109499 109500 109501 109502 109503 109504 109505 109506 109507 109508 109509 109510 109511 109512 109513 109514 109515 109516 109517 109518 109519 109520 109521 109522 109523 109524 109525 109526 109527 109528 109529 109530 109531 109532 109533 109534 109535 109536 109537 109538 109539 109540 109541 109542 109543 109544 109545 109546 109547 109548 109549 109550 109551 109552 109553 109554 109555 109556 109557 109558 109559 109560 109561 109562 109563 109564 109565 109566 109567 109568 109569 109570 109571 109572 109573 109574 109575 109576 109577 109578 109579 109580 109581 109582 109583 109584 109585 109586 109587 109588 109589 109590 109591 109592 109593 109594 109595 109596 109597 109598 109599 109600 109601 109602 109603 109604 109605 109606 109607 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserInterceptUserModifyRequest21sp1
client = Client()
command = UserInterceptUserModifyRequest21sp1(
user_id=...,
is_active=...,
announcement_selection=...,
audio_file=...,
video_file=...,
inbound_call_mode=...,
alternate_blocking_announcement=...,
exempt_inbound_mobility_calls=...,
disable_parallel_ringing_to_network_locations=...,
route_to_voice_mail=...,
play_new_phone_number=...,
new_phone_number=...,
transfer_on_zero_to_phone_number=...,
transfer_phone_number=...,
outbound_call_mode=...,
exempt_outbound_mobility_calls=...,
reroute_outbound_calls=...,
outbound_reroute_phone_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserInterceptUserModifyRequest21sp1",
user_id=...,
is_active=...,
announcement_selection=...,
audio_file=...,
video_file=...,
inbound_call_mode=...,
alternate_blocking_announcement=...,
exempt_inbound_mobility_calls=...,
disable_parallel_ringing_to_network_locations=...,
route_to_voice_mail=...,
play_new_phone_number=...,
new_phone_number=...,
transfer_on_zero_to_phone_number=...,
transfer_phone_number=...,
outbound_call_mode=...,
exempt_outbound_mobility_calls=...,
reroute_outbound_calls=...,
outbound_reroute_phone_number=...,
)
print(response)