[sr-dev] git:master:0facb02d: Merge pull request #1309 from kamailio/cchance/usrloc

GitHub noreply at github.com
Sun Nov 12 12:01:40 CET 2017


Module: kamailio
Branch: master
Commit: 0facb02ddecee62ab31ba9bebdc9980e08294049
URL: https://github.com/kamailio/kamailio/commit/0facb02ddecee62ab31ba9bebdc9980e08294049

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at 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/0facb02ddecee62ab31ba9bebdc9980e08294049.diff
Patch: https://github.com/kamailio/kamailio/commit/0facb02ddecee62ab31ba9bebdc9980e08294049.patch

---

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;




More information about the sr-dev mailing list