Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rejecting (hanging up) incoming call...

0 views
Skip to first unread message

Dmitry Smirnov

unread,
May 30, 2002, 1:40:48 AM5/30/02
to
Hello,

I have a call in Connected state (and passthrough mode). Using lineDrop() I
may go to Idle state and deallocate call then.
But how to really "hang up" the line? I mean that remote side user should
get BUSY signal. Is it possible?

Thanks in advance.

Dmitry.


Grant Schenck

unread,
May 30, 2002, 8:33:16 AM5/30/02
to
As you mention passthrough mode, I assume you are using modem hardware
and the MS Unimodem TAPI Service Provider.

As far as I know you can't force a BUSY signal to the caller if you
have answered the call. All you can do is drop the call and the other
side should get a LINECALLSTATE_DISCONNECTED but it may take some time
for Unimodem to detect this (if that is what is running on the other
side.)
--
Grant Schenck
Grant Schenck Software
sche...@optonline.net
http://grantschenck.150m.com

"Dmitry Smirnov" <sdm...@src.samsung.ru> wrote in message
news:#aZQvx5BCHA.1880@tkmsftngp04...

Serge

unread,
May 30, 2002, 9:43:59 AM5/30/02
to
Hello, Dmitry.

You wrote on Thu, 30 May 2002 09:40:48 +0400:

> Hello,

> I have a call in Connected state (and passthrough mode).

^^^^^^^^^ ^^^^^^^^^^^


> Using lineDrop() I may go to Idle state and deallocate call then.
> But how to really "hang up" the line? I mean that remote side user should
> get BUSY signal. Is it possible?

WriteFile(hPortHandle, "ATH\r", 4, ...)

If modem is in voice receive/transmit mode, you will need to send <h10><h03>
bytes before.

Best regards
Sergei Polishchuk
www.SoftCab.net


0 new messages