[Devel] [ openser-Feature Requests-1610630 ] Add "pending ACK" info in dialog states, export dialog state

SourceForge.net noreply at sourceforge.net
Fri Dec 15 14:22:06 CET 2006


Feature Requests item #1610630, was opened at 2006-12-07 10:29
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1610630&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bogdan (bogdan_iancu)
Summary: Add "pending ACK" info in dialog states, export dialog state

Initial Comment:
In order to cleanly solve reINVITEs sends before last ACK, a "pending ACK" state should be added to the dialog module (ref in users ML : [Users] ACK and re-INVITE ordering ).

During a dialog, a "Pending ACKs" counter should be incremented in the states structure upon completion of an INVITE transaction, and that same counter should be decremented upon completion of an ACK transaction.

In order to handle properly that feature, I am not sure if CSeq comparison should be used. IMHO, incrementing/decrementing the counter should be enough, and real-world testing will tell us if that's enough.

Furthermore, a function dialog_get_state() should be exported by the dialog module so that information in the state structure would be exported to a list of AVPs. Those AVPs would either have a standard naming scheme (like $avp(s:dialog_foobar) where foobar represent the exported state variable), but that means usage of string (slower) AVPs. In order to optimize this set of AVPs, a module parameter would be needed, so that the user can choose which AVPs will receive the corresponding state variables.

Jérôme Martin
jmartin at longphone.fr

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1610630&group_id=139143



More information about the Devel mailing list