I have a softphone using which I can make PC to PC and PC to phone
calls. I need to integrate the application with a USB phone i.e. any
operations on USB phone like dialing number, call disconnecting,
changing the volume should get reflected to the softphone and
viceversa. The USB phone is not specific i.e. I want that end user
should be allowed to use any.
My Current Understanding:
Softphone - TAPI dll - USB driver
Windows provide us with an interface called TAPI that would help in
integrating the dialer with the USB phone. USB phones (USB driver)
implements this interface. The softphone would call TAPI apis like
lineSetTerminal to get and set information from Usb phone. Similarly,
there must be a way to register a callback for events from phone.
Let me know if this approarch is fine. Any inputs from ur experience
would be appreciated.
Shelly
are you using a real phone with TAPI driver and USB connection
or is it just a USB handset that you want to use with another TAPI
based telephony device? Can you provide a reference to the brand?
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"shelly" <shelly...@gmail.com> wrote in message
news:1130415802.4...@z14g2000cwz.googlegroups.com...
I m assuming that such USB phones are TAPI complaint.
1. Is my assumption fine?
2. If the application i.e. the softphone is made TAPI complaint can it
be integrated with any TAPI USB phone without any changes.
Shelly
this is not a USB phone, it is a USB handset.
I don't know the details and which interfaces and
drivers this device provides. TAPI3 adds some
functionality to support USB handsets. There is
a concept of dynamic terminals one of its goals is
to support USB handsets, but I never tried this...
Though, I am very sure that the handset installs
some additional audio driver which you can route
audio through, so another approach might be to
- programmatically set the system default audio
devices for playback
and record to the USB device
- use GetDefaultStaticTerminal to create the TAPI
terminal
- programmatically set back the system audio devices
to what they were before
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"shelly" <shelly...@gmail.com> wrote in message
news:1130480190.5...@z14g2000cwz.googlegroups.com...
"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message
news:OiOwYu92...@TK2MSFTNGP10.phx.gbl...
some more clarifications on this issue:
1. I don't know about any TSP that allows you to route audio
through a sound device using lineSetTerminal.
2. PCTel modems allow this through phoneSetHookSwitch but normally
this function only enables a handset directly connected to a modem,
(but this is a very rare case!)
3. Of course it is possible to use TAPI2 and the wave API
to copy audio from the TSP's audio device (if it exists and if it
supports full duplex) to the default or to specific system audio
device. Though this requires significant amount of coding compared to:
4. This is much easier with TAPI3 which provides methods for
connecting a TSPs media stream to any device you like
which could be a system audio device, a file stream,
a custom terminal etc... (but like with 3. this only works with devices
that support full-duplex operation)
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"Grant Schenck" <sche...@optonline.net> wrote in message
news:%23jFlumm...@TK2MSFTNGP12.phx.gbl...
I not only want the audio come through this handset but also I should
be able to -
1. Dial numbers using handset. The numbers should be displayed on
softphone screen.
2. Connect and disconnect calls using handset. again changes should be
reflected on the softphone.
3. Modify volume using handset.
Thus, any event that i do on handset shoule get reflected on the
softphone and viceversa.
I have the device driver for the USB handset. However, It doesnt show
up in TAPI browser.
Would i need some sdk from USB handset manufacturers?
> Would i need some sdk from USB handset manufacturers?
Most probably yes. In theory the USB handset could model
a HID (human interface) device that can provide keyboard
input, but probably this device is using a proprietary API,
so you would need to contact the manufacturer for more
information.
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"shelly" <shelly...@gmail.com> wrote in message
news:1130935661....@z14g2000cwz.googlegroups.com...
They had no telephony specific features.
--
Grant Schenck
http://grantschenck.tripod.com
"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message
news:uqzLAU#3FHA...@TK2MSFTNGP10.phx.gbl...
thanks for the info. But there are USB handsets that also have a keypad,
how would this be handled?
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Ackermannstraße 3
80797 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"Grant Schenck" <sche...@optonline.net> wrote in message
news:%23Ew2NsV...@TK2MSFTNGP10.phx.gbl...
Shelly
--
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 München
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot de
www: www.terasens.de
-------------------------------------
"shelly" <shelly...@gmail.com> wrote in message
news:1131438514.6...@f14g2000cwb.googlegroups.com...
"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message
news:OvYXSHX...@tk2msftngp13.phx.gbl...
look what I found. Though it is an old document. The media
part was implemented somehow, but I don't know about a
"Phone TSP" that this document proposes...
http://www.microsoft.com/whdc/system/bus/USB/usbtelephony.mspx
On the other hand this document states that W2k3 included such a
HID Phone TSP:
<snip>
HID Phone TAPI Service Provider
The Human Interface Device (HID) Phone TAPI Service Provider allows users of
TAPI-based programs to make and receive telephone calls by using universal
serial bus (USB) telephone handsets connected to their computers. This
service provider is installed with Windows Server 2003 operating systems,
and it requires no configuration
</snip>
I haven't looked into this more deeply. On the other hand there must be
at least some hardware they used to test and implement this behaviour..
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Grant Schenck" <sche...@optonline.net> wrote in message
news:uRG6ZHI5...@TK2MSFTNGP10.phx.gbl...