使用应用程序端点(UCMA)注册来电(Register for incoming calls with application endpoint (UCMA))

编程入门 行业动态 更新时间:2024-10-22 04:48:58
使用应用程序端点(UCMA)注册来电(Register for incoming calls with application endpoint (UCMA))

我创建了一个信任应用程序,它有sip:you@domain.com作为端点联系人。 我正在使用UCMA SDK中的UCMASampleHelper来创建和建立我的应用程序端点,这似乎没有任何例外。

但是当我在做的时候

applicationEndpoint.RegisterForIncomingCall<AudioVideoCall>(AVCallReceived);

在调试中运行应用程序,并尝试调用sip地址,不会触发AVCallReceived。

谁能告诉我出了什么问题? Lync客户端正在尝试发出呼叫,但该事件从未被触发。

编辑:这是一个代码示例http://pastebin.com/wyHAhQuU

I have created a trust application, which have sip:you@domain.com as endpoint contact. I'm using the UCMASampleHelper from the UCMA SDK to create and establish my app endpoint, which seems to work without any exceptions.

But when I'm doing

applicationEndpoint.RegisterForIncomingCall<AudioVideoCall>(AVCallReceived);

running the application in debug, and trying to call the sip address, the AVCallReceived isn't fired.

Anyone that can tell me what's going wrong?? Lync client is trying to place a call, but the event is never fired.

EDIT: Here is a code sample http://pastebin.com/wyHAhQuU

最满意答案

找到了解决方案。 使用ApplicationEndpoint创建一个UserEndpoint,在构造函数中传递sip uri,然后在UserEndpoint对象上注册调用。

Found the solution. Creating a UserEndpoint with the ApplicationEndpoint sip uri passed in the constructor, and then register for calls on the UserEndpoint object.

更多推荐

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

发布评论

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

>www.elefans.com

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