Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TAPISRV and TAPI32 not communicating

14 views
Skip to first unread message

Mark

unread,
Dec 21, 2009, 4:50:01 AM12/21/09
to
Hi there.

I am having a problem with a site using a Panasonic TDE with the very latest
drivers (3.3.0.8)

One of the most important functions in my app is lineRedirect. I call it on
most calls arriving in the TDE, for a call distribution type scenario.

My problem is that randomly I stop receiving spontaneous events after a call
to lineRedirect. I get the LINE_REPLY, and subsequent LINE_REPLYs as
applicable, but I get no further events such as callinfo or callstate events.

I have enabled the logs in TAPI ( and the TSP for that matter ) and I can
see that the data from the TSP is going in to TAPISRV but it isnt coming out
of TAPI32 ?

ie I normally see the following type of line
[1976] 16:44:46:515: [INFO ] Calling app's callback, hDev=x125d1, Msg=2,
dwInst=x151b3a8 P1=x2000, P2=x0 P3=x0

But these stop. My app then calls the lineRedirect again and after 2
attempts TAPISRV crashes.

Any ideas ?

This is on Win2K3 SP2.

I have this app installed in hundreds of locations, this only seems to be
happening at this one site. I have tried 3 different PCs, including one with
2008, and also 3 or 4 different versions of the Panasonic TSP.

Regards

Mark

Andreas Marschall [exMVP TAPI]

unread,
Dec 21, 2009, 5:13:34 AM12/21/09
to
"Mark" <Ma...@discussions.microsoft.com> schrieb im Newsbeitrag
news:91D7B1E3-CB11-4B9C...@microsoft.com...

> I am having a problem with a site using a Panasonic TDE with the very
> latest
> drivers (3.3.0.8)
>
> One of the most important functions in my app is lineRedirect. I call it
> on
> most calls arriving in the TDE, for a call distribution type scenario.
>
> My problem is that randomly I stop receiving spontaneous events after a
> call
> to lineRedirect. I get the LINE_REPLY, and subsequent LINE_REPLYs as
> applicable, but I get no further events such as callinfo or callstate
> events.

Mark,
what if you run another TAPI app (e.g. MS TAPI Browser TB20) in parallel?
Does it get the events that your app is missing?


> I have enabled the logs in TAPI ( and the TSP for that matter ) and I can
> see that the data from the TSP is going in to TAPISRV but it isnt coming
> out
> of TAPI32 ?
>
> ie I normally see the following type of line
> [1976] 16:44:46:515: [INFO ] Calling app's callback, hDev=x125d1, Msg=2,
> dwInst=x151b3a8 P1=x2000, P2=x0 P3=x0

Any [Error] entries in TAPISRV or TAPI32 logs?


> But these stop. My app then calls the lineRedirect again and after 2
> attempts TAPISRV crashes.

Any additional info about the crashes?
What do the Application Popup entries in System EventLog say?


> This is on Win2K3 SP2.
>
> I have this app installed in hundreds of locations, this only seems to be
> happening at this one site. I have tried 3 different PCs, including one
> with
> 2008, and also 3 or 4 different versions of the Panasonic TSP.

Please clarify:
does this issue occur in all mentioned configuatsions at this site,
i.e. is it present on all different PCs, all different OS, all different TSP
versions?

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

Mark

unread,
Dec 21, 2009, 8:34:01 AM12/21/09
to
Hi Andreas,

Tried running TB20 and also Julmar Phone at the same time, they get the same
lack of events.

Mark

> .
>

Andreas Marschall [exMVP TAPI]

unread,
Dec 21, 2009, 1:26:05 PM12/21/09
to
"Mark" <Ma...@discussions.microsoft.com> schrieb im Newsbeitrag
news:2803EDD2-3217-423E...@microsoft.com...

> Hi Andreas,
>
> Tried running TB20 and also Julmar Phone at the same time, they get the
> same
> lack of events.

Mark,
ok, so regarding missing events it doesn't seem to be an issue with your
code.

What about my other questions in my previous reply?

Mark

unread,
Dec 21, 2009, 5:49:01 PM12/21/09
to
Hi Andreas,

Sorry about that - my replies are in-line

"Andreas Marschall [exMVP TAPI]" wrote:

> "Mark" <Ma...@discussions.microsoft.com> schrieb im Newsbeitrag
> news:91D7B1E3-CB11-4B9C...@microsoft.com...
> > I am having a problem with a site using a Panasonic TDE with the very
> > latest
> > drivers (3.3.0.8)
> >
> > One of the most important functions in my app is lineRedirect. I call it
> > on
> > most calls arriving in the TDE, for a call distribution type scenario.
> >
> > My problem is that randomly I stop receiving spontaneous events after a
> > call
> > to lineRedirect. I get the LINE_REPLY, and subsequent LINE_REPLYs as
> > applicable, but I get no further events such as callinfo or callstate
> > events.
>
> Mark,
> what if you run another TAPI app (e.g. MS TAPI Browser TB20) in parallel?
> Does it get the events that your app is missing?
>

Same with other apps at the same time

>
> > I have enabled the logs in TAPI ( and the TSP for that matter ) and I can
> > see that the data from the TSP is going in to TAPISRV but it isnt coming
> > out
> > of TAPI32 ?
> >
> > ie I normally see the following type of line
> > [1976] 16:44:46:515: [INFO ] Calling app's callback, hDev=x125d1, Msg=2,
> > dwInst=x151b3a8 P1=x2000, P2=x0 P3=x0
>
> Any [Error] entries in TAPISRV or TAPI32 logs?
>

I have found the following in TAPI32.log

[388] 16:44:46:343: [ERROR] GetFunctionIndex: function 76E63641 mapped to
index 10.
[388] 16:45:45:654: [ERROR] DoFunc: rpcException # 1726

and in TAPISRV.log

[788] 16:41:58:441: [ERROR] CompletionProcSP: bad dwRequestID=x11f1f
[788] 16:44:10:953: [ERROR] CompletionProcSP: bad dwRequestID=x108c4
[788] 16:44:36:953: [ERROR] CompletionProcSP: bad dwRequestID=x11142
[788] 16:44:56:952: [ERROR] CompletionProcSP: bad dwRequestID=x11e93

>
> > But these stop. My app then calls the lineRedirect again and after 2
> > attempts TAPISRV crashes.
>
> Any additional info about the crashes?
> What do the Application Popup entries in System EventLog say?
>

I have the crash info from the Panasonic TSP and Windows Event Log

This is from the Panasonic log - from a different day but always the same

[12:16:2009][18 56 14 844] //===================Exception
Report==================================
[12:16:2009][18 56 14 844] FunctionThreadName = TAPIServerThread Exception
code: C0000005 ACCESS_VIOLATION
[12:16:2009][18 56 14 844] Fault address: 4B641628 01:00000628
c:\windows\system32\tapisrv.dll
[12:16:2009][18 56 14 860]
Registers:
[12:16:2009][18 56 14 860] EAX:01635D34 EBX:00000001 ECX:00000000
EDX:00000000 ESI:005622D8 EDI:005622E4
[12:16:2009][18 56 14 860] CS:EIP:001B:4B641628
[12:16:2009][18 56 14 860] SS:ESP:0023:0070FF7C EBP:0070FF88
[12:16:2009][18 56 14 860] DS:0023 ES:0023 FS:003B GS:0000
[12:16:2009][18 56 14 860] Flags:00010202
[12:16:2009][18 56 14 860]
Call stack:
[12:16:2009][18 56 14 875] Address Frame Logical addr Module
[12:16:2009][18 56 14 875] 4B641628 0070FF88 0001:00000628
c:\windows\system32\tapisrv.dll
[12:16:2009][18 56 14 875] 4B64151C 0070FFB8 0001:0000051C
c:\windows\system32\tapisrv.dll
[12:16:2009][18 56 14 875] 77E6482F 0070FFEC 0001:0002382F
C:\WINDOWS\system32\kernel32.dll
[12:16:2009][18 56 14 875]


>
> > This is on Win2K3 SP2.
> >
> > I have this app installed in hundreds of locations, this only seems to be
> > happening at this one site. I have tried 3 different PCs, including one
> > with
> > 2008, and also 3 or 4 different versions of the Panasonic TSP.
>
> Please clarify:
> does this issue occur in all mentioned configuatsions at this site,
> i.e. is it present on all different PCs, all different OS, all different TSP
> versions?
>

Yes this issue occurs on all configurations - is the TAPISRV.DLL actually
any different between the different OS versions ?

> --
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
> TAPI / TSP Developer and Tester
> My TAPI and TSPI FAQ:
> http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> My Toto® Tools (a collection of free, mostly TAPI related tools):
> http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
> TAPI development around the world (Frappr! map):
> http://www.frappr.com/TAPIaroundTheWorld
> * Please post all messages and replies to the newsgroup so all may
> * benefit from the discussion. Private mail is usually not replied to.
> * This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>

> .
>

0 new messages