Monitor Extension and show the incoming information

Sep 11, 2015 at 1:22 PM
Hi to all,
This is my First attempt for the Asterix so excuse me for basic questions.
I have manage to Login and I have add the "NewState" event handler
now when the phone ring the NewState triggered
I want to make an app for all Pc's so I make an if statement to see if the CallerIdNum is "mine"
and show it into a winform label

if (e.CallerIdNum == "226")
label1.Text = e.Connectedlinenum;
my problem is that never shows the Connectedlinenum in the label. Just nothing.
Is this the right code?
Should I do something else?

Thanks in advance