Account ID or Credentials ID

Status
Not open for further replies.

Gavris Bogdan

Joined
Mar 19, 2018
Messages
2
Reaction score
0
Hy, i have a plugIn app where I try to send the ID of the Account loged in the 3CX Client...
I managed to take the number is calling but I don't find how to take the ID of the Account.
I searched in the CallInformation, IMyPhoneCallHandler, MyPhoneStatus and nothing...
The app is in C# using Visual Studio 2015
 
Hello @Gavris Bogdan,

When you create your plugin, you can subscribe to the following event:
IMyPhoneCallHandler.OnMyPhoneStatusChanged

When you do it, when 3CXPhone starts and successfully logins using your extension, you can get the extension information as follows:
Code:
private void onMyPhoneStatusChanged(object sender, MyPhoneStatus status)
{
  if (status == MyPhoneStatus.LoggedIn)
    extensionInfo = sender as IExtensionInfo;
}

The IExtensionInfo has a property "Number" which you can use to get the extension number.

Is that the information you need?

Kind regards.
 
  • Like
Reactions: Gavris Bogdan
Yes, this it is. Thx for the hint :)
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,473
Latest member
NathanMitchell