SystemCommunicationBarringCriteriaAddRequest17
Bases: OCIRequest
Add a new Communication Barring Criteria. The following elements are only used in AS data mode: matchNumberPortabilityStatus
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
name (str):
description (Optional[str]):
match_call_type (Optional[List[str]]):
match_alternate_call_indicator (Optional[List[str]]):
match_virtual_on_net_call_type (Optional[List[str]]):
match_public_network (bool):
match_private_network (bool):
match_local_category (bool):
match_national_category (bool):
match_interlata_category (bool):
match_intralata_category (bool):
match_international_category (bool):
match_private_category (bool):
match_emergency_category (bool):
match_other_category (bool):
match_inter_network (bool):
match_inter_hosting_ne (bool):
match_inter_as (bool):
match_intra_as (bool):
match_charge_calls (bool):
match_no_charge_calls (bool):
match_group_calls (bool):
match_enterprise_calls (bool):
match_network_calls (bool):
match_network_url_calls (bool):
match_repair_calls (bool):
match_emergency_calls (bool):
match_internal_calls (bool):
match_location (str):
match_roaming (str):
time_schedule (Optional[str]):
holiday_schedule (Optional[str]):
match_number_portability_status (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
82332 82333 82334 82335 82336 82337 82338 82339 82340 82341 82342 82343 82344 82345 82346 82347 82348 82349 82350 82351 82352 82353 82354 82355 82356 82357 82358 82359 82360 82361 82362 82363 82364 82365 82366 82367 82368 82369 82370 82371 82372 82373 82374 82375 82376 82377 82378 82379 82380 82381 82382 82383 82384 82385 82386 82387 82388 82389 82390 82391 82392 82393 82394 82395 82396 82397 82398 82399 82400 82401 82402 82403 82404 82405 82406 82407 82408 82409 82410 82411 82412 82413 82414 82415 82416 82417 82418 82419 82420 82421 82422 82423 82424 82425 82426 82427 82428 82429 82430 82431 82432 82433 82434 82435 82436 82437 82438 82439 82440 82441 82442 82443 82444 82445 82446 82447 82448 82449 82450 82451 82452 82453 82454 82455 82456 82457 82458 82459 82460 82461 82462 82463 82464 82465 82466 82467 82468 82469 82470 82471 82472 82473 82474 82475 82476 82477 82478 82479 82480 82481 82482 82483 82484 82485 82486 82487 82488 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemCommunicationBarringCriteriaAddRequest17
client = Client()
command = SystemCommunicationBarringCriteriaAddRequest17(
name=...,
description=...,
match_call_type=...,
match_alternate_call_indicator=...,
match_virtual_on_net_call_type=...,
match_public_network=...,
match_private_network=...,
match_local_category=...,
match_national_category=...,
match_interlata_category=...,
match_intralata_category=...,
match_international_category=...,
match_private_category=...,
match_emergency_category=...,
match_other_category=...,
match_inter_network=...,
match_inter_hosting_ne=...,
match_inter_as=...,
match_intra_as=...,
match_charge_calls=...,
match_no_charge_calls=...,
match_group_calls=...,
match_enterprise_calls=...,
match_network_calls=...,
match_network_url_calls=...,
match_repair_calls=...,
match_emergency_calls=...,
match_internal_calls=...,
match_location=...,
match_roaming=...,
time_schedule=...,
holiday_schedule=...,
match_number_portability_status=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemCommunicationBarringCriteriaAddRequest17",
name=...,
description=...,
match_call_type=...,
match_alternate_call_indicator=...,
match_virtual_on_net_call_type=...,
match_public_network=...,
match_private_network=...,
match_local_category=...,
match_national_category=...,
match_interlata_category=...,
match_intralata_category=...,
match_international_category=...,
match_private_category=...,
match_emergency_category=...,
match_other_category=...,
match_inter_network=...,
match_inter_hosting_ne=...,
match_inter_as=...,
match_intra_as=...,
match_charge_calls=...,
match_no_charge_calls=...,
match_group_calls=...,
match_enterprise_calls=...,
match_network_calls=...,
match_network_url_calls=...,
match_repair_calls=...,
match_emergency_calls=...,
match_internal_calls=...,
match_location=...,
match_roaming=...,
time_schedule=...,
holiday_schedule=...,
match_number_portability_status=...,
)
print(response)