Hi, I have been using the UCMA api for sometime, however i have not been able to find a solution to the prob below... Would be really glad if someone could help me out...
Using the UCMA api, i have created a bot which can send and receive messages. I have registered an endpoint and subscribed for the OnSessionRecieved event.
When a user x tries to send message to the bot, the OnSessionRecieved Event gets fired. But the question is how do i receive the message which came along with the invite request???
When I saw the ucma client log, i saw the following header
Ms-Text-Format: text/plain; charset=UTF-8;msgr=WAAtAE0ATQBTAC0ASQBNAC0ARgBvAHIAbQBhAHQAOgAgAEYATgA9AE0AUwAlADIAMABTAGgAZQBsAGwAJQAyADAARABsAGcAJQAyADAAMgA7ACAARQBGAD0AOwAgAEMATwA9ADAAOwAgAEMAUwA9ADAAOwAgAFAARgA9ADAACgANAAoADQA; ms-body=Oik=
and on subsequent trials found that the ms-body field should have the actual message which came along with the SIP INVITE, also msgr field as shown above always remained constant...
Can anyone please help me with the algorithm to decrypt the ms-body field???
Any help would be great!
Regards,
Monty