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

USB phone integration

0 views
Skip to first unread message

shelly

unread,
Oct 27, 2005, 8:23:22 AM10/27/05
to
Objective :

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

Matthias Moetje [MVP]

unread,
Oct 27, 2005, 11:21:36 PM10/27/05
to
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...

shelly

unread,
Oct 28, 2005, 2:16:30 AM10/28/05
to
Matthias,
Thx for the reply.
I havent yet finalised the phone as of now but the phone would be like
-
http://www.simplyphone.lu/.

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

Matthias Moetje [MVP]

unread,
Oct 28, 2005, 12:21:37 PM10/28/05
to
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...

Grant Schenck

unread,
Oct 31, 2005, 5:23:08 PM10/31/05
to
When he says he already has PC to PC working, what audio devices is he
using? Assuming the built in speaker and microphone, it would be easy to
reroute those to use the USB handset assuming the handset shows up as wave
devices.
--
Grant Schenck
http://grantschenck.tripod.com

"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message
news:OiOwYu92...@TK2MSFTNGP10.phx.gbl...

Matthias Moetje [MVP]

unread,
Nov 1, 2005, 1:11:29 AM11/1/05
to
Shelly and Grant,

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...

shelly

unread,
Nov 2, 2005, 7:47:41 AM11/2/05
to
ok, my usb handset is mplus ku1120b.
http://www.miga.com.tw/tku1120b.html

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?

Matthias Moetje [MVP]

unread,
Nov 2, 2005, 2:38:58 PM11/2/05
to
Shelly,

> 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...

Grant Schenck

unread,
Nov 4, 2005, 11:16:01 AM11/4/05
to
The only USB handsets I've worked with appeared as a wave in and wave out
device.

They had no telephony specific features.

"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message

news:uqzLAU#3FHA...@TK2MSFTNGP10.phx.gbl...

Matthias Moetje [MVP]

unread,
Nov 4, 2005, 1:59:34 PM11/4/05
to
Grant,

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

unread,
Nov 8, 2005, 3:28:34 AM11/8/05
to
hi.
Thanks for the valuable informaton Matthias.

Shelly

Matthias Moetje [MVP]

unread,
Nov 8, 2005, 8:29:33 AM11/8/05
to
Shelly, you're welcome. Please feel free to post if you find out more!

--
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...

Grant Schenck

unread,
Nov 8, 2005, 11:31:15 AM11/8/05
to
Good question... Don't know. They may be more akin to SIP or H.323 devices?

"Matthias Moetje [MVP]" <moetje@terasens_nospam_.de> wrote in message

news:OvYXSHX...@tk2msftngp13.phx.gbl...

Matthias Moetje [MVP]

unread,
Nov 10, 2005, 1:38:40 PM11/10/05
to
Hi Grant,

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:

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/3754b41d-061b-4927-9466-b0eb1a445960.mspx

<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...

mar...@gmail.com

unread,
Nov 16, 2005, 5:08:17 PM11/16/05
to
I have the USB-P4K from Yealink (see, http://yealink.com/en/index.asp)
working with Skype (using skypemate), Gizmoproject (using xtenmate) and
I assume I could also get it working LCS using xtenmate. However, I
have tried to get eyebeam to work with LCS before and I have not
succeeded yet.

0 new messages