- Joined
- Sep 27, 2015
- Messages
- 3
- Reaction score
- 0
Hi!
My 3CX PBX has version 14, 3CXPhone is v14 (14.0.44241.523). I've downloaded recent example from here: http://downloads.3cx.com/downloads/misc/CallTriggerCmdPlugin.zip
I stopped 3CXPhone, copied files (replacing existing) to 3CXPhoneDir\PhoneApp:
3CXPhoneDir\PhoneApp\CallTriggerCmd.exe --listen, got console waiting for data.
Than I performed a call form another phone to a number which I have registered in my 3CXPhone. But nothing happened. Console still empty. I expected to see some call info written in console. I expected to see some data in log file (which is "c:\Users\MyUser\AppData\Roaming\CallTriggerCmd\Logs\CallTriggerCmd.log", as I see form sources:
Environment.GetFolderPath(specialFolder), @"CallTriggerCmd\Logs" in LogHelper.cs
LogHelper.Log(Environment.SpecialFolder.ApplicationData, "CallTriggerCmd.log"... in CallTriggerCmdPlugin.cs
).
Am I doing something completely wrong? Am I mistaken regarding this API is done for?
My log "AppData\Roaming\3CXPhone for Windows\Logs\3CXPhoneForWindows.log" fragment (this is like a system log of 3CXPhone, I guess, not the same log file as from plugin I told above):
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I suppose this means plugin loaded OK.
Also when I start ProcessExplorer, I see "CallTriggerCmdPlugin" and "CallTriggerCmdServiceProvider" items loaded in tab ".NET Assembles" for process "3CXWin8Phone.exe".
My goal is:
1. Get call events (ringing, answered, ended etc) recorded in my backend system (I know this could be completed reading data directly from PostgreSQLm but I prefer to use public APIs whenever possible);
2. Make some actions on client (not server) side, f.e. display info box about caller info, found in my backend system by caller number.
Any help will be appreciated. Thanks!
My 3CX PBX has version 14, 3CXPhone is v14 (14.0.44241.523). I've downloaded recent example from here: http://downloads.3cx.com/downloads/misc/CallTriggerCmdPlugin.zip
I stopped 3CXPhone, copied files (replacing existing) to 3CXPhoneDir\PhoneApp:
CallTriggerCmd\bin\Release\CallTriggerCmd.exe
CallTriggerCmd\bin\Release\CallTriggerCmd.exe.config
CallTriggerCmd\bin\Release\CallTriggerCmdServiceProvider.dll
CallTriggerCmdPlugin\bin\Release\CallTriggerCmdPlugin.dll
References\MyPhoneCRMIntegration.dll
3CXPhoneDir\PhoneApp\CallTriggerCmd.exe --listen, got console waiting for data.
Than I performed a call form another phone to a number which I have registered in my 3CXPhone. But nothing happened. Console still empty. I expected to see some call info written in console. I expected to see some data in log file (which is "c:\Users\MyUser\AppData\Roaming\CallTriggerCmd\Logs\CallTriggerCmd.log", as I see form sources:
Environment.GetFolderPath(specialFolder), @"CallTriggerCmd\Logs" in LogHelper.cs
LogHelper.Log(Environment.SpecialFolder.ApplicationData, "CallTriggerCmd.log"... in CallTriggerCmdPlugin.cs
).
Am I doing something completely wrong? Am I mistaken regarding this API is done for?
My log "AppData\Roaming\3CXPhone for Windows\Logs\3CXPhoneForWindows.log" fragment (this is like a system log of 3CXPhone, I guess, not the same log file as from plugin I told above):
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[27.09.2015 10:20:55.531][1] Pro only added CallTriggerCmdPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I suppose this means plugin loaded OK.
Also when I start ProcessExplorer, I see "CallTriggerCmdPlugin" and "CallTriggerCmdServiceProvider" items loaded in tab ".NET Assembles" for process "3CXWin8Phone.exe".
My goal is:
1. Get call events (ringing, answered, ended etc) recorded in my backend system (I know this could be completed reading data directly from PostgreSQLm but I prefer to use public APIs whenever possible);
2. Make some actions on client (not server) side, f.e. display info box about caller info, found in my backend system by caller number.
Any help will be appreciated. Thanks!