In my simple application in VB to take care of the telephone I do not obtain
to make that the remote person hears my voice.
Somebody can help me?
Grateful.
Leandro,
what device / TSP are you using?
I presume modem / UniModem.TSP?
Modems work only half-duplex regarding media streaming from / to PC, i.e. you
can only capture _or_ render at the same time.
This issue has been discussed a lot in this newsgroup, just search for
"duplex"...
Especially note the discussion "News from the Full-Duplex front" started by
Matthias Moetje on 08/09/05:
news:exww1wOn...@TK2MSFTNGP09.phx.gbl
--
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.
In the control panel I see the description: "Unimodem Audio Full-duplex
Device", therefore I believe that it would be possible to record and to
execute at the same time in this modem. I already obtained with directsound
to catch the sound of the microphone and to execute in the modem.
Grateful.
"Andreas Marschall [MVP TAPI]" <Andreas....@I-B-A-M.de> escreveu na
mensagem news:%23u4rh20...@TK2MSFTNGP09.phx.gbl...
this is not possible. The speakerphone mode allows
full duplex interactive conversation but not to record
and playback at the same time. Use phoneSetHookswitch
to activate speakerphone mode.
BTW which modem is it?
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
-------------------------------------
"Leandro" <lea...@livremail.com.br> wrote in message
news:OTQDFdWt...@TK2MSFTNGP09.phx.gbl...
"Leandro" <lea...@livremail.com.br> wrote in message
news:OTQDFdWt...@TK2MSFTNGP09.phx.gbl...
once again: What you have is half duplex. Stop the
audio in one direction, and you will be able to use
the other direction, but not both at the same time.
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
-------------------------------------
"Leandro" <lea...@livremail.com.br> wrote in message
news:uCWC2yXt...@TK2MSFTNGP12.phx.gbl...
> Matias,
>
> I already am catching the audio one of the microphone and touching
perfectly
> in the modem and the person he hears me well. It was difficult but I
> obtained to synchronize buffers of capture and execution.
>
> Now I have difficulty to hear the person of the other side of the line. I
am
> using TAPIMEDIATYPE_AUDIO
>
> The modem is the LG LM-i56m -
> http://www.lgnetwork.com/lgnetwork/products/view.jsp?prdt_seq=42 - and
> follows in annex one print of my panel of control.
>
> It forgives my English.
>
> Greetings
>
>
> "Matthias Moetje" <moetje@terasens_nospam_.de> escreveu na mensagem
> news:ezO1cFXt...@TK2MSFTNGP09.phx.gbl...
hEvent = gDX.CreateEvent(Me)
result = phoneSetHookSwitch(hEvent, PHONEHOOKSWITCHDEV_SPEAKER,
PHONEHOOKSWITCHMODE_SPEAKER)
However always the error occurs: "PHONEERR_INVALPHONEHANDLE"
I work in VB and am connecting the call with the following code:
Set gobjCall = gobjAddress.CreateCall(number,
LINEADDRESSTYPE_PHONENUMBER, TAPIMEDIATYPE_AUDIO)
gobjCall.Connect (False)
However I do not obtain to catch handle of the line, Somebody can help me
with an example in VB?
Grateful
"Matthias Moetje" <moetje@terasens_nospam_.de> escreveu na mensagem
news:uh8%23YyatF...@TK2MSFTNGP10.phx.gbl...
seems you are mixing up TAPI2 and TAPI3. With TAPI3
you need to use the phone object interfaces (ITPhone, etc.)
These are only available with TAPI3.1 but not with TAPI3.0
(W2k).
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
-------------------------------------
"Leandro" <lea...@livremail.com.br> wrote in message
news:%23Ll4TOd...@TK2MSFTNGP09.phx.gbl...
You find that she would be possible to use phoneSetHookswitch to make the
conversation and to record the flow of entrance with the DirectSound? Or he
would be possible to only make the conversation?
With the DirectSound I only obtain to treat a flow for time (entered or exit
of the sound)..
Greetings
Leandro
"Matthias Moetje" <moetje@terasens_nospam_.de> escreveu na mensagem
news:ezO1cFXt...@TK2MSFTNGP09.phx.gbl...
> You find that she would be possible to use phoneSetHookswitch to make the
> conversation and to record the flow of entrance with the DirectSound?
No, you can't record when speakerphone mode is active.
> Or he
> would be possible to only make the conversation?
Yes.
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
-------------------------------------
"Leandro" <lea...@livremail.com.br> wrote in message
news:uYBDg0k...@TK2MSFTNGP10.phx.gbl...
It was very significant its reply. However I work with tapi 3,1 and VB and
are with immense difficulty to work with HookSwitchState.
I thank any aid. Debtor
Leandro
"Matthias Moetje" <moetje@terasens_nospam_.de> escreveu na mensagem
news:eVpEUVut...@TK2MSFTNGP14.phx.gbl...
Why?
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
-------------------------------------
"Leandro" <lea...@livremail.com.br> wrote in message
news:%23jMuydv...@TK2MSFTNGP10.phx.gbl...
I am carrying through the call with:
Set gobjCall = gobjAddress.CreateCall("999999999",
LINEADDRESSTYPE_PHONENUMBER, TAPIMEDIATYPE_AUDIO)
When in TAPIMEDIATYPE_AUDIO place I use TAPIMEDIATYPE_DATAMODEM I obtain to
hear the person of the other side of the line, but it does not hear me.
My accepted TSP only TAPIMEDIATYPE_AUDIO or TAPIMEDIATYPE_DATAMODEM
The example of where I was felt inspired to accomplish the telephonic
linking is in:
http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/TAPI/tapi3/make_a_call.asp
If somebody will be able to help with the VB will be very been thankful.
Leandro
"Matthias Moetje" <moetje@terasens_nospam_.de> escreveu na mensagem
news:OhNFTjwt...@TK2MSFTNGP12.phx.gbl...
In previous postagem I detached I eat I am proceeding in my code. You have
some suggestion?
I know that my TSP supports HookSwitchState therefore has a program (FaxTalk
Communicator) that it makes this.
Much I thank its attention.
Leandro
"Leandro" <lea...@livremail.com.br> escreveu na mensagem
news:%23AHV1Py...@tk2msftngp13.phx.gbl...
Leandro,
Can you reproduce the issue with TAPI Browser TB3x ?
Please post a TB3x.log.
See my TAPI and TSPI FAQ:
Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can
Q: Is there a user guide available for TAPI Browser TB3x ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_2