ICTCore Configuration

ICTCore is configured via /usr/ictcore/etc/ictcore.conf.

Config File Structure

[company]
name = ICTPBX

[security] private_key = /usr/ictcore/etc/ssh/ib_node public_key = /usr/ictcore/etc/ssh/ib_node.pub

[db] host = 127.0.0.1 name = ictfax user = ictcore password =

[freeswitch] user = user password = ClueCon host = 127.0.0.1 port = 8021

[domain] name = yourdomain.com

JWT Keys

ICTCore uses RS256 JWT for authentication. Generate a keypair if not already present:

ssh-keygen -t rsa -b 2048 -f /usr/ictcore/etc/ssh/ib_node -N ""

Tokens are valid for 1 year by default.

Route Cache

After uploading or modifying any API PHP class, clear the route cache:

rm -f /usr/ictcore/cache/*

Without this, ICTCore will serve stale routes and new endpoints won’t be found.

Key Paths

Path Purpose
/usr/ictcore/core/Api/ REST API class files
/usr/ictcore/wwwroot Apache DocumentRoot for /api
/usr/ictcore/cache/ Route cache (clear after changes)
/usr/ictcore/etc/ictcore.conf Main config