Hello As you will know i am developing new module for Kamailio and i'll commit on main project as soon as. Let me give more news about this module later. But i wanna to share with you one thing, if you were in my shoes, what do you to found out duplicated signalling? I don't mean retransmision messages. Let's go to question: In kamailio, you could get a copy of signalling message that is generated by siptrace module in other one kamailio. We know it would be send some signalling messages twice or more in duplicate( I mean 180Ringing, 200OK or etc), How we could found out them? Actually i must do it in module not do in cfg configuration. Would you please give me a suggest? I really need a sugest with no extra overhead. With regards.Mojtaba
Maybe you could keep a hash with messages’ checksum and discard duplicates? But this is something you should fix on the device that is doing the wrong thing. On Thu, 17 Jan 2019 at 07:03, Mojtaba mespio@gmail.com wrote:
Hello As you will know i am developing new module for Kamailio and i'll commit on main project as soon as. Let me give more news about this module later. But i wanna to share with you one thing, if you were in my shoes, what do you to found out duplicated signalling? I don't mean retransmision messages. Let's go to question: In kamailio, you could get a copy of signalling message that is generated by siptrace module in other one kamailio. We know it would be send some signalling messages twice or more in duplicate( I mean 180Ringing, 200OK or etc), How we could found out them? Actually i must do it in module not do in cfg configuration. Would you please give me a suggest? I really need a sugest with no extra overhead. With regards.Mojtaba _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Hello guys, Sorry for my mistake in subject! "Give me suggestions for module implementation", anyway, Give me suggestions for duplication detection algorithm? With Regards. Mojtaba
Am Samstag, 19. Januar 2019, 10:43:09 CET schrieb Mojtaba:
Sorry for my mistake in subject! "Give me suggestions for module implementation", anyway, Give me suggestions for duplication detection algorithm?
Hello Mojtaba,
just to give you an idea: you can access and store parts of the message in memory with e.g. the htable module. Then you can compare it during the route block with the new incoming message and reject it.
I found this old discussion thread about a similar topic: https://lists.kamailio.org/pipermail/users/2009-February/021906.html
You can of course also implement this in a module, but in this case it would not be necessary.
Maybe this is helpful for your as well.
Best regards,
Henning