GroupInterceptGroupModifyRequest21sp1
Bases: OCIRequest
Modify the group's intercept group 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:
service_provider_id (str):
group_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
50695 50696 50697 50698 50699 50700 50701 50702 50703 50704 50705 50706 50707 50708 50709 50710 50711 50712 50713 50714 50715 50716 50717 50718 50719 50720 50721 50722 50723 50724 50725 50726 50727 50728 50729 50730 50731 50732 50733 50734 50735 50736 50737 50738 50739 50740 50741 50742 50743 50744 50745 50746 50747 50748 50749 50750 50751 50752 50753 50754 50755 50756 50757 50758 50759 50760 50761 50762 50763 50764 50765 50766 50767 50768 50769 50770 50771 50772 50773 50774 50775 50776 50777 50778 50779 50780 50781 50782 50783 50784 50785 50786 50787 50788 50789 50790 50791 50792 50793 50794 50795 50796 50797 50798 50799 50800 50801 50802 50803 50804 50805 50806 50807 50808 50809 50810 50811 50812 50813 50814 50815 50816 50817 50818 50819 50820 50821 50822 50823 50824 50825 50826 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupInterceptGroupModifyRequest21sp1
client = Client()
command = GroupInterceptGroupModifyRequest21sp1(
service_provider_id=...,
group_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("GroupInterceptGroupModifyRequest21sp1",
service_provider_id=...,
group_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)