Hi everyone. I want to start development of an kamailio module. and I am wondering is the any tutorial about that and also what ide or other setup the other people use for this. sorry for begginer question and thanks for attention.
Hello,
On 02.07.25 19:49, mohsen khashei via sr-users wrote:
Hi everyone. I want to start development of an kamailio module. and I am wondering is the any tutorial about that and also what ide or other setup the other people use for this. sorry for begginer question and thanks for attention.
there is an old tutorial that could still be useful to read:
- https://www.kamailio.org/docs/kamailio-devel-guide/
Then I would look to some of the small modules (e.g., math for exporting functions to kamailio.cfg, alias_db for database interaction and module parameters, ...).
You can ask on sr-dev mailing list when you have some questions about the existing C code.
I use vim-gui variants (macvim or gvim) most of the time for development, because I got used to it for long time. I would say that these days VSCode would be a good, still simple, ide/code editor -- plenty of extensions for c development.
Cheers, Daniel
I did some playing around with building my own first Kamailio module as a minor project of mine. I used ChatGPT to get the initial confidence boost and it gave surprisingly good answers and enough to get me started.
/M
From: Daniel-Constantin Mierla via sr-users sr-users@lists.kamailio.org Date: Thursday, 3 July 2025 at 09:45 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Daniel-Constantin Mierla miconda@gmail.com Subject: [SR-Users] Re: kamailio module development setup
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello, On 02.07.25 19:49, mohsen khashei via sr-users wrote: Hi everyone. I want to start development of an kamailio module. and I am wondering is the any tutorial about that and also what ide or other setup the other people use for this. sorry for begginer question and thanks for attention.
there is an old tutorial that could still be useful to read:
- https://www.kamailio.org/docs/kamailio-devel-guide/
Then I would look to some of the small modules (e.g., math for exporting functions to kamailio.cfg, alias_db for database interaction and module parameters, ...).
You can ask on sr-dev mailing list when you have some questions about the existing C code.
I use vim-gui variants (macvim or gvim) most of the time for development, because I got used to it for long time. I would say that these days VSCode would be a good, still simple, ide/code editor -- plenty of extensions for c development.
Cheers, Daniel
--
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Beware of these initial confidence boosts, especially when you are not in a great position to judge whether you are, in fact, "surprisingly good" answers.
Not saying LLMs can't help, but they're far and away the most useful as personal accelerators to people who already know what they're doing in a domain and simply want to cut out some tedium, not as a means of learning something deeply for the first time.
-- Alex
On Jul 3, 2025, at 8:05 AM, Martin Nyström via sr-users sr-users@lists.kamailio.org wrote:
I did some playing around with building my own first Kamailio module as a minor project of mine. I used ChatGPT to get the initial confidence boost and it gave surprisingly good answers and enough to get me started. /M From: Daniel-Constantin Mierla via sr-users sr-users@lists.kamailio.org Date: Thursday, 3 July 2025 at 09:45 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Daniel-Constantin Mierla miconda@gmail.com Subject: [SR-Users] Re: kamailio module development setup CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hello, On 02.07.25 19:49, mohsen khashei via sr-users wrote: Hi everyone. I want to start development of an kamailio module. and I am wondering is the any tutorial about that and also what ide or other setup the other people use for this. sorry for begginer question and thanks for attention. there is an old tutorial that could still be useful to read:
Then I would look to some of the small modules (e.g., math for exporting functions to kamailio.cfg, alias_db for database interaction and module parameters, ...). You can ask on sr-dev mailing list when you have some questions about the existing C code. I use vim-gui variants (macvim or gvim) most of the time for development, because I got used to it for long time. I would say that these days VSCode would be a good, still simple, ide/code editor -- plenty of extensions for c development. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
-- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com, https://www.csrpswitch.com Tel: +1-706-510-6800
thanks for all reponses that was helpful. Daniel can you share your .vimrc or vim plugins?
On Fri, Jul 4, 2025 at 9:47 AM Alex Balashov via sr-users < sr-users@lists.kamailio.org> wrote:
Beware of these initial confidence boosts, especially when you are not in a great position to judge whether you are, in fact, "surprisingly good" answers.
Not saying LLMs can't help, but they're far and away the most useful as personal accelerators to people who already know what they're doing in a domain and simply want to cut out some tedium, not as a means of learning something deeply for the first time.
-- Alex
On Jul 3, 2025, at 8:05 AM, Martin Nyström via sr-users <
sr-users@lists.kamailio.org> wrote:
I did some playing around with building my own first Kamailio module as
a minor project of mine. I used ChatGPT to get the initial confidence boost and it gave surprisingly good answers and enough to get me started.
/M From: Daniel-Constantin Mierla via sr-users <
sr-users@lists.kamailio.org>
Date: Thursday, 3 July 2025 at 09:45 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Daniel-Constantin Mierla miconda@gmail.com Subject: [SR-Users] Re: kamailio module development setup CAUTION: This email originated from outside the organization. Do not
click links or open attachments unless you recognize the sender and know the content is safe. Hello,
On 02.07.25 19:49, mohsen khashei via sr-users wrote: Hi everyone. I want to start development of an kamailio module. and I am
wondering is the any tutorial about that and also what ide or other setup the other people use for this. sorry for begginer question and thanks for attention.
there is an old tutorial that could still be useful to read:
Then I would look to some of the small modules (e.g., math for exporting
functions to kamailio.cfg, alias_db for database interaction and module parameters, ...).
You can ask on sr-dev mailing list when you have some questions about
the existing C code.
I use vim-gui variants (macvim or gvim) most of the time for
development, because I got used to it for long time. I would say that these days VSCode would be a good, still simple, ide/code editor -- plenty of extensions for c development.
Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions --
sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to
the sender!
-- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com, https://www.csrpswitch.com Tel: +1-706-510-6800
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!