Skip to content

GroupEnterpriseTrunkAddRequest21 command issue #24

@tyy966

Description

@tyy966
  • Broadworks OCI-P Interface version: 2.1.2
  • Python version: 3.11.7
  • Operating System: RHEL 8.9

Description

Try to call GroupEnterpriseTrunkAddRequest21 with ordered_routing, the trunk_group should be a list, but it throw error

What I Did

api.command(
"GroupEnterpriseTrunkAddRequest21",
service_provider_id="AAAA",
group_id="AAA000002",
enterprise_trunk_name="ENTEST2",
maximum_reroute_attempts=1,
route_exhaustion_action="None",
ordered_routing={
"trunk_group": ["BBB", "AAAA"],
"ordering_algorithm": "Ordered Load Balancing",
},
enable_capacity_management=True,
max_active_calls=3,
capacity_exceeded_trap_initial_calls=3,
capacity_exceeded_trap_offset_calls=3,
)

Get the following error:
Error: Argument must be bytes or unicode, got 'list'
The trunk group only accept str as the type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions