Re: what command sequence (tapi 2.x) is needed to switch from voice to data?
From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 01/04/05
- Next message: Grant Schenck: "Re: Line Busy status"
- Previous message: Andreas Marschall [MVP TAPI]: "Re: Com port"
- In reply to: Twilight Utilities: "Re: what command sequence (tapi 2.x) is needed to switch from voice to data?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 13:05:07 +0100
"Twilight Utilities" <nospam_russell@antispam_twilightutilities.com> schrieb
im Newsbeitrag news:%23dwDXLC8EHA.2788@TK2MSFTNGP15.phx.gbl...
> I have been trying it but I get a LINEERR_INVALCALLSTATE <unknown> which is
> wierd because the docs on it say:
>
> hCall
> A handle to the call whose parameters are to be changed. The application
> must be an owner of the call. The call state of hCall can be any state
> except idle or disconnected.
>
> and I test my call state before the call and it seems copasetic. Also I have
> been running portmon from www.wininternals.com sniffing the port and I do
> not see VoiceToDataAnswer being executed.
>
> Is there something else I need to set? BTW, I'm using unimodem as my tsp.
It seems that it isn't supported by UniModem.TSP.
Are you trying it on an outgoing or incoming call?
Why do you want to change from voice to data?
Isn't it possible to start with data mode?
If you know what AT commands are need to initiate do the VoiceToDataAnswer you
may want to try sending them in passthrough mode.
You can send call related AT commands in LINEBEARERMODE_PASSTHROUGH.
See MSDN Library:
http://msdn.microsoft.com/library/en-us/tapi/tapi2/passthrough_mode.asp
See Michael Dunn's TAPI Site - FAQ:
http://www.rainyjay.com/tapi/faq_passthough.htm
Please note that after switching to LINEBEARERMODE_PASSTHROUGH you can't leave
this bearer mode any more until the call ends.
-- 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.
- Next message: Grant Schenck: "Re: Line Busy status"
- Previous message: Andreas Marschall [MVP TAPI]: "Re: Com port"
- In reply to: Twilight Utilities: "Re: what command sequence (tapi 2.x) is needed to switch from voice to data?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|