cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays

Connected event isn't unique

20
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: koen bekaert on 01-06-2009 01:27:33 PM
Hi,
 
Is it possible to know which user / phone is connected with an incoming call?
Let me explain:
 
phone A: 1005
phone B: 1006 has a shared line of 1005 under softkey 2
 
incoming call on 1005, CTI-manager will send several events to our application, one of them is the connect from both phones! because of the fact that you have the shared line.
 
if user on phone B has taken the call we don't get a "real phone connect event".
 
Does anyone knows how to trigger this kind of event? Can it be done via CTI / TAPI or do we have to use AXL instead?
 
thanks

Subject: RE: Connected event isn't unique
Replied by: David Staudt on 01-06-2009 03:39:04 PM
The TAPI Developer Guide (I'm looking at the v7.0(1)) includes a complete message sequence chart for a similar shared line scenario - this should detail all the events and relevant fields available to the app.  There are no 'additional' events that require extra configuration, etc.
 
For the line appearance that actuallly answers the call, you would see:
 
LINE_CALLSTATE
hDevice=hCall-1
dwCallbackInstance=0
dwParam1=CONNECTED
dwParam2=ACTIVE
dwParam3=0
 
For the shared line, you would also get an event:
 
LINE_CALLSTATE
hDevice=hCall-2
dwCallbackInstance=0
dwParam1=CONNECTED
dwParam2=INACTIVE
dwParam3=0
 
Note the shared line which does not answer the call has dwParam2=INACTIVE
Content for Community-Ad

This widget could not be displayed.