MyPhoneCRMIntergation.dll events dont work.

Status
Not open for further replies.

vadiliy

Free User
Joined
Jul 1, 2020
Messages
2
Reaction score
0
A few months ago I wrote plugin (C#) for 3cx app for windows v16. It worked fine. But a few weeks ago I found that the plugin stopped working, I did not make absolutely any changes, except that the application was updated. The next events: mvCallHandler.OnCallStatusChanged and mvCallHandler.OnMyPhoneStatusChanged stopped work.
And all of outcoming events like DropCall, MakeCall etc too.
I have a PRO licence. Does anyone know what could be the problem?
The constructor of plugin is initialized, all subscriptions occur correctly.
private Plugin3CX(IMyPhoneCallHandler callHandler)
{
mvCallHandler = callHandler;
mvCallHandler.OnCallStatusChanged += СallHandler_OnCallStatusChanged;
mvCallHandler.OnMyPhoneStatusChanged += MvCallHandlerOnOnMyPhoneStatusChanged;

var callback = new IncomingCallServiceCallback();
callback.StartCall += CallbackOnStartCall;
callback.DropCall += CallbackOnDropCall;
callback.StatusCalled += CallbackOnStatusCalled;

var context = new InstanceContext(callback);

mvIncomingCallChannelFactory = new DuplexChannelFactory<IIncomingCallServiceContract>(context, new NetNamedPipeBinding(NetNamedPipeSecurityMode.None), "net.pipe://localhost/SoftPhone");
var incomingCallService = mvIncomingCallChannelFactory.CreateChannel();

incomingCallService.Ping();
incomingCallService.Connect();
}
 
Last edited:
Check if your plugin is being loaded. Check the file "C:\ProgramData\3CXPhone for Windows\PhoneApp\3CXWin8Phone.user.config" which contains the plugins to load, and it might have been edited with the update...
 
It's loaded I checked. There are 3 type of licences: standart, pro and enterprice. For use api need pro or enterprice. Are there any special options that can which may limit the user to use CRM intragration api? Maybe on server side?
 
Last edited:
You need a PRO or ENT license key activated on the 3CX server. Is this your case?
 
Status
Not open for further replies.

Forum statistics

Threads
112,326
Messages
591,899
Members
165,479
Latest member
Senergia