我创建了一个信任应用程序,它有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.
更多推荐
发布评论