Module: kamailio
Branch: master
Commit: 282cb4395b5c31476f97a168f509b2904727e88a
URL:
https://github.com/kamailio/kamailio/commit/282cb4395b5c31476f97a168f509b29…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2017-11-09T15:11:03Z
usrloc: copy server_id when updating contact in memory
---
Modified: src/modules/usrloc/ucontact.c
---
Diff:
https://github.com/kamailio/kamailio/commit/282cb4395b5c31476f97a168f509b29…
Patch:
https://github.com/kamailio/kamailio/commit/282cb4395b5c31476f97a168f509b29…
---
diff --git a/src/modules/usrloc/ucontact.c b/src/modules/usrloc/ucontact.c
index 54cac0e4e0..a43c5c6c00 100644
--- a/src/modules/usrloc/ucontact.c
+++ b/src/modules/usrloc/ucontact.c
@@ -308,6 +308,7 @@ int mem_update_ucontact(ucontact_t* _c, ucontact_info_t* _ci)
_c->last_keepalive = _ci->last_modified;
_c->flags = _ci->flags;
_c->cflags = _ci->cflags;
+ _c->server_id = _ci->server_id;
_c->tcpconn_id = _ci->tcpconn_id;
return 0;