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 14
  • Win 2
  • Mac 8
  • Linux 4
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23
Windows 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 1 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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 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 /* … */