[sr-dev] git:master:8b2ca173: modules/ims_registrar_pcscf: incorrect flag when searching for pcontact

jaybeepee jason.penton at gmail.com
Mon Jun 6 11:32:51 CEST 2016


Module: kamailio
Branch: master
Commit: 8b2ca1737640b5d860f4bf959a9c663c61aa05b1
URL: https://github.com/kamailio/kamailio/commit/8b2ca1737640b5d860f4bf959a9c663c61aa05b1

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-06-06T11:31:51+02:00

modules/ims_registrar_pcscf: incorrect flag when searching for pcontact

---

Modified: modules/ims_registrar_pcscf/notify.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8b2ca1737640b5d860f4bf959a9c663c61aa05b1.diff
Patch: https://github.com/kamailio/kamailio/commit/8b2ca1737640b5d860f4bf959a9c663c61aa05b1.patch

---

diff --git a/modules/ims_registrar_pcscf/notify.c b/modules/ims_registrar_pcscf/notify.c
index c23e4b2..67542a9 100644
--- a/modules/ims_registrar_pcscf/notify.c
+++ b/modules/ims_registrar_pcscf/notify.c
@@ -176,7 +176,7 @@ int process_contact(udomain_t * _d, int expires, str contact_uri, int contact_st
         LM_DBG("Setting received port in search to %d\n", ci.received_port);
         ci.received_proto = received_proto;
         LM_DBG("Setting received proto in search to %d\n", ci.received_proto);
-        ci.searchflag = (1 << SEARCH_RECEIVED);
+        ci.searchflag = SEARCH_RECEIVED;
     } else {
         LM_DBG("Contact in NOTIFY does not have an alias....\n");
     }




More information about the sr-dev mailing list