diff -r 505ad3f0ce5c -r cdb720e67852 Msrp/MsrpServer/src/CMSRPServerSession.cpp --- a/Msrp/MsrpServer/src/CMSRPServerSession.cpp Sat Jun 12 14:30:11 2010 +0530 +++ b/Msrp/MsrpServer/src/CMSRPServerSession.cpp Thu Nov 25 13:59:42 2010 +0200 @@ -122,8 +122,11 @@ /* First notify the Server so that connections can be started */ iMSRPServer.CreatingSubSessionL( aMessage.Int0() ); + TBuf8< KMaxLengthOfSessionId > messageId; + aMessage.ReadL( 1, messageId ); - CMSRPServerSubSession* subSession = CMSRPServerSubSession::NewL( *this, iMSRPServer.StateFactory()); + CMSRPServerSubSession* subSession = CMSRPServerSubSession::NewL( + *this, iMSRPServer.StateFactory(), messageId ); CleanupStack::PushL(subSession); //check handle doesnt preexist or add current time to handle @@ -175,7 +178,6 @@ aMessage.Panic(KBadHandle,EBadSubsessionHandle); } pHandleObj->Subsession()->ServiceL(aMessage); - }