Module: kamailio
Branch: master
Commit: 0facb02ddecee62ab31ba9bebdc9980e08294049
URL:
https://github.com/kamailio/kamailio/commit/0facb02ddecee62ab31ba9bebdc9980…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-11-12T12:01:33+01:00
Merge pull request #1309 from kamailio/cchance/usrloc
usrloc: copy server_id when updating contact in memory
---
Modified: src/modules/usrloc/ucontact.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0facb02ddecee62ab31ba9bebdc9980…
Patch:
https://github.com/kamailio/kamailio/commit/0facb02ddecee62ab31ba9bebdc9980…
---
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;