Kamailio Config
Syntax file for Sublime to support Kamailio/OpenSIPS
Labels language syntax
Details
Installs
- Total 8
- Win 0
- Mac 4
- Linux 4
| Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 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 | 1 |
| 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 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/* … */