Updates:
Owner: jean.deruelle
Comment #5 on issue 2439 by jean.deruelle: Extend ProxyExt and ProxyImpl to
support Termination of Session from Proxy
http://code.google.com/p/mobicents/issues/detail?id=2439
Hey Andrew
Can you make all the fields below into a dedicated class so that
readability/maintenance is improved and we know those fields are needed for
Termination only.
For replication, you need to replicate it in readExternal/writeExternal of
ProxyImpl and you can make the class itself Externalizable and store the
fields as String or String arrays only in writeExternal to reduce the
replication traffic to a minimum and reparse the information on
readExternal (I can take care of that latter part if needed)
private LinkedList<Address> calleeRouteSet; // Route set to reach callee
from us.
private LinkedList<Address> callerRouteSet; // Route set to reach caller
from us.
private long callerCSeq; // Last CSeq seen from caller
private long calleeCSeq = 0; // Last CSeq seen from callee (We may never
see one if the callee never sends a request)
private Address calleeContact; // Contact given by the callee in the final
response to the initial INVITE
private Address callerContact; // Contact given by the caller in the
initial INVITE
private To toHeader; // To: header in the direction caller->callee
private From fromHeader; // From: header in the direction
caller->callee