Hi,
I was wondering whether there is some kind of documentation of all functions currently exported for KEMI by Kamailio modules. I know I can find them somehow via grep, but I could not find a page in the Kamailio wiki listing all of them. Is there any?
Best Regards, Sebastian
Hello,
somehow this discussion (about how to document kemi functions) was postponed, had it in mind to do it after summer holidays. Couple of options can be on the table:
- plug it inside the exiting readmes, as most of them are one-to-one relation
- have dedicated section either in readme or a dedicated tutorial/wiki
- have a way to autogenrate it via some template system
Anyhow, at this moment, besides searching the code, you can get the list of available Kemi functions by RPC commands, e.g., for lua:
- http://www.kamailio.org/docs/modules/5.1.x/modules/app_lua.html#app_lua.r.ap...
You get the module+name of functions and the types of parameters. Then should be easily mapped to existing kamailio.cfg functions by name+parameters. When kamailio.cfg function can have optional parameters, kemi api has few variants of it to cover those options.
One thing: KSR.pv and KSR.x packages are now exported by each kemi module, so may not appear in the rpc list.
Cheers, Daniel
On 17.08.17 18:36, Sebastian Damm wrote:
Hi,
I was wondering whether there is some kind of documentation of all functions currently exported for KEMI by Kamailio modules. I know I can find them somehow via grep, but I could not find a page in the Kamailio wiki listing all of them. Is there any?
Best Regards, Sebastian
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users