Re: can`t ring off while frequently reinitialize output of modem.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 10/02/04


Date: Sat, 2 Oct 2004 18:36:54 +0200


"Sergey Vladyko" <klizardin@fromru.com> schrieb im Newsbeitrag
news:e2q6oH8pEHA.1300@TK2MSFTNGP12.phx.gbl...
> I developing auto caller application. It work by the next scenario: it
> recive a call or ring up somebody, then tells some message into the line,
> then listen to the people`s speach and try to recognize the command to
> continue interaction.
>
> There is a little trouble with this scenario as when somebody ring off
> program still continue interact until it get CS_DISCONNECTED. It tells
> message and then recive hooting signal as a command to recognize, program
> reject it and tell some message.
>
> Here is the bug, when delay between messages or between stream
> initializations ( TAPI "wave/out") is very short, CS_DISCONNECTED never
> arrive.
> I work with streams using ITLegacyCallMediaControl::GetID().
> Is a necessity for delay to allow TAPI or TSP or unimodem to recognize ring
> off? How long is this delay? Is the any decision of this problem ?

Sergey,
I don't know of any reqired delay.
Maybe the problem is your code regarding event handling.
Please check the following: use TAPI Browser TB3x to monitor (not owner) the
same ITAddress that your app is operating on. Register for events and see
whether you get the CS_DISCONNECTED in your sceanrio.
Please post a TB3x log for analysis.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB3x ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_2

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* 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

  • can`t ring off while frequently reinitialize output of modem.
    ... There is a little trouble with this scenario as when somebody ring off ... Is a necessity for delay to allow TAPI or TSP or unimodem to recognize ring ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TE_DETECTTONE in VB
    ... This is the only modem in which is possible to identify called in Brazil. ... Aqui no Brasil o id de chamada é ... Here in Brazil id of call is received before first Ring. ... The TAPI presents functions to catch the CALER ID, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: question about making a call
    ... after the ring has stopped. ... >> I want to use a voice modem to make a phone call and play some wave files. ... > 3) Use other HW that has better call state progression detection. ... > See my TAPI and TSPI FAQ: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: How to process Dailtone Rings...
    ... Mujtaba" wrote in message ... > wait for three ring tones on my PC then print a message "3 Ring ... > When i get call notification, no message is displayed at this stage of ... Please not that this only supported with TAPI 2.x therefore ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Outbound call question
    ... I think I don't understand your scenario completely. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)