Q: Reason for LINEDISCONNECTMODE_NOANSWER



Hi!

I always get in trouble with the callstates used by some TSP's.

The Docs say simply about:
LINEDISCONNECTMODE_NOANSWER
The remote user's station does not answer

I can also read in the LINECALPARAMS docu:
dwNoAnswerTimeout
Number of seconds, after the completion of dialing, that the call should be allowed to wait in the PROCEEDING or RINGBACK states, before it is automatically abandoned by the service provider with a LINECALLSTATE_DISCONNECTED and LINEDISCONNECTMODE_NOANSWER. A value of 0 indicates that the application does not desire automatic call abandonment.


Now this is the reason were I get into trouble:
If I dial a number via lineMakeCall that is not complete (missing last digit) it takes some time and the connection is disconnected and nearly all tapi drivers I checked (4 up to know, elmeg, Alcatel) returned as disconnect reason LINEDISCONNECTMODE_NOANSWER. And I can understand this, because I get no answer. Shouldn't it be LINEDISCONNECTMODE_BADADDRESS (The destination address is invalid)?


But in the case above, when the TSP disconects due to timeout reasons I get a LINEDISCONNECTMODE_NOANSWER too. But the situation is different. In one case had a connection but nobody gets on the phone, in the other case there is no connection at all.

What events should be and are covered by LINEDISCONNECTMODE_NOANSWER.

Would be nice that some guys shed some lights about this.
TIA

--
Martin Richter [MVP] WWJD
"In C we had to code our own bugs. In C++ we can inherit them."
FAQ : http://www.mpdvc.de
Samples: http://www.codeguru.com http://www.codeproject.com
.



Relevant Pages

  • Re: Auto disconnect box
    ... Is OE doing the dialing via Tools, Accounts, Mail, Properties, Connection? ... OE won't give you the prompt unless OE triggered the dialing. ... "Lynn W" wrote in message ... > Disconnect when connection may no longer be needed is 'checked'. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • SOUND DURING DIAL-UP HAS STOPPED
    ... until the connection was established. ... For some reason the ... dialing sounds have stopped. ... I have Windows 98 & IE6 ...
    (microsoft.public.windows.inetexplorer.ie6.setup)
  • Fax keeps dialing
    ... When fax fails to make a connection and I select ... disconnect, about a minute or two later, the fax starts dialing again. ... even after a second disconnect it will dial a third time...then ...
    (microsoft.public.windowsxp.general)
  • Re: Connection icon is gone
    ... During dialing the process is displayed normally, ... >options (in order to disconnect) either restart the PC or uplug the phone ... However the LAN connection icon is visible. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Fixing or REPLACING I.E.6
    ... Also, it may be that your connection setups need to be adjusted, as in, ... been idle while on the Internet. ... This is referred to as the Idle Disconnect ... Download the newest version of HiJackThis here: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)

Loading