呼叫路由,负载平衡和拒绝呼叫 [英] Call routing, load balancing and declining a call

查看:64
本文介绍了呼叫路由,负载平衡和拒绝呼叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不是一个非常简洁的标题,但问题实际上非常简单。如果我有一个 应用程序在多个服务器上运行以查找故障转移原因,如果某个计算机上的呼叫被路由到某个应用程序并且应用程序
拒绝(Call.Decline)该呼叫, Lync会尝试将该呼叫路由到另一台服务器吗?如果没有办法配置东西以使该方案有效?

Not a very succinct title, but the question is actually pretty easy. If I have an application running on more than one server for fail-over reasons, if a call gets routed to the application on one machine and the application declines (Call.Decline) the call, would Lync try and route that call to the other server? If not is there a way to configure things to make that scenario work?

谢谢,

Mike

 

推荐答案

我不这么认为。 如果您有两个正在运行的应用程序副本,则该联系人有两个已注册的端点。 当有来自该联系人的呼叫时,服务器会将呼叫分叉到两个端点。 让其中一个
端点发回该拒绝,导致服务器拒绝该调用。

I don't think so.  If you have two copies of the application running, then there are two registered endpoints for the contact.  When a call comes in for that contact, then the server will fork the call to both endpoints.  Having one of the endpoints send back the decline, causes the server to reject the call.

(顺便说一下,我假设您在应用程序中有逻辑来处理如果一个端点已经接受,另一个端点也会在尝试接受时收到错误。)

(By the way, I assume that you have logic in the app to handle the case where one endpoint has already accepted and the other will get an error if it tries to accept as well.)

您可以实现一个服务器端app /插件来处理该联系人的来电与其他逻辑并以循环方式尝试端点。但这对您的UCMA应用程序来说是透明的。 不幸的是,SDK中没有这个
的任何样本。 你可以看一下"routing.am"。服务器上的脚本,看看那里发生了什么,也许修改它使用的一个脚本,比如InbondRoutingDefaultScript.xml来做你想做的事。

You could implement a server side app/plugin to handle incoming calls for that contact with other logic and try the endpoints in a round-robin fashion. but that would be transparent to your UCMA app.  Unfortunately, there are not any samples of this in the SDK.  You can look at the "routing.am" script on the server to see what happens there and perhaps modify one of the scripts that it uses like InbondRoutingDefaultScript.xml to do what you want.

我知道一些做过这种类型的项目工作,但很少或没有文件。

I know of some projects that have done this type of work, but there is little or no documentation on it.


这篇关于呼叫路由,负载平衡和拒绝呼叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆