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
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to