Module: kamailio
Branch: master
Commit: d515c93a5c9c9eb920f001d04870dc6333ca60dd
URL:
https://github.com/kamailio/kamailio/commit/d515c93a5c9c9eb920f001d04870dc6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-02T14:29:53+02:00
usrloc: fixed missing symbol for ul_cseq_delay
---
Modified: src/modules/usrloc/urecord.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d515c93a5c9c9eb920f001d04870dc6…
Patch:
https://github.com/kamailio/kamailio/commit/d515c93a5c9c9eb920f001d04870dc6…
---
diff --git a/src/modules/usrloc/urecord.c b/src/modules/usrloc/urecord.c
index faddeac91a..8e5258bfae 100644
--- a/src/modules/usrloc/urecord.c
+++ b/src/modules/usrloc/urecord.c
@@ -44,7 +44,7 @@
/*! contact matching mode */
int ul_matching_mode = CONTACT_ONLY;
/*! retransmission detection interval in seconds */
-int cseq_delay = 20;
+int ul_cseq_delay = 20;
/*!
* \brief Create and initialize new record structure
@@ -801,7 +801,7 @@ int get_ucontact(urecord_t* _r, str* _c, str* _callid, str* _path, int
_cseq,
return -1;
if (_cseq==ptr->cseq) {
ul_get_act_time();
- return (ptr->last_modified+cseq_delay>ul_act_time)?-2:-1;
+ return (ptr->last_modified+ul_cseq_delay>ul_act_time)?-2:-1;
}
}
*_co = ptr;