Stefano Pranzo Posted October 27, 2016 #1 Share Posted October 27, 2016 Hi, I would like to know if there is a way to receive an event, or other kind of method to retrieve the updates to the active calls status or if the only possible way to find it is to compare the collections using a timed trigger Thank you Stefano Pranzo Link to comment Share on other sites More sharing options...
Tom Wellige Posted October 27, 2016 #2 Share Posted October 27, 2016 Hi Stefano, yes, there is an easy way to register an event sink. On top of this page you will find a SwyxIt! Development subforum linked. In there you will find a Useful Link Collection post. This post contains lots of examples being available either on the Swyx website or here in the forum. The list contains the How to execute any command on incoming call example, which shows you how to do it. Furthermore the Client SDK itself comes with documentation and also lots of examples. Link to comment Share on other sites More sharing options...
Stefano Pranzo Posted October 28, 2016 Author #3 Share Posted October 28, 2016 Thank you. I go now to see Stefano Link to comment Share on other sites More sharing options...
eAlacali Posted April 21, 2017 #4 Share Posted April 21, 2017 HI, i have create a statusbar with all user (shows me status) i iterate the UserPhoneBookEnum and check status and with graphics i panint my status bar like-> .... UserPhoneBookEnum userPhoneBookEnum = libManager.GetUserPhoneBookEnum(); foreach (PBXPhoneBookEntry entry in userPhoneBookEnum.GetPBXPhoneBook("%", true, true)) ...... to get actual status i had an timer with a 3 second interval that means every 3 seconds i iterate my PhoneBookEnum and paint the new status.. this works very well.. My question is there any Event which is fired if status of any user is changed? then i have only to paint new if event is fired? I use IpPbxCDSClientLib.ll and we have the NetPhone 10.40.2513 version. Auf Deutsch :-) Ich gehe alle 3 Sekunden die PhoneBookEnum durch und checke den Status der Benutzer, dieser wird dann als Statusleiste gemalt, gibt es eine Event das gefeuert wird wenn sich ein Status eines Users ändert? Thanks for help Link to comment Share on other sites More sharing options...
eAlacali Posted April 27, 2017 #5 Share Posted April 27, 2017 FYI I don t use the CDS anymore..i use now the ClientSDK and there are the WM_LineMgrNotification, this helped me out..i can use events and so on. thats ok Link to comment Share on other sites More sharing options...
Ahmed Posted January 18, 2019 #6 Share Posted January 18, 2019 Hi eAlacali, Can you please give more details about the WM_LineMgrNotification. Where we can find it? How can we use it to get all user status? Thank you Link to comment Share on other sites More sharing options...
eAlacali Posted January 21, 2019 #7 Share Posted January 21, 2019 hi, this my code clmgr = new ClientLineMgrClass();//PubCLMgrNameKeyStateChangedMessage clConfig = (ClientConfig)clmgr.ClientConfig; clmgr.DispOnLineMgrNotification += Clmgr_DispOnLineMgrNotification; then the event vor clmgr -> private void Clmgr_DispOnLineMgrNotification(int msg, int param) { //msg 9 State changed // Note: There's no enum for message types in the typelib, therefore we // have to use integer directly switch (msg) { case 9: //PubCLMgrNameKeyStateChangedMessage //< notification about changed namekey state\n //< lParam: index of namekey that has new state { OnLineStateChanged();//is my own void break; } } } possible cases: Case PubCLMgrLineStateChangedMessage Case PubCLMgrLineSelectionChangedMessage Case PubCLMgrLineDetailsChangedMessage Case PubCLMgrCallDetailsMessage Case PubCLMgrServerDownMessage Case PubCLMgrServerUpMessage Case PubCLMgrWaveDeviceChanged Case PubCLMgrGroupCallNotificationMessage Case PubCLMgrClientShutDownRequest Case PubCLMgrNameKeyStateChangedMessage Case PubCLMgrNumberOfLinesChangedMessage Case PubCLMgrClientShutDownRequest Case PubCLMgrPowerSuspendMessage Case PubCLMgrPowerResumeMessage Case PubCLMgrHandsetStateChangedMessage Here you will find also some help https://www.swyx.com/products/support/knowledge-base/article-details/swyxknowledge/kb2636/ Moderator Edit 08.09.2023: here is a working version of the above broken link: https://service.swyx.net/hc/en-gb/articles/360011686580-INFO-SwyxIt-Client-SDK Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.