Discussion:
manual dial out then connect with TAPI
(too old to reply)
greg
2012-03-30 00:22:40 UTC
Permalink
We are currently using an old piece of software, written in Turbo-
Pascal and assembly language and running on a Windows-98 machine to
call various pcs around the world that we have set up to collect data.

We have sites that we access by dialing a human operator then verbally
requesting an externsion. Once we hear the familiar modem screech we
hang up, click ok on a popup window, a ATX1D command gets sent to the
modem, and our software goes through its connection routines.

I'm writing a replacement in visual c++ 6.0 using TAPI to make and
receive phone calls. I can currently dial out and recive calls
automatically, but I need to implement the manual dialout procedure
described above. Can anybody point me in the right direction as to
what to do?

Thanks,

Greg
greg
2012-04-04 23:00:40 UTC
Permalink
I tried setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall, then using
writlefile to send a "ATX1D" to the modem. On my end I get a
LINECALLSTATE_CONNECTED and a LINECALLSTATE_ACCEPTED on the other end
but no complete connection. Is what I'm trying to do even possible or
is there something I'm missing?
Post by greg
We are currently using an old piece of software, written in Turbo-
Pascal and assembly language and running on a Windows-98 machine to
call various pcs around the world that we have set up to collect data.
We have sites that we access by dialing a human operator then verbally
requesting an externsion. Once we hear the familiar modem screech we
hang up, click ok on a popup window, a ATX1D command gets sent to the
modem, and our software goes through its connection routines.
I'm writing a replacement in visual c++ 6.0 using TAPI to make and
receive phone calls. I can currently dial out and recive calls
automatically, but I need to implement the manual dialout procedure
described above. Can anybody point me in the right direction as to
what to do?
Thanks,
Greg
Andreas Marschall [exMVP TAPI]
2012-05-16 01:22:33 UTC
Permalink
Post by greg
I tried setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall, then using
writlefile to send a "ATX1D" to the modem. On my end I get a
LINECALLSTATE_CONNECTED and a LINECALLSTATE_ACCEPTED on the other end
but no complete connection. Is what I'm trying to do even possible or
is there something I'm missing?
Greg,
is the incoming call at the far end actually answered?
E.g. by lineAnswer()
Please post the modem log (see my FAQ) for futher analysis.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
g***@comcast.net
2012-05-23 20:27:51 UTC
Permalink
Post by Andreas Marschall [exMVP TAPI]
Post by greg
I tried setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall, then using
writlefile to send a "ATX1D" to the modem. On my end I get a
LINECALLSTATE_CONNECTED and a LINECALLSTATE_ACCEPTED on the other end
but no complete connection. Is what I'm trying to do even possible or
is there something I'm missing?
Greg,
is the incoming call at the far end actually answered?
E.g. by lineAnswer()
Please post the modem log (see my FAQ) for futher analysis.
--
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
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
Andreas, Thanks for the response.

Here's the modem log from the calling system:

05-23-2012 18:56:42.514 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
05-23-2012 18:56:42.514 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
05-23-2012 18:56:42.514 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
05-23-2012 18:56:42.524 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
05-23-2012 18:56:42.524 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
05-23-2012 18:56:42.524 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
05-23-2012 18:56:42.524 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
05-23-2012 18:56:42.524 - Modem type: Conexant-Ambit SoftK56 Data,Fax ICH Modem
05-23-2012 18:56:42.524 - Modem inf path: oem6.inf
05-23-2012 18:56:42.524 - Modem inf section: ModemX_INTEL_SONY7
05-23-2012 18:56:42.524 - Matching hardware ID: pci\ven_8086&dev_2486&subsys_80fa104d
05-23-2012 18:56:42.795 - Opening Modem
05-23-2012 18:56:42.795 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-23-2012 18:56:42.795 - Initializing modem.
05-23-2012 18:56:42.805 - Send: AT<cr>
05-23-2012 18:56:42.805 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:56:42.805 - Interpreted response: OK
05-23-2012 18:56:42.815 - Send: AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-23-2012 18:56:42.855 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:56:42.855 - Interpreted response: OK
05-23-2012 18:56:42.865 - Send: ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-23-2012 18:56:42.875 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:56:42.875 - Interpreted response: OK
05-23-2012 18:56:42.875 - Sending user initialization commands.
05-23-2012 18:56:42.885 - Send: AT+MS=V92<cr>
05-23-2012 18:56:42.895 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:56:42.895 - Interpreted response: OK
05-23-2012 18:56:42.895 - Waiting for a call.
05-23-2012 18:56:42.905 - Send: ATS0=0<cr>
05-23-2012 18:56:42.915 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:56:42.915 - Interpreted response: OK
05-23-2012 18:57:08.842 - TSP(0000): Making Call
05-23-2012 18:57:08.842 - Passthrough On
05-23-2012 18:57:08.842 - TSP Completing Async Operation(0x000103c2) Status 0x00000000
05-23-2012 18:57:08.842 - TSP(0000): LINEEVENT: LINECALLSTATE_CONNECTED
05-23-2012 18:57:21.971 - TSP(0000): Closing Call
05-23-2012 18:57:21.971 - Passthrough Off
05-23-2012 18:57:21.971 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-23-2012 18:57:21.971 - Initializing modem.
05-23-2012 18:57:21.981 - Send: AT<cr>
05-23-2012 18:57:21.991 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:21.991 - Interpreted response: OK
05-23-2012 18:57:22.001 - Send: AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-23-2012 18:57:22.011 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:22.011 - Interpreted response: OK
05-23-2012 18:57:22.021 - Send: ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-23-2012 18:57:22.031 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:22.031 - Interpreted response: OK
05-23-2012 18:57:22.031 - Sending user initialization commands.
05-23-2012 18:57:22.041 - Send: AT+MS=V92<cr>
05-23-2012 18:57:22.051 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:22.051 - Interpreted response: OK
05-23-2012 18:57:22.051 - Waiting for a call.
05-23-2012 18:57:22.061 - Send: ATS0=0<cr>
05-23-2012 18:57:22.071 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:22.071 - Interpreted response: OK
05-23-2012 18:57:23.974 - Session Statistics:
05-23-2012 18:57:23.974 - Reads : 30 bytes
05-23-2012 18:57:23.974 - Writes: 96 bytes
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
05-23-2012 18:57:24.024 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
05-23-2012 18:57:24.024 - Modem type: Conexant-Ambit SoftK56 Data,Fax ICH Modem
05-23-2012 18:57:24.024 - Modem inf path: oem6.inf
05-23-2012 18:57:24.024 - Modem inf section: ModemX_INTEL_SONY7
05-23-2012 18:57:24.024 - Matching hardware ID: pci\ven_8086&dev_2486&subsys_80fa104d
05-23-2012 18:57:24.314 - Opening Modem
05-23-2012 18:57:24.314 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-23-2012 18:57:24.314 - Initializing modem.
05-23-2012 18:57:24.324 - Send: AT<cr>
05-23-2012 18:57:24.324 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:24.324 - Interpreted response: OK
05-23-2012 18:57:24.334 - Send: AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-23-2012 18:57:24.374 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:24.374 - Interpreted response: OK
05-23-2012 18:57:24.384 - Send: ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-23-2012 18:57:24.394 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:24.394 - Interpreted response: OK
05-23-2012 18:57:24.394 - Sending user initialization commands.
05-23-2012 18:57:24.404 - Send: AT+MS=V92<cr>
05-23-2012 18:57:24.414 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:24.414 - Interpreted response: OK
05-23-2012 18:57:24.414 - Waiting for a call.
05-23-2012 18:57:24.424 - Send: ATS0=0<cr>
05-23-2012 18:57:24.435 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:57:24.435 - Interpreted response: OK
05-23-2012 19:28:28.615 - Session Statistics:
05-23-2012 19:28:28.615 - Reads : 30 bytes
05-23-2012 19:28:28.615 - Writes: 96 bytes




and here's the modem log from the called system:

05-23-2012 18:58:07.751 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
05-23-2012 18:58:07.751 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
05-23-2012 18:58:07.751 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
05-23-2012 18:58:07.761 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
05-23-2012 18:58:07.761 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
05-23-2012 18:58:07.761 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
05-23-2012 18:58:07.761 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
05-23-2012 18:58:07.761 - Modem type: Agere Systems AC'97 Modem
05-23-2012 18:58:07.761 - Modem inf path: oem2.inf
05-23-2012 18:58:07.761 - Modem inf section: ALI1535p_AMR_SA.Modem
05-23-2012 18:58:07.761 - Matching hardware ID: pci\ven_10b9&dev_5457&subsys_005a0e11
05-23-2012 18:58:08.102 - 115200,8,N,1, ctsfl=1, rtsctl=2
05-23-2012 18:58:08.102 - Initializing modem.
05-23-2012 18:58:08.112 - Send: AT<cr>
05-23-2012 18:58:08.122 - Recv: AT<cr>
05-23-2012 18:58:08.122 - Command Echo
05-23-2012 18:58:08.122 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.122 - Interpreted response: OK
05-23-2012 18:58:08.132 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-23-2012 18:58:08.142 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-23-2012 18:58:08.142 - Command Echo
05-23-2012 18:58:08.142 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.142 - Interpreted response: OK
05-23-2012 18:58:08.152 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X3<cr>
05-23-2012 18:58:08.152 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.152 - Interpreted response: OK
05-23-2012 18:58:08.152 - Sending user initialization commands.
05-23-2012 18:58:08.162 - Send: atx3+ms=v90<cr>
05-23-2012 18:58:08.172 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.172 - Interpreted response: OK
05-23-2012 18:58:08.172 - Waiting for a call.
05-23-2012 18:58:08.182 - Send: ATS0=0<cr>
05-23-2012 18:58:08.192 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.192 - Interpreted response: OK
05-23-2012 19:33:49.923 - Session Statistics:
05-23-2012 19:33:49.923 - Reads : 61 bytes
05-23-2012 19:33:49.923 - Writes: 0 bytes
Andreas Marschall [exMVP TAPI]
2012-05-30 01:00:27 UTC
Permalink
Post by g***@comcast.net
Post by Andreas Marschall [exMVP TAPI]
Post by greg
I tried setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall, then using
writlefile to send a "ATX1D" to the modem. On my end I get a
LINECALLSTATE_CONNECTED and a LINECALLSTATE_ACCEPTED on the other end
but no complete connection. Is what I'm trying to do even possible or
is there something I'm missing?
Greg,
is the incoming call at the far end actually answered?
E.g. by lineAnswer()
Please post the modem log (see my FAQ) for futher analysis.
05-23-2012 18:57:08.842 - TSP(0000): Making Call
05-23-2012 18:57:08.842 - Passthrough On
05-23-2012 18:57:08.842 - TSP Completing Async Operation(0x000103c2) Status 0x00000000
05-23-2012 18:57:08.842 - TSP(0000): LINEEVENT: LINECALLSTATE_CONNECTED
05-23-2012 18:57:21.971 - TSP(0000): Closing Call
05-23-2012 18:57:21.971 - Passthrough Off
05-23-2012 18:58:08.172 - Waiting for a call.
05-23-2012 18:58:08.182 - Send: ATS0=0<cr>
05-23-2012 18:58:08.192 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.192 - Interpreted response: OK
05-23-2012 19:33:49.923 - Reads : 61 bytes
05-23-2012 19:33:49.923 - Writes: 0 bytes
Greg,
from the called system log it seems that there was never any incoming call,
but in an earlier posting you claimed to get a LINECALLSTATE_ACCEPTED on that system.
That's strange!
Are the two system clocks synchrononized?
The log on the called system starts after the call was made on the calling system.
Please clarify.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
greg
2012-05-31 22:58:58 UTC
Permalink
On May 29, 6:00 pm, "Andreas Marschall [exMVP TAPI]"
Post by Andreas Marschall [exMVP TAPI]
Post by g***@comcast.net
Post by Andreas Marschall [exMVP TAPI]
Post by greg
I tried setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall, then using
writlefile to send a "ATX1D" to the modem. On my end I get a
LINECALLSTATE_CONNECTED and a LINECALLSTATE_ACCEPTED on the other end
but no complete connection. Is what I'm trying to do even possible or
is there something I'm missing?
Greg,
is the incoming call at the far end actually answered?
E.g. by lineAnswer()
Please post the modem log (see my FAQ) for futher analysis.
05-23-2012 18:57:08.842 - TSP(0000): Making Call
05-23-2012 18:57:08.842 - Passthrough On
05-23-2012 18:57:08.842 - TSP Completing Async Operation(0x000103c2) Status 0x00000000
05-23-2012 18:57:08.842 - TSP(0000): LINEEVENT: LINECALLSTATE_CONNECTED
05-23-2012 18:57:21.971 - TSP(0000): Closing Call
05-23-2012 18:57:21.971 - Passthrough Off
05-23-2012 18:58:08.172 - Waiting for a call.
05-23-2012 18:58:08.182 - Send: ATS0=0<cr>
05-23-2012 18:58:08.192 - Recv: <cr><lf>OK<cr><lf>
05-23-2012 18:58:08.192 - Interpreted response: OK
05-23-2012 19:33:49.923 -                Reads : 61 bytes
05-23-2012 19:33:49.923 -                Writes: 0 bytes
Greg,
from the called system log it seems that there was never any incoming call,
but in an earlier posting you claimed to get a LINECALLSTATE_ACCEPTED on that system.
That's strange!
Are the two system clocks synchrononized?
The log on the called system starts after the call was made on the calling system.
Please clarify.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.- Hide quoted text -
- Show quoted text -
Sorry, somehow I messed things up. Here is some modemlogs from the
called and calling programs. the first part from 17:29:52 to 17:38:36
is a typical TAPI dialed call. The 2nd part from 18:12:01 to 18:12:17
is from my attempt to manually dial out. I tried to sync up both
systmes manually by looking at the system clock display and resetting
the callng systems clock to the called system clock as close as I
could

Here's the calling modemlog:

05-31-2012 17:30:01.548 - File: C:\WINDOWS\system32\tapisrv.dll,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\unimdm.tsp,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\unimdmat.dll,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\uniplat.dll,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\drivers\modem.sys,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\modemui.dll,
Version 5.1.2600
05-31-2012 17:30:01.558 - File: C:\WINDOWS\system32\mdminst.dll,
Version 5.1.2600
05-31-2012 17:30:01.558 - Modem type: Conexant-Ambit SoftK56 Data,Fax
ICH Modem
05-31-2012 17:30:01.558 - Modem inf path: oem6.inf
05-31-2012 17:30:01.558 - Modem inf section: ModemX_INTEL_SONY7
05-31-2012 17:30:01.558 - Matching hardware ID: pci
\ven_8086&dev_2486&subsys_80fa104d
05-31-2012 17:30:01.858 - Opening Modem
05-31-2012 17:30:01.858 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:30:01.858 - Initializing modem.
05-31-2012 17:30:01.868 - Send: AT<cr>
05-31-2012 17:30:01.868 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:30:01.868 - Interpreted response: OK
05-31-2012 17:30:01.878 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 17:30:01.918 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:30:01.918 - Interpreted response: OK
05-31-2012 17:30:01.928 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 17:30:01.938 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:30:01.938 - Interpreted response: OK
05-31-2012 17:30:01.938 - Waiting for a call.
05-31-2012 17:30:01.948 - Send: ATS0=0<cr>
05-31-2012 17:30:01.958 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:30:01.958 - Interpreted response: OK
05-31-2012 17:37:41.840 - TSP(0000): Making Call
05-31-2012 17:37:41.840 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:37:41.840 - Initializing modem.
05-31-2012 17:37:41.850 - Send: AT<cr>
05-31-2012 17:37:41.860 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:37:41.860 - Interpreted response: OK
05-31-2012 17:37:41.870 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 17:37:41.880 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:37:41.880 - Interpreted response: OK
05-31-2012 17:37:41.890 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 17:37:41.900 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:37:41.900 - Interpreted response: OK
05-31-2012 17:37:41.900 - Dialing.
05-31-2012 17:37:41.900 - TSP Completing Async Operation(0x000102d9)
Status 0x00000000
05-31-2012 17:37:41.900 - TSP(0000): LINEEVENT: LINECALLSTATE_DIALING
05-31-2012 17:37:41.900 - TSP(0000): LINEEVENT:
LINECALLSTATE_PROCEEDING
05-31-2012 17:37:41.910 - Send: ATDT#######<cr>
05-31-2012 17:38:08.358 - Recv: <cr><lf>+MCR: V34<cr><lf>
05-31-2012 17:38:08.358 - Interpreted response: Informative
05-31-2012 17:38:08.358 - Recv: <cr><lf>+MRR: 31200<cr><lf>
05-31-2012 17:38:08.358 - Interpreted response: Informative
05-31-2012 17:38:09.209 - Recv: <cr><lf>+ER: LAPM<cr><lf>
05-31-2012 17:38:09.209 - Interpreted response: Informative
05-31-2012 17:38:09.209 - Recv: <cr><lf>+DR: V44<cr><lf>
05-31-2012 17:38:09.209 - Interpreted response: Informative
05-31-2012 17:38:09.209 - Recv: <cr><lf>CONNECT 31200<cr><lf>
05-31-2012 17:38:09.209 - Interpreted response: Connect
05-31-2012 17:38:09.209 - Connection established at 31200bps.
05-31-2012 17:38:09.209 - Error-control on.
05-31-2012 17:38:09.209 - Data compression on.
05-31-2012 17:38:09.209 - TSP(0000): LINEEVENT:
LINECALLSTATE_CONNECTED
05-31-2012 17:38:29.598 - CD dropped--Remote modem hung up.
ModemStatus=00000030
05-31-2012 17:38:29.598 - TSP(0000): LINEEVENT:
LINECALLSTATE_DISCONNECTED(0x1)
05-31-2012 17:38:33.654 - TSP(0000): Dropping Call
05-31-2012 17:38:33.654 - Hanging up the modem.
05-31-2012 17:38:33.654 - Recv: <cr><lf>NO CARRIER<cr><lf>
05-31-2012 17:38:33.654 - Interpreted response: No Carrier
05-31-2012 17:38:33.654 - TSP(0000): Closing Call
05-31-2012 17:38:33.664 - Send: ATH<cr>
05-31-2012 17:38:33.714 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:33.714 - Interpreted response: OK
05-31-2012 17:38:33.714 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:38:33.714 - Initializing modem.
05-31-2012 17:38:33.724 - Send: AT<cr>
05-31-2012 17:38:33.724 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:33.724 - Interpreted response: OK
05-31-2012 17:38:33.734 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 17:38:33.794 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:33.794 - Interpreted response: OK
05-31-2012 17:38:33.804 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 17:38:33.814 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:33.814 - Interpreted response: OK
05-31-2012 17:38:33.814 - Waiting for a call.
05-31-2012 17:38:33.824 - Send: ATS0=0<cr>
05-31-2012 17:38:33.835 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:33.835 - Interpreted response: OK
05-31-2012 17:38:33.835 - TSP(0000): LINEEVENT: LINECALLSTATE_IDLE
05-31-2012 17:38:33.835 - TSP Completing Async Operation(0x000101da)
Status 0x00000000
05-31-2012 17:38:33.835 - Session Statistics:
05-31-2012 17:38:33.835 - Reads : 24 bytes
05-31-2012 17:38:33.835 - Writes: 86 bytes
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\tapisrv.dll,
Version 5.1.2600
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\unimdm.tsp,
Version 5.1.2600
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\unimdmat.dll,
Version 5.1.2600
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\uniplat.dll,
Version 5.1.2600
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\drivers\modem.sys,
Version 5.1.2600
05-31-2012 17:38:35.887 - File: C:\WINDOWS\system32\modemui.dll,
Version 5.1.2600
05-31-2012 17:38:35.897 - File: C:\WINDOWS\system32\mdminst.dll,
Version 5.1.2600
05-31-2012 17:38:35.897 - Modem type: Conexant-Ambit SoftK56 Data,Fax
ICH Modem
05-31-2012 17:38:35.897 - Modem inf path: oem6.inf
05-31-2012 17:38:35.897 - Modem inf section: ModemX_INTEL_SONY7
05-31-2012 17:38:35.897 - Matching hardware ID: pci
\ven_8086&dev_2486&subsys_80fa104d
05-31-2012 17:38:36.198 - Opening Modem
05-31-2012 17:38:36.198 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:38:36.198 - Initializing modem.
05-31-2012 17:38:36.208 - Send: AT<cr>
05-31-2012 17:38:36.208 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:36.208 - Interpreted response: OK
05-31-2012 17:38:36.218 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 17:38:36.288 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:36.288 - Interpreted response: OK
05-31-2012 17:38:36.298 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 17:38:36.308 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:36.308 - Interpreted response: OK
05-31-2012 17:38:36.308 - Waiting for a call.
05-31-2012 17:38:36.318 - Send: ATS0=0<cr>
05-31-2012 17:38:36.328 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:36.328 - Interpreted response: OK
05-31-2012 18:12:01.662 - TSP(0000): Making Call
05-31-2012 18:12:01.662 - Passthrough On
05-31-2012 18:12:01.662 - TSP Completing Async Operation(0x000101c8)
Status 0x00000000
05-31-2012 18:12:01.662 - TSP(0000): LINEEVENT:
LINECALLSTATE_CONNECTED
05-31-2012 18:12:14.790 - TSP(0000): Closing Call
05-31-2012 18:12:14.790 - Passthrough Off
05-31-2012 18:12:14.790 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 18:12:14.790 - Initializing modem.
05-31-2012 18:12:14.801 - Send: AT<cr>
05-31-2012 18:12:14.811 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:14.811 - Interpreted response: OK
05-31-2012 18:12:14.821 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 18:12:14.831 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:14.831 - Interpreted response: OK
05-31-2012 18:12:14.841 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 18:12:14.851 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:14.851 - Interpreted response: OK
05-31-2012 18:12:14.851 - Waiting for a call.
05-31-2012 18:12:14.861 - Send: ATS0=0<cr>
05-31-2012 18:12:14.871 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:14.871 - Interpreted response: OK
05-31-2012 18:12:16.793 - Session Statistics:
05-31-2012 18:12:16.793 - Reads : 24 bytes
05-31-2012 18:12:16.793 - Writes: 86 bytes
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\tapisrv.dll,
Version 5.1.2600
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\unimdm.tsp,
Version 5.1.2600
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\unimdmat.dll,
Version 5.1.2600
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\uniplat.dll,
Version 5.1.2600
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\drivers\modem.sys,
Version 5.1.2600
05-31-2012 18:12:16.843 - File: C:\WINDOWS\system32\modemui.dll,
Version 5.1.2600
05-31-2012 18:12:16.853 - File: C:\WINDOWS\system32\mdminst.dll,
Version 5.1.2600
05-31-2012 18:12:16.853 - Modem type: Conexant-Ambit SoftK56 Data,Fax
ICH Modem
05-31-2012 18:12:16.853 - Modem inf path: oem6.inf
05-31-2012 18:12:16.853 - Modem inf section: ModemX_INTEL_SONY7
05-31-2012 18:12:16.853 - Matching hardware ID: pci
\ven_8086&dev_2486&subsys_80fa104d
05-31-2012 18:12:17.134 - Opening Modem
05-31-2012 18:12:17.134 - 2400,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 18:12:17.134 - Initializing modem.
05-31-2012 18:12:17.144 - Send: AT<cr>
05-31-2012 18:12:17.144 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:17.144 - Interpreted response: OK
05-31-2012 18:12:17.154 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2<cr>
05-31-2012 18:12:17.194 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:17.194 - Interpreted response: OK
05-31-2012 18:12:17.204 - Send:
ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4<cr>
05-31-2012 18:12:17.214 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:17.214 - Interpreted response: OK
05-31-2012 18:12:17.214 - Waiting for a call.
05-31-2012 18:12:17.224 - Send: ATS0=0<cr>
05-31-2012 18:12:17.234 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:17.234 - Interpreted response: OK


=================================================================
And here's the called modemlog:


05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\tapisrv.dll,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\unimdm.tsp,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\unimdmat.dll,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\uniplat.dll,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\drivers\modem.sys,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\modemui.dll,
Version 5.1.2600
05-31-2012 17:29:52.054 - File: C:\WINDOWS\system32\mdminst.dll,
Version 5.1.2600
05-31-2012 17:29:52.054 - Modem type: Agere Systems AC'97 Modem
05-31-2012 17:29:52.054 - Modem inf path: oem2.inf
05-31-2012 17:29:52.054 - Modem inf section: ALI1535p_AMR_SA.Modem
05-31-2012 17:29:52.054 - Matching hardware ID: pci
\ven_10b9&dev_5457&subsys_005a0e11
05-31-2012 17:29:52.354 - Opening Modem
05-31-2012 17:29:52.354 - 115200,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:29:52.354 - Initializing modem.
05-31-2012 17:29:52.364 - Send: AT<cr>
05-31-2012 17:29:52.374 - Recv: AT<cr>
05-31-2012 17:29:52.374 - Command Echo
05-31-2012 17:29:52.374 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:29:52.374 - Interpreted response: OK
05-31-2012 17:29:52.384 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 17:29:52.395 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 17:29:52.395 - Command Echo
05-31-2012 17:29:52.395 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:29:52.395 - Interpreted response: OK
05-31-2012 17:29:52.405 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X3<cr>
05-31-2012 17:29:52.405 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:29:52.405 - Interpreted response: OK
05-31-2012 17:29:52.405 - Sending user initialization commands.
05-31-2012 17:29:52.415 - Send: atx3+ms=v90<cr>
05-31-2012 17:29:52.425 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:29:52.425 - Interpreted response: OK
05-31-2012 17:29:52.425 - Waiting for a call.
05-31-2012 17:29:52.435 - Send: ATS0=0<cr>
05-31-2012 17:29:52.445 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:29:52.445 - Interpreted response: OK
05-31-2012 17:37:52.402 - Recv: <cr><lf>RING<cr><lf>
05-31-2012 17:37:52.402 - Interpreted response: Ring
05-31-2012 17:37:52.772 - TSP(0000): LINEEVENT: LINE_NEWCALL
05-31-2012 17:37:52.772 - TSP(0000): LINEEVENT: LINECALLSTATE_OFFERING
05-31-2012 17:37:52.772 - TSP(0000): LINEEVENT:
LINEDEVSTATE_RINGING(0x1)
05-31-2012 17:37:52.782 - TSP(0000): Answering Call
05-31-2012 17:37:52.782 - Answering the call.
05-31-2012 17:37:52.782 - TSP(0000): LINEEVENT: LINECALLSTATE_ACCEPTED
05-31-2012 17:37:52.792 - Send: ATA<cr>
05-31-2012 17:38:09.016 - Recv: <cr><lf>CONNECT 31200 V44<cr><lf>
05-31-2012 17:38:09.016 - Interpreted response: Connect
05-31-2012 17:38:09.016 - Connection established at 31200bps.
05-31-2012 17:38:09.016 - Error-control on.
05-31-2012 17:38:09.016 - Data compression on.
05-31-2012 17:38:09.016 - TSP Completing Async Operation(0x00010112)
Status 0x00000000
05-31-2012 17:38:09.016 - TSP(0000): LINEEVENT:
LINECALLSTATE_CONNECTED
05-31-2012 17:38:28.814 - TSP(0000): Closing Call
05-31-2012 17:38:28.814 - Hanging up the modem.
05-31-2012 17:38:28.814 - Hardware hangup by lowering DTR.
05-31-2012 17:38:30.817 - TSP(0000): Monitoring
05-31-2012 17:38:31.308 - Detected CD dropped from lowering DTR
05-31-2012 17:38:31.308 - Recv: <cr><lf>NO CARRIER<cr><lf>
05-31-2012 17:38:31.308 - Interpreted response: No Carrier
05-31-2012 17:38:31.318 - Send: ATH E1<cr>
05-31-2012 17:38:31.328 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.328 - Interpreted response: OK
05-31-2012 17:38:31.328 - 115200,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 17:38:31.328 - Initializing modem.
05-31-2012 17:38:31.338 - Send: AT<cr>
05-31-2012 17:38:31.338 - Recv: AT<cr>
05-31-2012 17:38:31.338 - Command Echo
05-31-2012 17:38:31.338 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.338 - Interpreted response: OK
05-31-2012 17:38:31.348 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 17:38:31.348 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 17:38:31.348 - Command Echo
05-31-2012 17:38:31.358 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.358 - Interpreted response: OK
05-31-2012 17:38:31.368 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X3<cr>
05-31-2012 17:38:31.368 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.368 - Interpreted response: OK
05-31-2012 17:38:31.368 - Sending user initialization commands.
05-31-2012 17:38:31.378 - Send: atx3+ms=v90<cr>
05-31-2012 17:38:31.378 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.378 - Interpreted response: OK
05-31-2012 17:38:31.378 - Waiting for a call.
05-31-2012 17:38:31.388 - Send: ATS0=0<cr>
05-31-2012 17:38:31.388 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 17:38:31.388 - Interpreted response: OK
05-31-2012 18:11:58.023 - Recv: <cr><lf>RING<cr><lf>
05-31-2012 18:11:58.023 - Interpreted response: Ring
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINE_NEWCALL
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINECALLSTATE_OFFERING
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT:
LINEDEVSTATE_RINGING(0x1)
05-31-2012 18:11:58.023 - TSP(0000): Answering Call
05-31-2012 18:11:58.023 - Answering the call.
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINECALLSTATE_ACCEPTED
05-31-2012 18:11:58.033 - Send: ATA<cr>
05-31-2012 18:12:58.069 - Recv: <cr><lf>NO CARRIER<cr><lf>
05-31-2012 18:12:58.069 - Interpreted response: No Carrier
05-31-2012 18:12:58.069 - Hanging up the modem.
05-31-2012 18:12:58.079 - Send: ATH E1<cr>
05-31-2012 18:12:58.079 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.079 - Interpreted response: OK
05-31-2012 18:12:58.079 - 115200,8,N,1, ctsfl=1, rtsctl=2
05-31-2012 18:12:58.079 - Initializing modem.
05-31-2012 18:12:58.089 - Send: AT<cr>
05-31-2012 18:12:58.089 - Recv: AT<cr>
05-31-2012 18:12:58.089 - Command Echo
05-31-2012 18:12:58.089 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.089 - Interpreted response: OK
05-31-2012 18:12:58.099 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 18:12:58.099 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1<cr>
05-31-2012 18:12:58.099 - Command Echo
05-31-2012 18:12:58.110 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.110 - Interpreted response: OK
05-31-2012 18:12:58.120 - Send: ATS7=60S30=0L0M1\N3%C1&K3N1\J1X3<cr>
05-31-2012 18:12:58.120 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.120 - Interpreted response: OK
05-31-2012 18:12:58.120 - Sending user initialization commands.
05-31-2012 18:12:58.130 - Send: atx3+ms=v90<cr>
05-31-2012 18:12:58.140 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.140 - Interpreted response: OK
05-31-2012 18:12:58.140 - Waiting for a call.
05-31-2012 18:12:58.150 - Send: ATS0=0<cr>
05-31-2012 18:12:58.150 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.150 - Interpreted response: OK
05-31-2012 18:12:58.150 - TSP Completing Async Operation(0x000102f1)
Status 0x80000048
05-31-2012 18:12:58.150 - TSP(0000): LINEEVENT:
LINECALLSTATE_DISCONNECTED(0x40)
05-31-2012 18:12:58.150 - TSP(0000): LINEEVENT: LINECALLSTATE_IDLE
05-31-2012 18:12:58.150 - TSP(0000): Dropping Call
05-31-2012 18:12:58.150 - TSP Completing Async Operation(0x00010202)
Status 0x00000000
05-31-2012 18:12:58.150 - TSP(0000): Closing Call
05-31-2012 18:12:58.150 - Session Statistics:
05-31-2012 18:12:58.150 - Reads : 61 bytes
05-31-2012 18:12:58.150 - Writes: 0 bytes
Andreas Marschall [exMVP TAPI]
2012-06-11 17:16:22 UTC
Permalink
Post by greg
Post by Andreas Marschall [exMVP TAPI]
from the called system log it seems that there was never any incoming call,
but in an earlier posting you claimed to get a LINECALLSTATE_ACCEPTED on that system.
That's strange!
Are the two system clocks synchrononized?
The log on the called system starts after the call was made on the calling system.
Please clarify.
Sorry, somehow I messed things up. Here is some modemlogs from the
called and calling programs. the first part from 17:29:52 to 17:38:36
is a typical TAPI dialed call. The 2nd part from 18:12:01 to 18:12:17
is from my attempt to manually dial out. I tried to sync up both
systmes manually by looking at the system clock display and resetting
the callng systems clock to the called system clock as close as I
could
05-31-2012 18:12:01.662 - TSP(0000): Making Call
05-31-2012 18:12:01.662 - Passthrough On
05-31-2012 18:12:01.662 - TSP Completing Async Operation(0x000101c8)
Status 0x00000000
LINECALLSTATE_CONNECTED
05-31-2012 18:12:14.790 - TSP(0000): Closing Call
05-31-2012 18:12:14.790 - Passthrough Off
=================================================================
05-31-2012 18:11:58.023 - Recv: <cr><lf>RING<cr><lf>
05-31-2012 18:11:58.023 - Interpreted response: Ring
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINE_NEWCALL
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINECALLSTATE_OFFERING
LINEDEVSTATE_RINGING(0x1)
05-31-2012 18:11:58.023 - TSP(0000): Answering Call
05-31-2012 18:11:58.023 - Answering the call.
05-31-2012 18:11:58.023 - TSP(0000): LINEEVENT: LINECALLSTATE_ACCEPTED
05-31-2012 18:11:58.033 - Send: ATA<cr>
05-31-2012 18:12:58.069 - Recv: <cr><lf>NO CARRIER<cr><lf>
05-31-2012 18:12:58.069 - Interpreted response: No Carrier
05-31-2012 18:12:58.069 - Hanging up the modem.
05-31-2012 18:12:58.079 - Send: ATH E1<cr>
05-31-2012 18:12:58.079 - Recv: <cr><lf>OK<cr><lf>
05-31-2012 18:12:58.079 - Interpreted response: OK
05-31-2012 18:12:58.150 - TSP Completing Async Operation(0x000102f1)
Status 0x80000048
LINECALLSTATE_DISCONNECTED(0x40)
05-31-2012 18:12:58.150 - TSP(0000): LINEEVENT: LINECALLSTATE_IDLE
05-31-2012 18:12:58.150 - TSP(0000): Dropping Call
05-31-2012 18:12:58.150 - TSP Completing Async Operation(0x00010202)
Status 0x00000000
05-31-2012 18:12:58.150 - TSP(0000): Closing Call
Greg,
on the 2nd call (üassthrough mode) it seems that the called modem answers it but immediately hangs up due to NO CARRIER error...

The 1st call (data mode) negotiates connection speed and connects for about 20s before the connection is released by the called modem.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
g***@comcast.net
2012-06-13 23:23:42 UTC
Permalink
Andreas, thanks for the help. I think I was going about it the wrong way. After a lot of research and experimentation I found that to get my program to do an operated assisted call, I had to write a small program that called lineConfigDialog, then lineGetDevConfig, then saved the contents of the VARSTRING variable returned to a file. Then run the program, click on the operator assisted check box in the popup window. Then run it again without clicking on the operator assisted check box and save to another file. Now in my modem calling program open the appropriate file and read its contents into a VARSTRING, then call lineSetDevConfig. It works but it seems to be a kludgy way to accomplish this.
g***@comcast.net
2012-04-13 22:54:09 UTC
Permalink
Post by greg
We are currently using an old piece of software, written in Turbo-
Pascal and assembly language and running on a Windows-98 machine to
call various pcs around the world that we have set up to collect data.
We have sites that we access by dialing a human operator then verbally
requesting an externsion. Once we hear the familiar modem screech we
hang up, click ok on a popup window, a ATX1D command gets sent to the
modem, and our software goes through its connection routines.
I'm writing a replacement in visual c++ 6.0 using TAPI to make and
receive phone calls. I can currently dial out and recive calls
automatically, but I need to implement the manual dialout procedure
described above. Can anybody point me in the right direction as to
what to do?
Thanks,
Greg
Does anybody read these anymore?
Hello?
Andreas Marschall [exMVP TAPI]
2012-05-16 01:23:41 UTC
Permalink
Post by g***@comcast.net
Does anybody read these anymore?
Yes ;-)

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
g***@comcast.net
2012-04-27 00:41:06 UTC
Permalink
Post by greg
We are currently using an old piece of software, written in Turbo-
Pascal and assembly language and running on a Windows-98 machine to
call various pcs around the world that we have set up to collect data.
We have sites that we access by dialing a human operator then verbally
requesting an externsion. Once we hear the familiar modem screech we
hang up, click ok on a popup window, a ATX1D command gets sent to the
modem, and our software goes through its connection routines.
I'm writing a replacement in visual c++ 6.0 using TAPI to make and
receive phone calls. I can currently dial out and recive calls
automatically, but I need to implement the manual dialout procedure
described above. Can anybody point me in the right direction as to
what to do?
Thanks,
Greg
So by setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall then TAPI is no longer involved and it becomes a purely modem issue?
Andreas Marschall [exMVP TAPI]
2012-05-16 01:27:32 UTC
Permalink
Post by g***@comcast.net
So by setting lpCallParams->dwBearerMode to
LINEPASSTHROUGH_PASSTHROUGH then doing a LineMakeCall then TAPI is no longer involved and it becomes a purely modem issue?
Greg,
after entering passthrough mode there is no exit from it other than lineDrop(), i.e. ending the call.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group 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.
Loading...