{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PostCallQueueCallPolicyObject", "title": "PostCallQueueCallPolicyObject", "type": "object", "required": [ "routingType", "policy", "callBounce", "distinctiveRing" ], "properties": { "routingType": { "$ref": "#/components/schemas/HuntRoutingTypeSelection", "description": "Call routing type to use to dispatch calls to agents. The routing type should be `SKILL_BASED` if you want to assign skill level to `agents`. Only certain `policy` are allowed in `SKILL_BASED` type." }, "policy": { "$ref": "#/components/schemas/HuntPolicySelection", "description": "Call routing policy to use to dispatch calls to `agents`." }, "callBounce": { "type": "object", "properties": { "callBounceEnabled": { "type": "boolean", "example": true, "description": "If enabled, bounce calls after the set number of rings." }, "callBounceMaxRings": { "type": "number", "example": 5, "description": "Number of rings after which to bounce call, if `callBounce` is enabled." }, "agentUnavailableEnabled": { "type": "boolean", "example": true, "description": "Bounce if agent becomes unavailable." }, "alertAgentEnabled": { "type": "boolean", "example": true, "description": "Alert agent if call on hold more than `alertAgentMaxSeconds`." }, "alertAgentMaxSeconds": { "type": "number", "example": 20, "description": "Number of second after which to alert agent if `alertAgentEnabled`." }, "callBounceOnHoldEnabled": { "type": "boolean", "example": true, "description": "Bounce if call on hold more than `callBounceMaxSeconds`." }, "callBounceOnHoldMaxSeconds": { "type": "number", "example": 20, "description": "Number of second after which to bounce if `callBounceEnabled`." } }, "description": "Settings for when the call into the hunt group is not answered." }, "distinctiveRing": { "type": "object", "required": [ "enabled" ], "properties": { "enabled": { "type": "boolean", "example": true, "description": "Whether or not the `distinctiveRing` is enabled." }, "ringPattern": { "$ref": "#/components/schemas/RingPatternObject", "description": "Ring pattern for when this call queue is called. Only available when `distinctiveRing` is enabled for the call queue." } }, "description": "Whether or not the call queue has the `distinctiveRing` option enabled." } } }