ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Kamailio Config

by igorolhovskiy ALL

Syntax file for Sublime to support Kamailio/OpenSIPS

Details

Installs

  • Total 16
  • Win 3
  • Mac 9
  • Linux 4
Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4
Windows 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 0 0 0 0 0 0 0 0 0
Mac 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 0 0 0 0 0 0 0 0 0 0 0 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 0 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 .cfg or .inc extensions are detected automatically.
  • Files that contain KAMAILIO, SER, SIP-ROUTER, or OPENSER on 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 /* … */