Stefano Pranzo

receive an event

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Edited by eAlacali

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now