获取Lync模式的标头信息 [英] Get Header Info for Lync Modalities
问题描述
Hi Team,
我需要知道请求类型,即IM请求的模式,桌面共享,音频通话,视频通话等。有人可以为此提供帮助。
I need to know the request type i.e modalities of the SIP request like IM, Desktop Sharing, Audio Call, Video Call, etc.. Can someone help on this.
谢谢&问候,
Srini
推荐答案
如果你看一下SDP部分(那么,sipRequest。 INVITE消息的内容,你会看到一个键/值对m =
if you look at the SDP part (so, sipRequest.Content) of the INVITE message, you'll see a key/value pair m=
m =消息........ - for IM
m=message ........ - for IM
m = audio ........ - for audio
m=audio ........ - for audio
m = video .... .. - 视频
m=video ...... - for video
m =申请...... - 用于应用分享电话
m=application ...... - for app sharing calls
我添加了点,因为实际值更长并包含其他信息。但是,您应该能够使用ContainsString来计算正在发生的事情。
I've added the dots because the actual value is much longer and contains other information. However, you should be able to do a ContainsString to work out what's going on.
-tom
这篇关于获取Lync模式的标头信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!