Lync 2013阻止来电和即时消息

编程入门 行业动态 更新时间:2024-10-28 07:22:23
本文介绍了Lync 2013阻止来电和即时消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

i试图建立一个脚本来做我需要的工作似乎不起作用....只有user1@contoso应该能够IM和user2@contoso,其他人应该不能IM和user2@contoso,有时几个用户将可以IM或致电用户2 ...所以我需要的是在我的代码中添加一些例外,但我认为我遵循逻辑,但似乎没有工作:(我不知道你能帮我吗?

i tried to build a script to do what i need where i work seems to be not working .... only the user1@contoso supposed to be able to IM theuser2@contoso and the rest supposed to not to be able to IM theuser2@contoso and some times few user will be able to IM or call the user2 ...so what i need is add some exceptions in my code but i think i m following the logic but doesnt seems to be working :( i dont know if you could help me please ?

谢谢

推荐答案

逻辑似乎错了。

The logic there seems wrong.

如果From是user1 如果To是user2 回复200 OK(???) 否则如果收件人是user2 回应486

If From is user1 If To is user2 Respond 200 OK (???) Else If To is user2 Respond 486

看起来你的其他人应该是外部的一部分如果声明,而不是内部声明。

It seems like your else should be part of the outer If statement, not the inner one.

其次,你不应该用200 OK回复。这会阻止请求到达目的地。你应该打电话相反,ProxyRequest,或者如果proxyByDefault为true,那么你可以返回。

Second, you should not be Responding with a 200 OK. This will prevent the request from getting to the destination. You should just call ProxyRequest instead, or if proxyByDefault is true then you can return.

所以我认为它会更好地工作:

So I think it would work better as:

如果To是user2 如果From是user1 ProxyRequest 否则 回应486

If To is user2 If From is user1 ProxyRequest Else Respond 486

更多推荐

Lync 2013阻止来电和即时消息

本文发布于:2023-08-01 20:20:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1271387.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:即时消息   Lync

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!