SystemCallingPartyCategoryAddRequest
Bases: OCIRequest
Add a Calling Party Category to system. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
category (str):
cpc_value (Optional[str]):
isup_oli_value (Optional[int]):
gtd_oli_value (Optional[str]):
user_category (bool):
pay_phone (bool):
operator (bool):
default (bool):
collect_call (bool):
web_display_key (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
81694 81695 81696 81697 81698 81699 81700 81701 81702 81703 81704 81705 81706 81707 81708 81709 81710 81711 81712 81713 81714 81715 81716 81717 81718 81719 81720 81721 81722 81723 81724 81725 81726 81727 81728 81729 81730 81731 81732 81733 81734 81735 81736 81737 81738 81739 81740 81741 81742 81743 81744 81745 81746 81747 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemCallingPartyCategoryAddRequest
client = Client()
command = SystemCallingPartyCategoryAddRequest(
category=...,
cpc_value=...,
isup_oli_value=...,
gtd_oli_value=...,
user_category=...,
pay_phone=...,
operator=...,
default=...,
collect_call=...,
web_display_key=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemCallingPartyCategoryAddRequest",
category=...,
cpc_value=...,
isup_oli_value=...,
gtd_oli_value=...,
user_category=...,
pay_phone=...,
operator=...,
default=...,
collect_call=...,
web_display_key=...,
)
print(response)