Hello,
the documentation is somehow incorrect, the function is exported with two parameters, the second being named owner. By name, I assume it has the purpose as described in the section:
- https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_desti...
So try to provide a 2nd string parameter that can be any value, for example you can use "config".
Cheers, Daniel
On 08.08.20 08:54, sagar malam wrote:
Hello
I want to use ka_add_destination function of KA module but i am getting this error : [root@SBC-4-1] kamailio -c -f /usr/local/etc/kamailio/kamailio.cfg loading modules under config path: /usr/local/lib64/kamailio/modules/ 0(48016) ERROR: <core> [core/cfg.y:3451]: yyparse(): cfg. parser: failed to find command ka_add_destination (params 1) 0(48016) CRITICAL: <core> [core/cfg.y:3592]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1449, column 58: unknown command, missing loadmodule?
I know that 5.3.3 version does not support this function but 5.4.0 should as per documentation : https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_...
Keepalive module is compiled and loaded in cfg.
-- Thanks,
Sagar
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users