Kamailio Config
Syntax file for Sublime to support Kamailio/OpenSIPS
Labels language syntax
Details
Installs
- Total 6
- Win 0
- Mac 4
- Linux 2
| Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Kamailio Sublime Text Syntax
Syntax highlighting for Kamailio SIP server configuration files (.cfg).
Ported from miconda/vscode-kamailio-syntax (MIT).
Installation
Option A – symlink (recommended for development)
# Linux
ln -s "$(pwd)" ~/.config/sublime-text/Packages/Kamailio
# macOS
ln -s "$(pwd)" ~/Library/Application\ Support/Sublime\ Text/Packages/Kamailio
Option B – copy the files
# Linux
cp -r . ~/.config/sublime-text/Packages/Kamailio
# macOS
cp -r . ~/Library/Application\ Support/Sublime\ Text/Packages/Kamailio
Sublime Text picks up the new package automatically – no restart needed.
Usage
- Files with
.cfgor.incextensions are detected automatically. - Files that contain
KAMAILIO,SER,SIP-ROUTER, orOPENSERon their first line are also detected regardless of extension. - To set the syntax manually: View → Syntax → Kamailio
Comment toggling
- Line comment:
Ctrl+/(Win/Linux) /⌘/(macOS) inserts# - Block comment:
Ctrl+Shift+//⌘⌥/inserts/* … */