[sr-dev] git:master:574b8d6c: modules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)

jaybeepee jason.penton at gmail.com
Fri Feb 12 19:11:57 CET 2016


Module: kamailio
Branch: master
Commit: 574b8d6c2d0897ba69c5eec14775350508ad0778
URL: https://github.com/kamailio/kamailio/commit/574b8d6c2d0897ba69c5eec14775350508ad0778

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-02-12T20:11:19+02:00

modules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)
    - useful if looking for a specific type of UE ie VoLTE vs SIP for example

---

Modified: modules/ims_registrar_scscf/registrar_notify.h

---

Diff:  https://github.com/kamailio/kamailio/commit/574b8d6c2d0897ba69c5eec14775350508ad0778.diff
Patch: https://github.com/kamailio/kamailio/commit/574b8d6c2d0897ba69c5eec14775350508ad0778.patch

---

diff --git a/modules/ims_registrar_scscf/registrar_notify.h b/modules/ims_registrar_scscf/registrar_notify.h
index f3d5ac1..1d83286 100644
--- a/modules/ims_registrar_scscf/registrar_notify.h
+++ b/modules/ims_registrar_scscf/registrar_notify.h
@@ -72,12 +72,14 @@ typedef struct _reg_notification {
     int num_impus;
     
     unsigned int local_cseq;
+    unsigned int reginfo_s_version;
     str call_id;
     str from_tag;
     str to_tag;
     str record_route;
     str sockinfo_str;
     
+    
     struct _reg_notification *next; /**< next notification in the list	*/
     struct _reg_notification *prev; /**< previous notification in the list	*/
 } reg_notification;
@@ -132,7 +134,7 @@ str generate_reginfo_full(udomain_t* _t, str* impu_list, int new_subscription);
 
 str get_reginfo_partial(impurecord_t *r, ucontact_t *c, int event_type);
 
-void create_notifications(udomain_t* _t, impurecord_t* r_passed, str *presentity_uri, str *watcher_contact, str** impus, int num_impus, int event_type);
+void create_notifications(udomain_t* _t, impurecord_t* r_passed, str *presentity_uri, str *watcher_contact, str* impus, int num_impus, int event_type);
 
 void notification_event_process();
 




More information about the sr-dev mailing list