Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

Conferencing#

There are two main ways to add the caller to a conference:

  1. Use pre-built Kazoo conference rooms, configured via Crossbar
  2. Create ad-hoc conference rooms via Pivot

Pre-built example#

{
    "module": "conference",
    "data": {
        "id": "conference_id"
    }
}

Ad-Hoc example#

{
    "module": "conference",
    "data": {
        "config": {
            "name": "My Ad-hoc Conference"
        }
    }
}

This will create a minimalist conference bridge, named "My Ad-hoc Conference". Use the same name to ensure callers end up in the same conference together. The config object will be validated against the conference JSON schema.

Conference Per Area Code#

<?php

header('content-type: application/json');

$caller_id = $_REQUEST['Caller-ID-Number'];

$areacode = ($caller_id, 0, 3);
?>
{
    "module": "tts",
    "data": {
        "text": "Welcome to the <?= $areacode ?> conference!"
    },
    "children": {
        "_": {
            "module": "conference",
            "data": {
                "config": {
                    "name": "Areacode <?= $areacode ?>"
                }
            },
            "children": {}
        }
    }
}

Obviously this doesn't handle hidden or missing caller ID.