Re: Half duplex to full duplex ?!
From: Lior (lior-kn_at_coolmail.co.il)
Date: 05/22/04
- Next message: Syed: "VB code to recieve call"
- Previous message: Sasha: "Half Duplex & SpeakerPhone Capabillity of the Voice modems"
- In reply to: Shashidhar: "Re: Half duplex to full duplex ?!"
- Messages sorted by: [ date ] [ thread ]
Date: 22 May 2004 04:29:29 -0700
Hi,
The general functions that we use are : (in this order)
lineInit..EX();
lineOpen()
lineGetDevCaps() – get the tapi/phone device ID
phoneInit..EX()
phoneOpen( the tapi/phone device ID you have found )
lineMakeCall()
phoneSetHookSwitch( phone handler you found,
PHONEHOOKSWITCHDEV_SPEAKER,
PHONEHOOKSWITCHMODE_MICSPEAKER )
Now you need to distinguish between 2 type of modems :
1. hardware speaker phone (SP).
in this case – connect the mic to the "mic in" on the modem. And the
speakers to the "speaker out" on the modem.
2. software SP.
in this case you don't have any connections on the modem – connect the
mic to the "mic in" on the sound card. And the speakers to the
"speaker out" on the sound card.
Now you should hear both sides at the same time – no need for any wave
functions.
This is how the program phone plus works :
http://www.imptec.com/phoneplus.htm
Check it out, let me know if it works on your modem. And be sure to
specify the type of your modem.
"Shashidhar" <shashithota@mcglo.com> wrote in message news:<uCrGBSXPEHA.2444@TK2MSFTNGP12.phx.gbl>...
> Hi Lior,
> I'm working on full duplex issues. And i have one doubt about
> below sentence which u posted.
>
> "the problem now is that all of the sound transferring is automated,
> no
> waveIn() or waveOut() function needed, frankly no sound function
> what
> so ever are needed. The speaker phone on the modem does it all.
> Automatically transferring the sound to the sound card & from the
> mic
> of the sound card to the modem"
>
> How did u achieve this? How did u automated the transfering? Are
> using some cable to connect from speaker of modem to mic of sound card and
> mic of modem to speaker of sound card.
> Could you let me know about it.
>
> regards
> Shashidhar
>
>
>
>
>
> the problem now is that all of the sound transferring is automated, no
> waveIn() or waveOut() function needed, frankly no sound function what
> so ever are needed. The speaker phone on the modem does it all.
> Automatically transferring the sound to the sound card & from the mic
> of the sound card to the modem.
> "Lior" <lior-kn@coolmail.co.il> wrote in message
> news:f44b1307.0405160740.2ea06d56@posting.google.com...
> > "William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
> news:<#JawjEdOEHA.3312@tk2msftngp13.phx.gbl>...
> > > "Lior" <lior-kn@coolmail.co.il> wrote in message
> > > news:f44b1307.0405140334.174769d7@posting.google.com...
> > > > My question to you is how can I now here the remote side at my
> > > > speakers (connected to my sound card).
> > > > my modem is a simple half-duplex voice w SpeakerPhone - zoltrix cobra
> > > > lite 56K.
> > > > I know that this is possible (hearing both sides at the same time),
> > > > altough it is a half duplex modem, cause there is a program that does
> > > > that with my modem : "phone plus 6.0" :
> > > > http://www.imptec.com/ppfeatures.htm
> > > > download at : http://www.imptec.com/phnpls60.zip
> > >
> > > FWIW:
> > >
> > > I haven't looked at the program but I have seen mention of some which
> use a
> > > cable to route the output emanating from one of the jacks on the voice
> modem
> > > to the input line on the PC's soundcard. That done, a program can read
> from
> > > the soundcard instead of opening the voice modem device a second time.
> Of
> > > course, I have no idea if that's the scheme used by the application that
> you
> > > mention.
> > >
> > > Regards,
> > > Will
> >
> >
> >
> > Hi William, thank you for answering.
> > I have solved the problem, seems that in order to transform the modem
> > into full-duplex we must use the speakerphone capabilities (phone
> > functions in TAPI).
> >
> > the problem now is that all of the sound transferring is automated, no
> > waveIn() or waveOut() function needed, frankly no sound function what
> > so ever are needed. The speaker phone on the modem does it all.
> > Automatically transferring the sound to the sound card & from the mic
> > of the sound card to the modem. AND THAT IS A PROBLEAM.
> >
> > in this situation how can I monitor the sound coming from the modem
> > (line), catch it & transmit it to another computer using H.323 ?
> > & in addition how can I transmit sound (of my choise & not from the
> > microfone) to the modem. all simultaneously ?
> >
> > Anyone got an idea ?
> >
> > Maybe some functions that I don't know in the phone API.
> > Maybe reading the sound from the sound card & alternatively
> > transmitting sound to the sound card.
> >
> > Will appreciate the help.
> >
> > Lior.
- Next message: Syed: "VB code to recieve call"
- Previous message: Sasha: "Half Duplex & SpeakerPhone Capabillity of the Voice modems"
- In reply to: Shashidhar: "Re: Half duplex to full duplex ?!"
- Messages sorted by: [ date ] [ thread ]