简体   繁体   中英

i want make a call from my local machine to mobile phone via dotnet core and ATAPI library

i want create a app to call to mobile phone via local fax modem i used ATAPI library from nuget package X64 version this is link to nuget : ATAPI and this is my Code :

        TapiManager manager = new TapiManager("telephone");
        manager.Initialize();
        TapiProvider tapiProvider = manager.Providers[2];
        manager.NewCall += Manager_NewCall;
        TapiLine line = manager.Lines[manager.Lines.Length - 1];
        
        line.Open(MediaModes.DataModem);
        ITapiCall call = line.MakeCall("MYMOBILENUMBER");

destination mobile number was ring but application throw exception

System.PlatformNotSupportedException: 'Operation is not supported on this platform.'

how i fix that or help to me i can do that with any library or any method that work easy

thanks

Atapi Only work On Classic .net ... i Switch my project to .net 4.8 and Worked ...

another library that i can use is TapiEX

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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