<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>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:</p>
<p> - <a
href="https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination">https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#dev-add_destination</a></p>
<p>So try to provide a 2nd string parameter that can be any value,
for example you can use "config".</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 08.08.20 08:54, sagar malam wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEZuF3u_Z-Q1DTemPj=87RKab5L6Ldshh0pNW=7yH1Kbs2pJ3g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello </div>
<div><br>
</div>
I want to use ka_add_destination function of KA module but i am
getting this error : <br>
[root@SBC-4-1] kamailio -c -f
/usr/local/etc/kamailio/kamailio.cfg<br>
loading modules under config path:
/usr/local/lib64/kamailio/modules/<br>
0(48016) ERROR: <core> [core/cfg.y:3451]: yyparse(): cfg.
parser: failed to find command ka_add_destination (params 1)<br>
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?<br>
<br>
I know that 5.3.3 version does not support this function but
5.4.0 should as per documentation : <br>
<a
href="https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination"
moz-do-not-send="true">https://kamailio.org/docs/modules/5.4.x/modules/keepalive.html#keepalive.ka_add_destination</a><br>
<br>
Keepalive module is compiled and loaded in cfg.<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Thanks,
<div><br>
</div>
<div>Sagar</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>