npm · pbx-mcp
ASTERISK_AMI_HOST — Hostname or IP of the Asterisk server. Set this to enable the Asterisk tools.
ASTERISK_AMI_PORT — Asterisk Manager Interface port. Defaults to 5038.
ASTERISK_AMI_USERNAME — AMI username from manager.conf.
ASTERISK_AMI_PASSWORD · secret — AMI secret from manager.conf.
ASTERISK_AMI_TLS — Connect to AMI over TLS. Set true if tlsenable=yes in manager.conf.
FREESWITCH_ESL_HOST — Hostname or IP of the FreeSWITCH server. Set this to enable the FreeSWITCH tools.
FREESWITCH_ESL_PORT — FreeSWITCH inbound event socket port. Defaults to 8021.
FREESWITCH_ESL_PASSWORD · secret — Event socket password from event_socket.conf.xml. Defaults to ClueCon, which you should change.
PBX_MCP_ALLOW_WRITE — Unlocks call control. When false the server is read-only and the originate and hangup tools are not registered at all. Placing a call on a live trunk costs real money, so leave this off unless you mean it.
PBX_MCP_TIMEOUT_MS — Per command timeout in milliseconds. Defaults to 10000.