
Signature
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.
> Nadav,
> I presume you are using a voice modem with UniModem.TSP?
Yes, the address.ServiceProviderName="unimdm.tsp".
> There is a limitation for voice modems: their hardware doesn't have proper
> call progression detection capabilities in vocie mode, i.e. they simply don't
> detect when the outgoing call has been answered, so UniModem.TSP is generating
> a _CONNECTED blindly after the dialling is complete.
Then how do you use this kind of modem?
I mean, if you can't detect if you got answered or disconnected before you
finished sending the message I can't see what you can do with it.
I checked a TAPI toolkit called CT Messanger that allows you to send a voice
message to a phone and i does seem to recogonize when the phone is answered,
it does not start playing the message under you answer the phone.
Thanks Nadav
Nadav
Andreas Marschall [MVP TAPI] - 27 Jan 2005 08:40 GMT
> > I presume you are using a voice modem with UniModem.TSP?
> Yes, the address.ServiceProviderName="unimdm.tsp".
[quoted text clipped - 4 lines]
> > a _CONNECTED blindly after the dialling is complete.
> Then how do you use this kind of modem?
Nadav,
I haven't recommended to use voice modems.
You may want to look for advanced telephony hardware with better call
progression detection.
> I mean, if you can't detect if you got answered or disconnected before you
> finished sending the message I can't see what you can do with it.
What is this new "disconnected" issue about?
Who says that there is no disconnect detection?
Disconnect is signalled by the CO (e.g. fast busy tone, voltage/curreent drop
etc.).
> I checked a TAPI toolkit called CT Messanger that allows you to send a voice
> message to a phone and i does seem to recogonize when the phone is answered,
> it does not start playing the message under you answer the phone.
Please provide a link for reference.
Maybe this toolkit does additional media stream analysis to detect whether the
call has been actually answered.
Here is another approach with voice modems:
- after _CONNECTED start playing a wave file _repeatedly_ saying something
like "press '1' to continiue"
- monitor DTMF digits to detect the '1' if pressed
- if you detected the '1' then you know that a human answered the call (but
this of course only a sufficient condition not a necessary one).

Signature
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.
Nadav - 27 Jan 2005 09:11 GMT
> Nadav,
> I haven't recommended to use voice modems.
> You may want to look for advanced telephony hardware with better call
> progression detection.
I'm afraid that's not an option. This application will be installed on the
client(s) computer
and the client will NOT pay for advanced telephony hardware (which I assume
is a lot more expensive than a voice modem).
> What is this new "disconnected" issue about?
> Who says that there is no disconnect detection?
> Disconnect is signalled by the CO (e.g. fast busy tone, voltage/curreent drop
> etc.).
The code that I included in my first message does NOT detect when I answer
the phone
and it does NOT detect when I put down the phone handset.
It just stays in CS_CONNECTED state.
Nadav
Andreas Marschall [MVP TAPI] - 27 Jan 2005 10:14 GMT
> > You may want to look for advanced telephony hardware with better call
> > progression detection.
> I'm afraid that's not an option. This application will be installed on the
> client(s) computer
> and the client will NOT pay for advanced telephony hardware (which I assume
> is a lot more expensive than a voice modem).
Yes they are (much) more expensive than voice modems, but also more capable...
> > What is this new "disconnected" issue about?
> > Who says that there is no disconnect detection?
[quoted text clipped - 4 lines]
> and it does NOT detect when I put down the phone handset.
> It just stays in CS_CONNECTED state.
Sure it does not! I haven't said that it does, have I?
You seem to have ignored my questions about your "disconnected" issue and the
reference link, and my statement about media stream analysis and the other
approach with voice modems?!

Signature
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.
Nadav - 28 Jan 2005 05:29 GMT
Hi Andreas,
> You seem to have ignored my questions about your "disconnected" issue and the
> reference link, and my statement about media stream analysis and the other
> approach with voice modems?!
It looks like our company will use the CT Messanger toolkit (
http://www.mintcomponents.com/products_ctm.htm) so the voice modem problems
it don't matter.
I just find it irritating that such basic functionality does not work!
Rhett Gong [MSFT] - 27 Jan 2005 10:21 GMT
Hi Nadav,
As Andreas pointed out, there are some limitations. The primary one is the
fact that Unimodem thinks of almost all voice modems as uni-directional and
*not* bi-directional. This means that you can only play or record, but not
both. This is because many modems really are only uni-directional and
Microsoft is not testing modems for bi-directional capability. There are
just
too many modems. We leave this up to the modem manufacturer to do. So the
default settings for most modems is to be unidirectional unless the modem
manufacturer turns on bi-directional support in the modem.INF file. But
AFAIK, very few manufacturers have actually done this.
Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
-mhd - 27 Jan 2005 15:26 GMT
>I checked a TAPI toolkit called CT Messanger that allows you to send a voice
>message to a phone and i does seem to recogonize when the phone is answered,
>it does not start playing the message under you answer the phone.
It contains code that makes up for Unimodem shortcomings so TAPI is
not being for call progress detection.
-mhd