[sr-dev] [kamailio/kamailio] TOPOS/REDIS : returning unexpected 481 not found after 4 minutes (#1848)

Julien Chavanton notifications at github.com
Tue Feb 12 17:27:39 CET 2019


Maybe the regression is in this commit

```
commit e712d32f9304f95b5b19b26905546b4af700298f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Mar 2 16:40:41 2017 +0100

    topos_redis: update fields and reduce expires for termintated dialogs

diff --git a/src/modules/topos_redis/topos_redis_storage.c b/src/modules/topos_redis/topos_redis_storage.c
index 08ead91..100e823 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -267,7 +267,7 @@ int tps_redis_insert_dialog(tps_data_t *td)
 
        rrpl = _tps_redis_api.exec_argv(rsrv, argc, (const char **)argv, argvlen);
        if(rrpl==NULL) {
-               LM_ERR("failed to execute expireredis command\n");
+               LM_ERR("failed to execute expire redis command\n");
                if(rsrv->ctxRedis->err) {
                        LM_ERR("redis error: %s\n", rsrv->ctxRedis->errstr);
                }
@@ -386,7 +386,7 @@ int tps_redis_insert_branch(tps_data_t *td)
        argvlen[argc] = rkey.len;
        argc++;
 
-       lval = (unsigned long)_tps_api.get_dialog_expire();
+       lval = (unsigned long)_tps_api.get_branch_expire();
        if(lval==0) {
                return 0;
        }
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1848#issuecomment-462829275
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190212/f59d3efd/attachment-0001.html>


More information about the sr-dev mailing list