Module: kamailio
Branch: 5.0
Commit: 6234a3c73f5311a5e67e20cc13e660d80187b0db
URL:
https://github.com/kamailio/kamailio/commit/6234a3c73f5311a5e67e20cc13e660d…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2017-12-14T09:39:27Z
usrloc: copy server_id when updating contact in memory
(cherry picked from commit 282cb4395b5c31476f97a168f509b2904727e88a)
---
Modified: src/modules/usrloc/ucontact.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6234a3c73f5311a5e67e20cc13e660d…
Patch:
https://github.com/kamailio/kamailio/commit/6234a3c73f5311a5e67e20cc13e660d…
---
diff --git a/src/modules/usrloc/ucontact.c b/src/modules/usrloc/ucontact.c
index 630a4bd8c5..b0a6f046c7 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;