-1

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

abbas-h
  • 392
  • 1
  • 4
  • 18

1 Answers1

0

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

another library that i can use is TapiEX

abbas-h
  • 392
  • 1
  • 4
  • 18