[SIPSERVLET_SPEC-23] SipSession should include a getOriginalRequest method Created: 25/Oct/12 Updated: 09/Jan/14 Resolved: 09/Jan/14
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
This is currently accomplished by storing the request object as a session attribute. An example of how this would be useful is:
When using a B2BUA and getting a timeout on a PRACK there is no simple way to send a CANCEL to the UAC side of the B2BUA without searching through the message list for the outbound INVITE. Support for getOriginalRequest would simplify the coding of this.
There was some concern about memory consumption expressed when this idea was introduced that will need to be addressed.
|Comment by keith-lewis [ 29/Aug/13 ]|
Current proposal is to add a new method SipSession.getActiveInvite(UAMode mode)
Once an ACK or final error response has been sent/received the INVITE would no longer be considered active allowing the memory footprint of the container to be reduced.