• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

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.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.