UserSelectiveCallRejectionAddCriteriaRequest16
Bases: OCIRequest
Add a criteria to the user's selective call rejection service. The following elements are only used in AS data mode: callToNumber
For the callToNumber, the extension element is not used and the number element is only used when the type is BroadWorks Mobility.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
time_schedule (Optional[TimeSchedule]):
from_dn_criteria (SelectiveCallRejectionCriteriaCallType):
holiday_schedule (Optional[HolidaySchedule]):
blacklisted (bool):
call_to_number (Optional[List[CallToNumber]]):
Source code in src/mercury_ocip_fast/commands/commands.py
114446 114447 114448 114449 114450 114451 114452 114453 114454 114455 114456 114457 114458 114459 114460 114461 114462 114463 114464 114465 114466 114467 114468 114469 114470 114471 114472 114473 114474 114475 114476 114477 114478 114479 114480 114481 114482 114483 114484 114485 114486 114487 114488 114489 114490 114491 114492 114493 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserSelectiveCallRejectionAddCriteriaRequest16
client = Client()
command = UserSelectiveCallRejectionAddCriteriaRequest16(
user_id=...,
criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number=...,
)
response = client.command(command)
print(response)