简体   繁体   English

Xamarin Forms 与 Asterisk 集成

[英]Xamarin Forms and Asterisk integration

I need to develop an application with Xamarin Forms. The application must connect to Asterisk Server.我需要用 Xamarin Forms 开发一个应用程序。该应用程序必须连接到 Asterisk 服务器。 I tried to use AsterNet.ARI library but I have some compatibility error on Droid and iOS projects.我尝试使用AsterNet.ARI库,但我在 Droid 和 iOS 项目上有一些兼容性错误。

Error NU1202 The package Aste.NET.ARI 1.2.1 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0)/win-x86.错误 NU1202 package Aste.NET.ARI 1.2.1 与 xamarinios10 (Xamarin.iOS,Version=v1.0)/win-x86 不兼容。 The package Aste.NET.ARI 1.2.1 support:.net45 (.NETFramework,Version=v4.5) package Aste.NET.ARI 1.2.1 支持:.net45 (.NETFramework,Version=v4.5)
Error NU120 2 The package Aste.NET.ARI 1.2.1 is not compatible with monoandroid80 (Monoandroid,Version=v8.0).错误 NU120 2 package Aste.NET.ARI 1.2.1 与 monoandroid80 (Monoandroid,Version=v8.0) 不兼容。 The package Aste.NET.ARI 1.2.1 support:.net45 (.NETFramework,Version=v4.5) package Aste.NET.ARI 1.2.1 支持:.net45 (.NETFramework,Version=v4.5)

Maybe I must to use another library, but I don't have any idea.也许我必须使用另一个图书馆,但我不知道。 Anyone can help me?任何人都可以帮助我吗? What type of library can I use?我可以使用什么类型的图书馆?

I'm afraid it seems there is no support for the target framework, I would suggest:恐怕似乎不支持目标框架,我建议:

  • try changing either the framework or the library尝试更改框架或库
  • trying to use Netsockets for communication with AMI or managing everything on the ARI.尝试使用 Netsockets 与 AMI 通信或管理 ARI 上的所有内容。

Good luck!祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM