Hi all!
For easy editing kamailio configuration files I developed a syntax highlighting scheme for mc.
Preview
The scheme includes basic syntactic structures of Kamailio 1.5, all constants, variables, operators and standart core functions.
To install it, download the file kamailio.syntax from attachment and copy it to /usr/share/mc/syntax (for Debian Etch)
Next, add to the file /usr/share/mc/syntax/Syntax including:
file ..*\.cfg$ Kamailio\sconfig include kamailio.syntax
Thats all, I hope its helps someone ;)