Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added service_providers_trunk_group_call_capacity method #37

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions odins_spear/methods/put.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,19 @@ def user_services(self, user_id: str, services: list =None, service_packs: list
#THIRD PARTY EMERGENCY CALLING
#TIME ZONES
#TRUNK GROUPS

def service_providers_trunk_group_call_capacity(self, service_provider_id: str, max_active_calls: int, bursting_max_active_calls: int):

endpoint = "/service-providers/trunk-groups/call-capacity"

data = {
"serviceProviderId": service_provider_id,
"maxActiveCalls": max_active_calls,
"burstingMaxActiveCalls": bursting_max_active_calls
}

return self.requester.put(endpoint, data=data)

#TWO STAGE DIALING
#USERS

Expand Down