Module: kamailio
Branch: master
Commit: a0a97119bef7671f33734399dc9de4562abae39c
URL:
https://github.com/kamailio/kamailio/commit/a0a97119bef7671f33734399dc9de45…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-09T09:11:06+02:00
usrloc: set tcp connection id to -1 for records added via rpc
- cope properly with the handle_lost_tcp modparam
---
Modified: src/modules/usrloc/ul_rpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a0a97119bef7671f33734399dc9de45…
Patch:
https://github.com/kamailio/kamailio/commit/a0a97119bef7671f33734399dc9de45…
---
diff --git a/src/modules/usrloc/ul_rpc.c b/src/modules/usrloc/ul_rpc.c
index d45a8e2783..6565b07d5c 100644
--- a/src/modules/usrloc/ul_rpc.c
+++ b/src/modules/usrloc/ul_rpc.c
@@ -678,6 +678,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
}
ci.ruid = _ul_sruid.uid;
ci.server_id = server_id;
+ ci.tcpconn_id = -1;
lock_udomain(dom, &aor);