Module: sip-router
Branch: master
Commit: 8fdc717ab8b28857e23366804f0668b83971f249
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8fdc717…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Fri Apr 8 16:48:37 2011 +0300
modules_k:siputils Fixed the fixup for ring_insert_callid
---
modules_k/siputils/ring.c | 1 +
modules_k/siputils/ring.h | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/siputils/ring.c b/modules_k/siputils/ring.c
index ed0d478..1ae54b2 100644
--- a/modules_k/siputils/ring.c
+++ b/modules_k/siputils/ring.c
@@ -374,6 +374,7 @@ int ring_filter(struct sip_msg *msg, unsigned int flags, void *bar)
* \return 0
*/
int ring_fixup(void ** param, int param_no) {
+ int ring_timeout = cfg_get(siputils, siputils_cfg, ring_timeout);
if (ring_timeout == 0) {
LM_ERR("ring_insert_callid functionality deactivated, you need to set a positive
ring_timeout\n");
return -1;
diff --git a/modules_k/siputils/ring.h b/modules_k/siputils/ring.h
index 74b35a6..2097f8f 100644
--- a/modules_k/siputils/ring.h
+++ b/modules_k/siputils/ring.h
@@ -38,7 +38,6 @@
extern gen_lock_t *ring_lock;
-extern unsigned int ring_timeout;
/*!