Re: Avaya
- From: "Grant Schenck" <schenckg@xxxxxxxxxxxxx>
- Date: Tue, 7 Feb 2006 09:38:01 -0500
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
Helloto
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
a .net app that will populate a screen of information for the end user.to
I am trying to use the Avaya sdk and their associated .dll's and Library
make this happen. I was hoping to use VB6, VB.net. I plan to use theirget
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
the correct permissions (?) to get the application to work properly.the
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
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.Info
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
State)============================================================================
====================
*** EVENT : LINECALLBACK ***----------------------
--------------------------------------------------------------------------
l_hDevice = 65686.Info
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
State)============================================================================
====================
*** EVENT : LINECALLBACK ***----------------------
--------------------------------------------------------------------------
l_hDevice = 66114.Info
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
State)============================================================================
====================
*** FUNCTION : lineSetStatusMessages ***----------------------
--------------------------------------------------------------------------
lineSetStatusMessages ran. SUCCESSLINEDEVSTATE_OTHER,LINEDEVSTATE_RINGING,LINEDEVSTATE_CONNECTED,LINEDEVSTATE_
l_Line = 65887.
l_LineStates = 2097151.
l_LineStates =
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)LINEADDRESSSTATE_OTHER,LINEADDRESSSTATE_DEVSPECIFIC,LINEADDRESSSTATE_INUSEZE
l_AddrStates = 511.
l_AddrStates =
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.
.
- References:
- Avaya
- From: JimS
- Avaya
- Prev by Date: Re: Of tranfers and calleventcauses-
- Next by Date: Re: Idivert to voicemail
- Previous by thread: Avaya
- Next by thread: Re: Avaya
- Index(es):
Relevant Pages
|