Re: Premature Disconnection
From: Sub (subdene_at_hotmail.com)
Date: 07/06/04
- Next message: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Previous message: Gary G: "RAS in SBS 2003"
- In reply to: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Reply: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Messages sorted by: [ date ] [ thread ]
Date: 6 Jul 2004 11:33:54 -0700
Hello Andreas,
I did two tests through the tapi browser, and I mananged to get the
disconnected event without actually disconnecting it myself. The first
one I rang a land line, I was messing about with some terminals when i
got the first disconnected event:
-----------------------------Land Line-----------------------------
ITTAPI.CreateInstance ITTAPI_1
returned hr = 0x00000000
ITTAPI_1.Initialize returned hr = 0x00000000
ITTAPI_1.AdviseEventNotification returned hr = 0x00000000
cookie 990
ITTAPI_1.RegisterCallNotifications canceled
ITTAPI_1.put_EventFilter
long plFilterMask : 8 (0x00000008)
returned hr = 0x00000000
ITTAPI_1.EnumerateAddresses returned hr = 0x00000000
IEnumAddress_1
IEnumAddress_1.Next ITAddress2_1
returned hr = 0x00000000
IEnumAddress_1.Release
ITAddress2_1.CreateCall
BSTR pDestAddress : 3******
long lAddressType : 1 (0x00000001)
long lMediaTypes : 8 (0x00000008)
returned hr = 0x00000000
ITBasicCallControl** ppCall = ITBasicCallControl2_1
ITBasicCallControl2_1.Connect
VARIANT_BOOL fSync : 1
returned hr = 0x00000000
ITCallStateEvent_1
TAPI_EVENT const int TE_CALLSTATE
ITCallStateEvent_2
TAPI_EVENT const int TE_CALLSTATE
ITCallStateEvent_1.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_INPROGRESS = 1 (0x00000001)
ITCallStateEvent_2.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_CONNECTED = 2 (0x00000002)
ITCallStateEvent_1.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_NONE = 0 (0x00000000)
ITCallStateEvent_2.QueryInterface canceled
ITCallStateEvent_2.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_NONE = 0 (0x00000000)
ITBasicCallControl2_1.RequestTerminal
BSTR bstrTerminalClassGUID : {0CB9914C-79CD-47DC-ADB0-327F47CEFB20}
long lMediaType : 8 (0x00000008)
TERMINAL_DIRECTION Direction : 0
returned hr = 0x00000000
ITTerminal** ppTerminal = ITTerminal_1
ITBasicCallControl2_1.SelectTerminalOnCall
ITTerminal* pTerminal : ITTerminal_1
returned hr = 0x80004005
E_FAIL ($80004005) Unspecified error
source (null) description (null)
ITTerminal_1.QueryInterface ITMediaPlayback
returned hr = 0x00000000
ITMediaPlayback_1
ITMediaPlayback_1.put_PlayList ITCallStateEvent_3
TAPI_EVENT const int TE_CALLSTATE
BSTR bstrFileName : Greeting.WAV
returned hr = 0x80040216
0x80040216 ($80040216)
ITCallStateEvent_3.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_DISCONNECTED = 3 (0x00000003)
ITBasicCallControl2_1.Disconnect
DISCONNECT_CODE code : 0
returned hr = 0x00000000
ITCallStateEvent_3.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_DISCONNECT_BUSY = 2
(0x00000002)
-----------------------------Land Line-----------------------------
Second test, this was one to a mobile, and got disconnected in about
50 secs:
---------------------------Mobile (Handi)--------------------------
ITTAPI.CreateInstance ITTAPI_1
returned hr = 0x00000000
ITTAPI_1.Initialize returned hr = 0x00000000
ITTAPI_1.AdviseEventNotification returned hr = 0x00000000
cookie 990
ITTAPI_1.put_EventFilter
long plFilterMask : 8 (0x00000008)
returned hr = 0x00000000
ITTAPI_1.EnumerateAddresses returned hr = 0x00000000
IEnumAddress_1
IEnumAddress_1.Next ITAddress2_1
returned hr = 0x00000000
IEnumAddress_1.Release
ITAddress2_1.get_State returned hr = 0x00000000
ADDRESS_STATE* pAddressState = const int AS_INSERVICE = 0 (0x00000000)
ITAddress2_1.get_AddressName returned hr = 0x00000000
BSTR* ppName = Intel V92 External (MD5660) Modem
ITAddress2_1.CreateCall
BSTR pDestAddress : 017***********
long lAddressType : 1 (0x00000001)
long lMediaTypes : 8 (0x00000008)
returned hr = 0x00000000
ITBasicCallControl** ppCall = ITBasicCallControl2_1
ITBasicCallControl2_1.Connect
VARIANT_BOOL fSync : 1
returned hr = 0x00000000
ITCallStateEvent_1
TAPI_EVENT const int TE_CALLSTATE
ITCallStateEvent_2
TAPI_EVENT const int TE_CALLSTATE
ITCallStateEvent_1.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_INPROGRESS = 1 (0x00000001)
ITCallStateEvent_1.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_NONE = 0 (0x00000000)
ITCallStateEvent_2.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_CONNECTED = 2 (0x00000002)
ITCallStateEvent_2.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_NONE = 0 (0x00000000)
ITCallStateEvent_3
TAPI_EVENT const int TE_CALLSTATE
ITCallStateEvent_3.get_State returned hr = 0x00000000
CALL_STATE* pCallState = const int CS_DISCONNECTED = 3 (0x00000003)
ITCallStateEvent_3.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_DISCONNECT_NORMAL = 1
(0x00000001)
ITCallStateEvent_3.get_Cause returned hr = 0x00000000
CALL_STATE_EVENT_CAUSE* pCEC = const int CEC_DISCONNECT_NORMAL = 1
(0x00000001)
ITBasicCallControl2_1.Disconnect
DISCONNECT_CODE code : 0
returned hr = 0x00000000
---------------------------Mobile (Handi)--------------------------
With the first test, I was connected for about 6 mins until got
disconnected. Here is my modem log:
-----------------------------Modem Log------------------------------
07-05-2004 20:12:23.554 - File: C:\WINDOWS\System32\tapisrv.dll,
Version 5.1.2600
07-05-2004 20:12:23.554 - File: C:\WINDOWS\System32\unimdm.tsp,
Version 5.1.2600
07-05-2004 20:12:23.554 - File: C:\WINDOWS\System32\unimdmat.dll,
Version 5.1.2600
07-05-2004 20:12:23.554 - File: C:\WINDOWS\System32\uniplat.dll,
Version 5.1.2600
07-05-2004 20:12:23.564 - File: C:\WINDOWS\System32\drivers\modem.sys,
Version 5.1.2600
07-05-2004 20:12:23.564 - File: C:\WINDOWS\System32\modemui.dll,
Version 5.1.2600
07-05-2004 20:12:23.574 - File: C:\WINDOWS\System32\mdminst.dll,
Version 5.1.2600
07-05-2004 20:12:23.574 - Modem type: Intel V92 External (MD5660)
Modem
07-05-2004 20:12:23.574 - Modem inf path: oem9.inf
07-05-2004 20:12:23.574 - Modem inf section: Gen56kExt
07-05-2004 20:12:23.574 - Matching hardware ID: unimodemda266f53
07-05-2004 20:12:23.584 - 115200,8,N,1, ctsfl=1, rtsctl=2
07-05-2004 20:12:23.584 - Initializing modem.
07-05-2004 20:12:23.594 - Send: ATZ<cr>
07-05-2004 20:12:23.694 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:23.694 - Interpreted response: OK
07-05-2004 20:12:23.704 - Send: AT&FE0V1W2&D2&C1S0=0-C0<cr>
07-05-2004 20:12:23.714 - Recv: AT&FE0V1W2&D2&C1S0=0-C0<cr>
07-05-2004 20:12:23.714 - Command Echo
07-05-2004 20:12:23.805 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:23.805 - Interpreted response: OK
07-05-2004 20:12:23.815 - Send:
ATS7=60\T0L1M0\N3-J1%C1"H3\Q3B0N1X4<cr>
07-05-2004 20:12:23.895 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:23.895 - Interpreted response: OK
07-05-2004 20:12:23.895 - Dialing.
07-05-2004 20:12:23.895 - 115200,8,N,1, ctsfl=1, rtsctl=2
07-05-2004 20:12:23.905 - Send: at+fclass=8<cr>
07-05-2004 20:12:23.975 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:23.975 - Interpreted response: OK
07-05-2004 20:12:23.985 - Send: at+vls=0<cr>
07-05-2004 20:12:24.035 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:24.035 - Interpreted response: OK
07-05-2004 20:12:24.045 - Send: ATDT###########<cr>
07-05-2004 20:12:27.119 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:12:27.119 - Interpreted response: OK
07-05-2004 20:13:14.327 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:19.014 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:28.848 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:34.186 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:41.747 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:51.391 - Received DLE Raw=100, Meaning is Dial tone.
07-05-2004 20:13:59.873 - Hanging up the modem.
07-05-2004 20:13:59.883 - Send: ATH<cr>
07-05-2004 20:13:59.973 - Recv: <cr><lf>OK<cr><lf>
07-05-2004 20:13:59.973 - Interpreted response: OK
07-05-2004 20:13:59.973 - Session Statistics:
07-05-2004 20:13:59.973 - Reads : 78 bytes
07-05-2004 20:13:59.973 - Writes: 105 bytes
-----------------------------Modem Log------------------------------
I cant understand why this is happening, but I am glad that I get the
same results within the TAPI Browser. Is this a hardware problem with
the modem? I have know idea.
Thanks for any help, Dene.
- Next message: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Previous message: Gary G: "RAS in SBS 2003"
- In reply to: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Next in thread: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Reply: Andreas Marschall [MVP TAPI]: "Re: Premature Disconnection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|