<?php

return [
    // Vtiger database used by the listener.
    'db_host'    => 'localhost',
    'db_user'    => 'CHANGE_ME',
    'db_pass'    => 'CHANGE_ME',
    'db_name'    => 'CHANGE_ME',
    'db_charset' => 'utf8mb4',

    // UCM / Asterisk Manager Interface.
    'ami_host'   => 'CHANGE_ME',
    'ami_port'   => 5038,
    'ami_user'   => 'CHANGE_ME',
    'ami_secret' => 'CHANGE_ME',

    // Listener -> local WebSocket TCP bridge.
    'ws_bridge_host' => '127.0.0.1',
    'ws_bridge_port' => 8081,

    'log_dir' => __DIR__ . '/../../logs',

    // Empty means all active CRM users with phone_crm_extension are accepted.
    'inbound_roles' => [],

    'connect_timeout' => 10,
    'read_timeout' => 30,
    'debug_db' => false,
];
