ladendirekt / pjsip4net

A wrapper library exposing the pjsip library to the .NET world in a OO-friendly way.
71 stars 42 forks source link

How to Record #118

Open YC946586 opened 3 years ago

siniypin commented 3 years ago

Kindly checkout the following answers: https://github.com/siniypin/pjsip4net/issues/20 https://github.com/siniypin/pjsip4net/issues/28

YC946586 commented 3 years ago

Thank you for your reply, but I still don't quite understand because I'm using yours now pjsip4net.Console The outgoing call was unsuccessful ua.CallManager.CallStateChanged += CallManager_CallStateChanged; //var factory = new CommandFactory(ua, cfg.Container); //factory.Create("?").Execute(); var firstUser = ua.AccountManager.Accounts.First(); //string destUri = string.Format("sip:{0}@{1}", "13036 ", "124.71.224. :5060"); //ua.CallManager.MakeCall(destUri);

        ua.CallManager.MakeCall(firstUser, "1303666 2");

        ua.CallManager.MakeCall(x => x.To("1303666***").At("124.71.***.214").Through("5060").From(firstUser).Call());

I'm sorry that my English level is not good enough to understand