Call Processing Policies¶
Display the call processing policies at Tenant level¶
-
GET
/api/v1/tenants/
(string: tenant_id)/services/call_processing_policies/
¶ Example request:
GET /api/v1/tenants/foo/services/call_processing_policies/ HTTP/1.1 Host: example.com
Example response:
HTTP/1.1 200 OK Content-Type: "application/json" { "useServiceProviderDCLIDSetting": true, "useMaxSimultaneousCalls": true, "maxSimultaneousCalls": 7, "useMaxSimultaneousVideoCalls": true, "maxSimultaneousVideoCalls": 7, "useMaxCallTimeForAnsweredCalls": true, "maxCallTimeForAnsweredCallsMinutes": 7, "useMaxCallTimeForUnansweredCalls": true, "maxCallTimeForUnansweredCallsMinutes": 7, "mediaPolicySelection": "No Restrictions", "supportedMediaSetName": "Foostring", "networkUsageSelection": "Foostring", "enforceGroupCallingLineIdentityRestriction": true, "allowEnterpriseGroupCallTypingForPrivateDialingPlan": true, "allowEnterpriseGroupCallTypingForPublicDialingPlan": true, "overrideCLIDRestrictionForPrivateCallCategory": true, "useEnterpriseCLIDForPrivateCallCategory": true, "enableEnterpriseExtensionDialing": true, "enforceEnterpriseCallingLineIdentityRestriction": true, "useSettingLevel": "Foostring", "conferenceURI": "foo@bar.com", "useMaxConcurrentRedirectedCalls": true, "maxConcurrentRedirectedCalls": 7, "useMaxFindMeFollowMeDepth": true, "maxFindMeFollowMeDepth": 7, "maxRedirectionDepth": 7, "useMaxConcurrentFindMeFollowMeInvocations": true, "maxConcurrentFindMeFollowMeInvocations": 7, "clidPolicy": "Foostring", "emergencyClidPolicy": "Foostring", "allowAlternateNumbersForRedirectingIdentity": true, "blockCallingNameForExternalCalls": true, "enableDialableCallerID": true, "allowConfigurableCLIDForRedirectingIdentity": true, "enterpriseCallsCLIDPolicy": "Use DN", "groupCallsCLIDPolicy": "Use Extension", "enablePhoneListLookup": false }
- Response JSON Object:
clidPolicy (string) – the calling line ID policy for external calls
enterpriseCallsCLIDPolicy (string) – the calling line ID policy for Enterprise Calls, for a tenant of type enterprise.
groupCallsCLIDPolicy (string) – the calling line ID policy for Group Calls.
emergencyClidPolicy (string) – the calling line ID policy for Emergency Calls.
allowAlternateNumbersForRedirectingIdentity (boolean) – If the user was called on his alternate identity then the alternate number is used as the redirecting identity
allowConfigurableCLIDForRedirectingIdentity (boolean) – Presnet the configurable CLID of the user in redirected calls.
blockCallingNameForExternalCalls (boolean) – Prevent the system from sending the user’s calling name when the user makes an external call.
mediaPolicySelection (string) – the Media policy configured
supportedMediaSetName (string) – the particular supported media in case this mode is enabled.
useMaxSimultaneousCalls (boolean) – the maximum number of concurrent calls check is enabled.
maxSimultaneousCalls (integer) – the maximum number of concurrent calls if enabled.
useMaxSimultaneousVideoCalls (boolean) – the maximum number of concurrent video calls check is enabled.
maxSimultaneousVideoCalls (integer) – the maximum number of concurrent video calls if enabled.
useMaxCallTimeForAnsweredCalls (boolean) – the maximum duration for answered calls check is enabled.
maxCallTimeForAnsweredCallsMinutes (integer) – the maximum duration for answered calls if enabled.
useMaxCallTimeForUnansweredCalls (boolean) – the maximum duration for unanswered calls check is enabled.
maxCallTimeForUnansweredCallsMinutes (integer) – the maximum duration for unanswered calls if enabled.
useMaxConcurrentRedirectedCalls (boolean) – to enable the maximum number for concurrent redirected calls check is enabled.
maxConcurrentRedirectedCalls (integer) – the maximum number for concurrent redirected calls if enabled.
useMaxConcurrentFindMeFollowMeInvocations (boolean) – the maximum number of concurrent Find Me/Follow Me invocations check is enabled.
maxConcurrentFindMeFollowMeInvocations (integer) – the maximum number of concurrent Find Me/Follow Me invocations if enabled.
useMaxFindMeFollowMeDepth (boolean) – the maximum number for the Find Me/Follow me depth check is enabled.
maxFindMeFollowMeDepth (integer) – the maximum number for the Find Me/Follow me depth if enabled.
maxRedirectionDepth (integer) – the maximum redirection depth.
useSettingLevel (string) – use conferencing URI defined at Tenant level
conferenceURI (string) – URI of conference
networkUsageSelection (string) – Force to route certain calls via the network interface.
enableEnterpriseExtensionDialing (boolean) – when enabled the calls inside a Tenant of type Enterprise remains local.
enforceGroupCallingLineIdentityRestriction (boolean) – Forces the group’s calling line ID restrictions for incoming calls.
enforceEnterpriseCallingLineIdentityRestriction (boolean) – Forces the tenant’s calling line ID restrictions for incoming calls.
allowEnterpriseGroupCallTypingForPrivateDialingPlan (boolean) – this feature allows group calls to be routed internally within the Application Server if the destination is hosted on the same Application Server, and if the Network Server used a Private Dialing Plan routing policy.
allowEnterpriseGroupCallTypingForPublicDialingPlan (boolean) – this feature allows group calls to be routed internally within the Application Server if the destination is hosted on the same Application Server, and if the Network Server used a Public Dialing Plan routing policy.
overrideCLIDRestrictionForPrivateCallCategory (boolean) – this feature allows you to override the Calling Line Identity restrictions when the Network Server returns a contact via its private dialing plan whether the destination is part of the same enterprise as the caller or not.
useEnterpriseCLIDForPrivateCallCategory (boolean) – to use the policy that you are currently defining for the the tenant.
useServiceProviderDCLIDSetting (boolean) – use dialable caller ID policy defined at this level. Else at System level.
enableDialableCallerID (boolean) – enable Dialable Caller ID.. Relevant only if useServiceProviderDCLIDSetting is set to true.
enablePhoneListLookup (boolean) – enable the Phone List Lookup.
- Status Codes:
200 OK – no error
Update the call processing policies at Tenant level¶
-
PUT
/api/v1/tenants/
(string: tenant_id)/services/call_processing_policies/
¶ Example request:
PUT /api/v1/tenants/foo/services/call_processing_policies/ HTTP/1.1 Host: example.com Content-Type: "application/json" { "supportedMediaSetName": "", "conferenceURI": "test@netaxis.be", "enablePhoneListLookup": false }
- Request JSON Object:
clidPolicy (string) – (Optional) the calling line ID policy for external calls. Value comes from list: “Use DN”,”Use Configurable CLID”
enterpriseCallsCLIDPolicy (string) – (Optional) the calling line ID policy for Enterprise Calls, for a tenant of type enterprise. Value comes from list: “Use Extension”,”Use Location Code plus Extension”,”Use External Calls Policy”
groupCallsCLIDPolicy (string) – (Optional) the calling line ID policy for Group Calls. Value comes from list: “Use Extension”,”Use Location Code plus Extension”,”Use External Calls Policy”
emergencyClidPolicy (string) – (Optional) the calling line ID policy for Emergency Calls. Value comes from list: “Use DN”,”Use Configurable CLID”
allowAlternateNumbersForRedirectingIdentity (boolean) – (Optional) If the user was called on his alternate identity then the alternate number is used as the redirecting identity
allowConfigurableCLIDForRedirectingIdentity (boolean) – (Optional) Presnet the configurable CLID of the user in redirected calls.
blockCallingNameForExternalCalls (boolean) – (Optional) Prevent the system from sending the user’s calling name when the user makes an external call.
mediaPolicySelection (string) – (Optional) the Media policy configured. Value comes from list: “Use Uncompressed Codec”,”Use Supported Media Set”,”No Restrictions”
supportedMediaSetName (string) – (Optional) the particular supported media in case this mode is enabled.
useServiceProviderDCLIDSetting (boolean) – (Optional) use dialable caller ID policy defined at this level. Else at System level.
useMaxSimultaneousCalls (boolean) – (Optional) the maximum number of concurrent calls check is enabled.
maxSimultaneousCalls (integer) – (Optional) the maximum number of concurrent calls if enabled. Value from range 1 - 999999.
useMaxSimultaneousVideoCalls (boolean) – (Optional) the maximum number of concurrent video calls check is enabled.
maxSimultaneousVideoCalls (integer) – (Optional) the maximum number of concurrent video calls if enabled. Value from range 1 - 999999.
useMaxCallTimeForAnsweredCalls (boolean) – (Optional) the maximum duration for answered calls check is enabled.
maxCallTimeForAnsweredCallsMinutes (integer) – (Optional) the maximum duration for answered calls if enabled. Value from range 3 - 2880.
useMaxCallTimeForUnansweredCalls (boolean) – (Optional) the maximum duration for unanswered calls check is enabled.
maxCallTimeForUnansweredCallsMinutes (integer) – (Optional) the maximum duration for unanswered calls if enabled. Value from range 1 - 2880.
useMaxConcurrentFindMeFollowMeInvocations (boolean) – (Optional) the maximum number of concurrent Find Me/Follow Me invocations check is enabled.
maxConcurrentFindMeFollowMeInvocations (integer) – (Optional) the maximum number of concurrent Find Me/Follow Me invocations if enabled. Value from range 1 - 999999.
useMaxConcurrentRedirectedCalls (boolean) – (Optional) to enable the maximum number for concurrent redirected calls check is enabled.
maxConcurrentRedirectedCalls (integer) – (Optional) the maximum number for concurrent redirected calls if enabled. Value from range 1 - 999999.
useMaxFindMeFollowMeDepth (boolean) – (Optional) the maximum number for the Find Me/Follow me depth check is enabled.
maxFindMeFollowMeDepth (integer) – (Optional) the maximum number for the Find Me/Follow me depth if enabled. Value from range 1 - 100.
maxRedirectionDepth (integer) – (Optional) the maximum redirection depth.
useSettingLevel (string) – (Optional) use conferencing URI defined at. Value comes from list: “System”,”Service Provider”
conferenceURI (string) – (Optional) URI of conference
networkUsageSelection (string) – (Optional) Force to route certain calls via the network interface. Value comes from list: “Force All Calls”,”Force All Except Extension and Location Calls”,”Do Not Force Enterprise and Group Calls”
enableEnterpriseExtensionDialing (boolean) – (Optional) when enabled the calls inside a Tenant of type Enterprise remains local.
enforceGroupCallingLineIdentityRestriction (boolean) – (Optional) Forces the group’s calling line ID restrictions for incoming calls.
enforceEnterpriseCallingLineIdentityRestriction (boolean) – (Optional) Forces the tenant’s calling line ID restrictions for incoming calls.
allowEnterpriseGroupCallTypingForPrivateDialingPlan (boolean) – (Optional) this feature allows group calls to be routed internally within the Application Server if the destination is hosted on the same Application Server, and if the Network Server used a Private Dialing Plan routing policy.
allowEnterpriseGroupCallTypingForPublicDialingPlan (boolean) – (Optional) this feature allows group calls to be routed internally within the Application Server if the destination is hosted on the same Application Server, and if the Network Server used a Public Dialing Plan routing policy.
overrideCLIDRestrictionForPrivateCallCategory (boolean) – (Optional) this feature allows you to override the Calling Line Identity restrictions when the Network Server returns a contact via its private dialing plan whether the destination is part of the same enterprise as the caller or not.
enableDialableCallerID (boolean) – (Optional) enable Dialable Caller ID
useEnterpriseCLIDForPrivateCallCategory (boolean) – (Optional) to use the policy that you are currently defining for the the tenant.
enablePhoneListLookup (boolean) – (Optional) enable the Phone List Lookup.
- Status Codes:
200 OK – no error
Example response:
HTTP/1.1 200 OK Content-Type: "application/json" {}
- Status Codes:
200 OK – no error
400 Bad Request – failed to update.