[sr-dev] [kamailio/kamailio] keepalive: added add/del/get/flush rpc commands (#2177)
Daniel-Constantin Mierla
notifications at github.com
Mon Jan 6 18:32:58 CET 2020
miconda commented on this pull request.
> @@ -87,3 +100,137 @@ static void keepalive_rpc_list(rpc_t *rpc, void *ctx)
return;
}
+
+static void keepalive_rpc_add(rpc_t *rpc, void *ctx)
+{
+ str sip_adress = {0,0};
+ str table_name ={0,0};
+ int ret = 0;
+
+ ret = rpc->scan(ctx, "SS",&sip_adress,&table_name);
+
+ if (ret < 2) {
+ LM_ERR("not enough parameters - read so far: %d\n", ret);
I haven't changed this one. The C function name is printed in each log message, being suggestive enough, but if you want to make an update, you can push it to the repo.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2177#discussion_r363398421
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200106/32769573/attachment.html>
More information about the sr-dev
mailing list