Hi,

Quick question:
Looking at the Dialog module and CSeq tracking functionality, I've noticed the following:
- on the one hand, we are storing the current CSeq for each direction in the Dialog structure
- on the other hand, we are storing a "Delta" of the received vs. updated CSeq as a Dialog Variable

Does replacing the Delta with the CSeq already stored with the Dialog structure make sense?

I am asking because of my latest changes, where there may be more sources for an updated CSeq (e.g., when sending a Request from script within the Dialog) and more use cases for an updated CSeq (Up and Downstream).

I've updated the dialog module for my use already accordingly
https://github.com/kamailio/kamailio/compare/master...carstenbock/dialog_cseq_update

I wanted to hear other opinions and possible pitfalls as well...

Thanks,
Carsten


--
Carsten Bock I CTO & Founder

ng-voice GmbH

Trostbrücke 1 I 20457 Hamburg I Germany
T +49 179 2021244 I www.ng-voice.com

Registry Office at Local Court Hamburg, HRB 120189
Managing Directors: Dr. David Bachmann, Carsten Bock