Re: Avaya

Tech-Archive recommends: Fix windows errors by optimizing your registry



Does Avaya provide a native TAPI interface and if so is that what you are
using? I can't tell of the Avaya SDK you refer to is a higher level
encapsulation of the TAPI functions, data and events. If so then obviously
your issues are specific to Avaya and you'll need to work directly with them
(good luck!) If you are able to directly use it from VB6 and VB.NET then
this sounds like a wrapper on top of TAPI (or a proprietary interface.)

If you are directly using their TAPI interface then I'd recommand getting a
copy of the MS TAPI Browser. Andreas' FAQ has links to where to get a copy.
It is a VERY important tool to understand and develop with TAPI. If you
don't have it start with it.
--
Grant Schenck
http://grantschenck.tripod.com

"JimS" <noholycowsspam@xxxxxxxxxxxxxxxxx> wrote in message
news:ORmvg83KGHA.1088@xxxxxxxxxxxxxxxxxxxxxxx
Hello
I am trying to create a program that will allow me to monitor an Avaya IP
Office Call system. I would like to grab an event generated by the phone
(Avaya dll )and grab the caller id and other useful info (target id, user
name, etc) and pass that along to a process. This process pass the info
to
a .net app that will populate a screen of information for the end user.

I am trying to use the Avaya sdk and their associated .dll's and Library
to
make this happen. I was hoping to use VB6, VB.net. I plan to use their
Library and dll in the process for access. I would have access to their
data and then process that info (basically look up customer caller
information) and then pop to the (.net based) screen.

I cannot seem to get the process to work. Since this is my first attempt
with serious TAPI I then tried to use their provided samples. I have
compiled and used their C++ example and the VB application sample from the
SDK. I cannot seem to get these to work properly. I know the call
information is available. It currently will populate a popup of Interrnet
Explorer with the information that I am looking to capture. However
Explorer doesnt seem like the best type of solution for this type of
requirement. Besides it calls up the default search screen for Internet
Explorer.

The C++ (Titled "Real Time Event Monitor") example reports this error:
"There are no more endpoints available from the endpoint mapper. " This
applicaiton should log the events from the Avaya dll to a screen.

The VB example is their TAPI Tester application. I seem to be unable to
get
the correct permissions (?) to get the application to work properly.
Below is a copy of a couple of the functions tests, results from that
process.

I appreciate any information that anyone can provide or experience with
the
same issues. If I am not headed in the right direction ....I would
appreciate anything at this point!
Thanks a bunch!

*** FUNCTION : lineSetCallPrivilege ***
--------------------------------------------------------------------------
----------------------
lineSetCallPrivilege ran. SUCCESS
l_Call = 65735.
l_Priv = 4.
l_Priv = LINECALLPRIVILEGE_OWNER [4]. (Decoded)

============================================================================
====================
*** EVENT : LINECALLBACK ***
--------------------------------------------------------------------------
----------------------
l_hDevice = 65943.
l_dwMessage = 1.
l_dwInstance = 0.
l_dwParam1 = 10240.
l_dwParam2 = 0.
l_dwParam3 = 0.
l_dwMessage = LINE_CALLINFO (Decoded).
l_dwParam1 = LINECALLINFOSTATE_NUMOWNERINCR [ 10240]. (Decoded - Call
Info
State)

============================================================================
====================
*** EVENT : LINECALLBACK ***
--------------------------------------------------------------------------
----------------------
l_hDevice = 65686.
l_dwMessage = 1.
l_dwInstance = 0.
l_dwParam1 = 10240.
l_dwParam2 = 0.
l_dwParam3 = 0.
l_dwMessage = LINE_CALLINFO (Decoded).
l_dwParam1 = LINECALLINFOSTATE_NUMOWNERINCR [ 10240]. (Decoded - Call
Info
State)

============================================================================
====================
*** EVENT : LINECALLBACK ***
--------------------------------------------------------------------------
----------------------
l_hDevice = 66114.
l_dwMessage = 1.
l_dwInstance = 0.
l_dwParam1 = 10240.
l_dwParam2 = 0.
l_dwParam3 = 0.
l_dwMessage = LINE_CALLINFO (Decoded).
l_dwParam1 = LINECALLINFOSTATE_NUMOWNERINCR [ 10240]. (Decoded - Call
Info
State)


============================================================================
====================
*** FUNCTION : lineSetStatusMessages ***
--------------------------------------------------------------------------
----------------------
lineSetStatusMessages ran. SUCCESS
l_Line = 65887.
l_LineStates = 2097151.
l_LineStates =

LINEDEVSTATE_OTHER,LINEDEVSTATE_RINGING,LINEDEVSTATE_CONNECTED,LINEDEVSTATE_
DISCONNECTED,LINEDEVSTATE_MSGWAITON,LINEDEVSTATE_MSGWAITOFF,LINEDEVSTATE_INS
ERVICE,LINEDEVSTATE_OUTOFSERVICE,LINEDEVSTATE_MAINTENANCE,LINEDEVSTATE_OPEN,
LINEDEVSTATE_CLOSE,LINEDEVSTATE_NUMCALLS,LINEDEVSTATE_NUMCOMPLETIONS,LINEDEV
STATE_TERMINALS,LINEDEVSTATE_ROAMMODE,LINEDEVSTATE_BATTERY,LINEDEVSTATE_SIGN
AL,LINEDEVSTATE_DEVSPECIFIC,LINEDEVSTATE_REINIT,LINEDEVSTATE_LOCK,LINEDEVSTA
TE_CAPSCHANGE
[2097151]. (Decoded)
l_AddrStates = 511.
l_AddrStates =

LINEADDRESSSTATE_OTHER,LINEADDRESSSTATE_DEVSPECIFIC,LINEADDRESSSTATE_INUSEZE
RO,LINEADDRESSSTATE_INUSEONE,LINEADDRESSSTATE_INUSEMANY,LINEADDRESSSTATE_NUM
CALLS,LINEADDRESSSTATE_FORWARD,LINEADDRESSSTATE_TERMINALS,LINEADDRESSSTATE_C
APSCHANGE
[511]. (Decoded)


============================================================================
====================
*** FUNCTION : lineGetCallInfo ***
--------------------------------------------------------------------------
----------------------
lineGetCallInfo ran. ERRORS
** >> Error returned : -2147483624 (80000018 hex).
** >> Error text : LINEERR_INVALCALLHANDLE.


============================================================================
====================
*** FUNCTION : lineAnswer ***
--------------------------------------------------------------------------
----------------------
lineAnswer ran. SUCCESS
l_Call = 65735.
s_UserUserInfo = .
l_Size = 0.
lineAnswer Request Identifier = 65957.

============================================================================
====================
*** EVENT : LINECALLBACK ***
--------------------------------------------------------------------------
----------------------
l_hDevice = 0.
l_dwMessage = 12.
l_dwInstance = 0.
l_dwParam1 = 65957.
l_dwParam2 = -2147483624.
l_dwParam3 = 0.
l_dwMessage = LINE_REPLY (Decoded).
l_dwMessage = 65957. (Decoded - Request ID)
LINE_REPLY from lineAnswer ran with errors
** >> Error returned : -2147483624 (80000018 hex).
** >> Error text : LINEERR_INVALCALLHANDLE.









.



Relevant Pages

  • Re: TAPI
    ... if i have Avaya G3PD driver can i write ... Further, i beleive, when TAPI client uses ... Avaya CenterVu CT? ... > extensions on a PBX you need a third party TAPI driver. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Avaya IP Office 403 custom TAPI programming
    ... We use an Avaya IP Office 403 ), ... The Phone Manager software has three flavours to it - Phone Manager Lite; ... By default, when you install Phone Manager, the option to have TAPI is not ... We have developed applications which piggy-back on TAPI service providers, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Tapi 2.1 and Windows 2003 Server
    ... This seems to be an issue on the Avaya side. ... As you can see I have the LINEERR_OPERATIONFAILED error calling lineGetId ... Can you reproduce the issue with TAPI Browser TB20? ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Avaya IP Office v4 transfer problems. Fine in v3.2
    ... Perhaps Avaya has boards available to you that you could also try on? ... If you want you can get the problem to happen using the MS TAPI Browser and ... Avaya need $$$ to investigate the fault with my app. ...
    (microsoft.public.win32.programmer.tapi)
  • abandoned and waiting times from ACD on a call by call basis Siemens HiPath
    ... I have been working on a simple TAPI interface with the Callbridge ... installed yet) the Siemens CAP TAPI CTI software. ... What is the easiest way to get the info from the ACD? ...
    (microsoft.public.win32.programmer.tapi)