Incoming Call not calling Callback?

148 views
Skip to first unread message

Nils W

unread,
Nov 16, 2009, 6:46:17 PM11/16/09
to SIPek
Hi, I am trying to write a little client that simply shows a balloon
tooltip on incoming calls.
I have worked through your example and I am able to do calls. However
on incoming calls, I don't get anything.

I have the line
CallManager.IncomingCallNotification += new DIncomingCallNotification
(CallManager_IncomingCallNotification);
in my Constructor

an asynchronous callback

void CallManager_IncomingCallNotification(int sessionId,
string number, string info)
{
// MUST synchronize threads
if (InvokeRequired)
this.BeginInvoke(new DIncomingCallNotification
(OnIncomingCall), new object[] { sessionId, number, info });
else
OnIncomingCall(sessionId, number, info);
}

and the two synchronous callbacks

private void OnStateUpdate(int sessionId)
{
if (outcall != null) textBoxCallState.Text =
outcall.StateId.ToString();

if (incall != null) textBoxCallState.Text =
incall.StateId.ToString();
}

private void OnIncomingCall(int sessionId, string number,
string info)
{
incall = CallManager.getCall(sessionId);
}

I see the call in the log but the program doesn't do anyting...

Nils W

unread,
Nov 17, 2009, 4:25:49 AM11/17/09
to SIPek
Found it: I was using a broken .dll.

epor...@gmail.com

unread,
Aug 9, 2012, 8:03:05 PM8/9/12
to si...@googlegroups.com, nils....@gmail.com
I have the same problem. Can you help me attaching good dll ?
 thanks.

Santi.

ing.juan...@gmail.com

unread,
Oct 16, 2015, 1:33:25 PM10/16/15
to SIPek, nils....@gmail.com
Is not working for me neither. Which is the broken dll that you found and how did you solved it?
Reply all
Reply to author
Forward
0 new messages