Download Freeswitch,softphones and setup visual studio
Create new solution/project (and install NEventSocket using NuGet)
In Program.cs put this code:
`using Microsoft.Extensions.Logging;
using NEventSocket;
using NEventSocket.FreeSwitch;
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Threading.Tasks;
I was following the Demo https://github.com/iamkinetic/NEventSocket/blob/master/NEventSocket.Examples/Examples/DtmfExample.cs But the program crashes since ChannelData.UUID is null. I am using Freeswitch 1.10.6, with default configuration For the softphones I used MicroSip and PhonerLite the OS is Windows10
To Reproduce Steps to reproduce the behavior:
namespace Test_FSw { class Program { static async Task Main(string[] args) { NEventSocket.Logging.Logger.Configure(new LoggerFactory()); InboundSocket client; client = await InboundSocket.Connect("localhost", 8021, "ClueCon", TimeSpan.FromSeconds(20));
}
`