CallStateChanged not firing in winform C# app

Aug 9, 2012 at 8:45 PM

Hello,

I am trying to log all calls in monitor mode to a file, but CallStateChanged never fired even active calls are going on.

Using x64 win7. works fine in x86 win7. any clues?

code snippet

 

foreach(TapiLine line in _mgr.Lines) {

line.Monitor();
                line.CallStateChanged += new EventHandler<CallStateEventArgs>(line_CallStateChanged);

}
Coordinator
Aug 9, 2012 at 11:00 PM
The library only supports x86. Target x86 with the app and it will run 32-bit even on 64-bit Windows.

mark

On Aug 9, 2012, at 2:45 PM, "fadedreamz" <notifications@codeplex.com> wrote:

From: fadedreamz

Hello,

I am trying to log all calls in monitor mode to a file, but CallStateChanged never fired even active calls are going on.

Using x64 win7. works fine in x86 win7. any clues?

code snippet


foreach(TapiLine line in _mgr.Lines) {

line.Monitor();
                line.CallStateChanged += new EventHandler<CallStateEventArgs>(line_CallStateChanged);

}

Aug 10, 2012 at 5:32 PM
Thanks Mark,
It works.

markjulmar wrote:
The library only supports x86. Target x86 with the app and it will run 32-bit even on 64-bit Windows.
mark

On Aug 9, 2012, at 2:45 PM, "fadedreamz" <notifications@codeplex.com> wrote:

From: fadedreamz

Hello,

I am trying to log all calls in monitor mode to a file, but CallStateChanged never fired even active calls are going on.

Using x64 win7. works fine in x86 win7. any clues?

code snippet

foreach(TapiLine line in _mgr.Lines) {

line.Monitor();
                line.CallStateChanged += new EventHandler<CallStateEventArgs>(line_CallStateChanged);

}

 

Aug 16, 2012 at 11:11 PM

Thanks Mark,
I will do that and update the post accordingly.
Great works,