Question:
I've got a problem with a TSP regarding
drop of a conference
call.
The conference
is set up from an established first
call
by using lineSetupTransfer(), lineDial()
and lineCompleteTransfer. After
this I have three call
handles to the first call,
the inquiry call
and the conference
call.
The calls have call
states CONFERENCED (first call),
CONFERENCED (inquiry call)
and CONNECTED (conference
call).
When I want to drop the conference
I make lineDrop(hConfCall). I then
expect three IDLE to come. In this
case only one (first call)
or, in some cases, two (first and
conference
call)
IDLE come. It is then hard to decide
if the conference
is really dropped. One way of course
is not to count IDLE and instead
rely on the LINE_REPLY success message.
Anybody that has a better idea?
An extension to this question
is: is it safe to trust a LINE_REPLY
success message instead of checking
the expected LINE_CALLSTATE?
Answer:
Your expectation that all three
call handles should transit to idle
is correct. If this is not the case
I would regard it as a TSP issue.
Have you reported it to the TSP
manufacturer ?
In addition the dwAddrCapFlags member
of the LINEADDRESSCAPS data structure
may be of interest: LINEADDRCAPFLAGS_CONFDROP
TRUE if lineDrop on a conference
call
parent also has the side effect
of dropping (that is, disconnecting)
the other parties involved in the
conference
call;
FALSE if dropping a conference
call
still allows the other parties to
talk among themselves.
An extension to this question
is: is it safe to trust a LINE_REPLY
- success - - - message instead
of checking the expected LINE_CALLSTATE?
- - This depends entirely on the
TSP that is used.
- - Your expectation that all three
call handles should transit to idle
- is - - correct. - - If this is
not the case I would regard it as
a TSP issue. - - Have you reported
it to the TSP manufacturer ?
- - In addition the dwAddrCapFlags
member of the LINEADDRESSCAPS data
- structure - - may be of interest:
- - LINEADDRCAPFLAGS_CONFDROP -
- TRUE if lineDrop on a conference
call
parent also has the side - effect
of - - dropping (that is, disconnecting)
the other parties involved in the
- - conference
call;
FALSE if dropping a conference
call
still allows - the other - - parties
to talk among themselves.