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

Julien Chavanton notifications at github.com
Tue Feb 12 18:42:50 CET 2019


I found the this code modification was fixing this problem, with ending the dialog when receiving ACK,
there is probably an explanation I do not understand behind all of this, I guess I can propose the modifications that are working for my test and we can clarify more details by doing a review. 

```
--- a/src/modules/topos/tps_msg.c
+++ b/src/modules/topos/tps_msg.c
@@ -1003,7 +1003,8 @@ int tps_request_sent(sip_msg_t *msg, int dialog, int local)
        }
 
        if(dialog!=0) {
-               tps_storage_end_dialog(msg, &mtsd, ptsd);
+               if(get_cseq(msg)->method_id==METHOD_BYE)
+                       tps_storage_end_dialog(msg, &mtsd, ptsd);
                if(tps_storage_update_dialog(msg, &mtsd, &stsd, TPS_DBU_CONTACT)<0) {
                        goto error;
                }
```

-- 
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-462859397
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190212/8a4e919c/attachment.html>


More information about the sr-dev mailing list