Not getting session id in xmpp

Hi,

In order to implement OTR security in xmpp chat messenger ,I am facing issue in getting session id ,

Please help me where i get session id?

Regards,

Monika