Re: Conferencing mode within Two TAPI applications environment



Hi Andreas,

Could you provide steps for connecting the second incoming call into
conference ?.(with the first call already active)
I have visited your website, but that seems the caller hold the first call
and make outgoing call to have the second call join into conf.

Thanks and Regards,
Jane

"Jane K" <jkjk200411@xxxxxxxxx> wrote in message
news:%23q1bEJwnGHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
Hi Andreas,

Thanks for the help!.

1. What is the correct and safe way to deallocate resources if two TAPI
apps handling the same hCall?.
2. Are two applications sharing the same unique hCall (created by TAPI) or
both Apps have different unique hCall?
3. when is hConfcall and hConsultCall get destroyed? and how? (I don't
seem to get the disconnected event from hConfcall and hConsultCall)
4. What should I do if one of the call (second incoming call) dropped from
the conference? what will happen to hConfCall and hConsultCall if a call
dropped from a 3-party conf call?
5.From your point below, it seems I should only deallocate _all_ calls
after _all_ the calls disconnected. In this case, if the second call which
dropped off earlier (due to some reason)wish to connect back, is it
possible to add the call to the conference again?. If so, how? What will
be the status of hConfCall and hConsultCall at this moment. (note that I
declared hConfcall and hConsultcall as a global variable)

Thanks and Regards,
Jane

"Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx> wrote in
message news:ujlKSpsnGHA.2312@xxxxxxxxxxxxxxxxxxxxxxx
"Jane K" <jkjk200411@xxxxxxxxx> schrieb im Newsbeitrag
news:OsDV1PsnGHA.1076@xxxxxxxxxxxxxxxxxxxxxxx
Hi Andreas,

It's winmobile 5. Unfortunately no TB20 log for it.

Jane,
sorry I'm not very familiar WinMobile 5.

One of the TAPI app is not ours and another TAPI app is written by us.
The sequence is follow:
1. the apps (both receive incoming call and handle the call).
2. Another call come in, it answered by both the apps
3. after connected for the second call, I can hear a short beep where it
is
putting the first call on hold and connecting to the second call
4. After connected event is detected, I proceed with the I call
lineSetCallPrivilege for the second incoming call to be connected into
conf,
but it return LINEERR_INVALCALLHANDLE.
5. I ignore the return error in 4, and proceed to call for
lineSetupConference, this call return LINEERR_INVALCALLHANDLE.
6. Still I ignore error returned in 5 and proceed to call
lineAddToConference which also returned LINEERR_INVALCONFCALLHANDLE
7. Conference successfully indicated by both Apps. (am not sure why,
although it returned error since step 4 above)
8. After all the call disconnected, I called linedrop , and in
linecallstate_idle, I called linedeallocate.

Are all callstates of all callhandles reported as _IDLE ?
If not, please try lineDrop() on all non-idle calls, wait for all _IDLE,
then
lineDeallocateCall() all.


After all is done, my TAPI apps returned LINEDISCONNECTMODE_UNAVAIL.
While
attempt to make outgoing call returned me a message from other tapi apps
"Cannot complete the call. The signal may be unavailable or the phone
number
may not valid", though the line is strong and the number is correct

Any idea?.

Maybe some app doesn't deallocate all callhandles from the previous call.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
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.







.



Relevant Pages

  • Re: Conferencing mode within Two TAPI applications environment
    ... the apps (both receive incoming call and handle the call). ... putting the first call on hold and connecting to the second call ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: recording full conversation into one file
    ... destination phone and the other one will be virtual softphone. ... Please don't forget that creating a conference requires the first call ... A more elegant solution would be to route the call to your TAPI ... I don't know how I can detect voice energy for human sound ...
    (microsoft.public.win32.programmer.tapi)
  • Re: recording full conversation into one file
    ... destination phone and the other one will be virtual softphone. ... call is arrived to physical phone, my program that listens to it, will ... Please don't forget that creating a conference requires the first call ... A more elegant solution would be to route the call to your TAPI ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Problems when removing last party from conference.
    ... I need to be able to use this component on a .Net app. ... they don't have to be free solutions. ... able to do is removing this last party from the conference before ending ... Can you reproduce the issue with TAPI Browser TB3x? ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Problems when removing last party from conference.
    ... conversation with another extension (a 3rd party). ... able to do is removing this last party from the conference before ending ... Can you reproduce the issue with TAPI Browser TB3x? ...
    (microsoft.public.win32.programmer.tapi)

Loading