David,
I attach the mininal source files that exarcebate the number 6 problem.
Also, I attach a complete wireshark (allowing for the time out of the SendExecute, and the return of the error number 6).
Please note: the apache server never indicates an access for the /Test7960 url!
Also:
Packet # 527: CUAE Server sends CiscoIpPhoneExecute to 7960
Packet # 558: 7960 authenticates user with CUCM
Packet # 578: CUCM authorizes user
Packet # 619: 7960 Sends GET to CUAE Server
Packet #6743: 7960 Sends Error Number = "6" but I don't know in response to what.
And the App server log for this:
2009:05:08::10:25:34(93): Info: JTP Added JTapi call 1000061<->xxVq59rZpN8ghvwx
2009:05:08::10:25:34(95): Info: TM Loading IncomingCall state map to handle Metreos.CallControl.IncomingCall event
2009:05:08::10:25:34(95): Info: TM Processing new inbound call (1000061) from '4381' to '8009'
2009:05:08::10:25:34(95): Verbose: TM Executing state: b06fd5221b0e:1000061:1 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:34(95): Verbose: TM Executing state: b06fd5221b0e:1000061:5 (ForwardEventToApp) - Metreos.CallControl.JTapi
2009:05:08::10:25:34(95): Verbose: LM License check PASS: licensed: 100, running: 0.
2009:05:08::10:25:34(95): Verbose: EPM Event message: Metreos.CallControl.IncomingCall
2009:05:08::10:25:34(95): Verbose: EPM Test7960-Default-1: Running scripts added
2009:05:08::10:25:34(95): Verbose: EPM Legacy event: Metreos.CallControl.IncomingCall sent to etch app: Test7960
2009:05:08::10:25:35(06): Info: TM Enqueuing action (1000061): Metreos.CallControl.AnswerCall
2009:05:08::10:25:35(06): Verbose: TM Executing state: b06fd5221b0e:1000061:10 (AssumePreferredTxCodec) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(06): Info: TM Assuming preferred codec is Tx codec (1000061): G711u:20
2009:05:08::10:25:35(06): Verbose: TM Executing state: b06fd5221b0e:1000061:15 (ReserveConnection) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(06): Verbose: MCP connect message sent successfully
2009:05:08::10:25:35(06): Verbose: MEP Sending success response (1:9488)
2009:05:08::10:25:35(07): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.MediaControl
2009:05:08::10:25:35(07): Verbose: TM Executing state: b06fd5221b0e:1000061:20 (AcceptCall) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(07): Verbose: JTP Sent AcceptCall. stackCallId:xxVq59rZpN8ghvwx
2009:05:08::10:25:35(07): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.CallControl.JTapi
2009:05:08::10:25:35(07): Verbose: TM Executing state: b06fd5221b0e:1000061:25 (SetMedia) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(07): Verbose: JTP Got 99(Ringing) message from v7.0.
2009:05:08::10:25:35(07): Verbose: JTP Field: 5(DeviceName) = Aaron10220test
2009:05:08::10:25:35(07): Verbose: JTP Field: 6(DeviceType) = 3
2009:05:08::10:25:35(09): Verbose: JTP Field: 40(CallId) = xxVq59rZpN8ghvwx
2009:05:08::10:25:35(09): Verbose: JTP Field: 41(To) = 8009
2009:05:08::10:25:35(09): Verbose: JTP Field: 42(From) = 4381
2009:05:08::10:25:35(09): Verbose: JTP Field: 43(OriginalTo) = 8009
2009:05:08::10:25:35(09): Verbose: JTP Field: 66(JTapiCallId) = 42559/2
2009:05:08::10:25:35(09): Verbose: JTP Set media for call (ID: 1000061) RxIp: 192.168.102.20 RxPort: 20494
2009:05:08::10:25:35(09): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.CallControl.JTapi
2009:05:08::10:25:35(10): Verbose: TM Executing state: b06fd5221b0e:1000061:30 (ForwardActionToProvider) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(10): Verbose: TM Forwarding Metreos.CallControl.JTapi.AnswerCall action to provider
2009:05:08::10:25:35(10): Verbose: JTP Sent AnswerCall. stackCallId:xxVq59rZpN8ghvwx, rxIP:192.168.102.20, rxPort:20494
2009:05:08::10:25:35(10): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.CallControl.JTapi
2009:05:08::10:25:35(10): Verbose: TM Executing state: b06fd5221b0e:1000061:35 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(10): Info: TM Call '1000061' switching to state map: IncomingCall_WaitTxRx
2009:05:08::10:25:35(10): Verbose: TM Executing state: b06fd5221b0e:1000061:1 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(12): Verbose: JTP Got 31(CallEstablished) message from v7.0.
2009:05:08::10:25:35(12): Verbose: JTP Field: 5(DeviceName) = Aaron10220test
2009:05:08::10:25:35(12): Verbose: JTP Field: 6(DeviceType) = 3
2009:05:08::10:25:35(12): Verbose: JTP Field: 40(CallId) = xxVq59rZpN8ghvwx
2009:05:08::10:25:35(12): Verbose: JTP Field: 41(To) = 8009
2009:05:08::10:25:35(12): Verbose: JTP Field: 42(From) = 4381
2009:05:08::10:25:35(12): Verbose: JTP Field: 43(OriginalTo) = 8009
2009:05:08::10:25:35(12): Verbose: JTP Field: 46(Cause) = normal
2009:05:08::10:25:35(12): Verbose: JTP Field: 53(CallControlCause) = NORMAL
2009:05:08::10:25:35(12): Verbose: JTP Field: 66(JTapiCallId) = 42559/2
2009:05:08::10:25:35(12): Info: TM Enqueuing event (1000061): Metreos.CallControl.CallEstablished
2009:05:08::10:25:35(34): Verbose: JTP Got 98(MediaEstablished) message from v7.0.
2009:05:08::10:25:35(34): Verbose: JTP Field: 5(DeviceName) = Aaron10220test
2009:05:08::10:25:35(34): Verbose: JTP Field: 6(DeviceType) = 3
2009:05:08::10:25:35(34): Verbose: JTP Field: 21(TxIP) = 192.168.60.24
2009:05:08::10:25:35(34): Verbose: JTP Field: 22(TxPort) = 24688
2009:05:08::10:25:35(34): Verbose: JTP Field: 25(Codec) = 1
2009:05:08::10:25:35(34): Verbose: JTP Field: 26(Framesize) = 10
2009:05:08::10:25:35(34): Verbose: JTP Field: 40(CallId) = xxVq59rZpN8ghvwx
2009:05:08::10:25:35(34): Verbose: JTP Field: 41(To) = 8009
2009:05:08::10:25:35(34): Verbose: JTP Field: 42(From) = 4381
2009:05:08::10:25:35(35): Verbose: JTP Field: 43(OriginalTo) = 8009
2009:05:08::10:25:35(35): Verbose: JTP Field: 66(JTapiCallId) = 42559/2
2009:05:08::10:25:35(35): Verbose: TM MediaEstablished (1000061): Tx Addr=192.168.60.24:24688, RxAddr=192.168.102.20:20494, TxCodec=G711u:10, RxCodec=G711u:10.
2009:05:08::10:25:35(35): Info: TM Enqueuing event (1000061): Metreos.CallControl.MediaEstablished
2009:05:08::10:25:35(35): Verbose: TM MediaEstablished (1000061): Tx Addr=192.168.60.24:24688, RxAddr=192.168.102.20:20494, TxCodec=G711u:10, RxCodec=G711u:10.
2009:05:08::10:25:35(35): Verbose: TM Executing state: b06fd5221b0e:1000061:5 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(37): Verbose: TM Executing state: b06fd5221b0e:1000061:10 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(37): Verbose: TM Executing state: b06fd5221b0e:1000061:15 (CreateConnection) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(39): Verbose: MCP connect message sent successfully
2009:05:08::10:25:35(42): Verbose: MEP Sending success response (1:9489)
2009:05:08::10:25:35(42): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.MediaControl
2009:05:08::10:25:35(43): Verbose: TM Executing state: b06fd5221b0e:1000061:20 (SendStartTxToApp) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(43): Verbose: EPM Event message: Metreos.CallControl.StartTx
2009:05:08::10:25:35(43): Verbose: EPM Test7960-Default-1: found in running scripts
2009:05:08::10:25:35(43): Verbose: EPM Legacy event: Metreos.CallControl.StartTx sent to etch app: Test7960
2009:05:08::10:25:35(43): Verbose: TM Executing state: b06fd5221b0e:1000061:25 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(45): Verbose: TM Executing state: b06fd5221b0e:1000061:30 (SendStartRxToApp) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(45): Verbose: EPM Event message: Metreos.CallControl.StartRx
2009:05:08::10:25:35(45): Verbose: EPM Test7960-Default-1: found in running scripts
2009:05:08::10:25:35(45): Verbose: EPM Legacy event: Metreos.CallControl.StartRx sent to etch app: Test7960
2009:05:08::10:25:35(45): Verbose: TM Executing state: b06fd5221b0e:1000061:35 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(46): Verbose: TM Executing state: b06fd5221b0e:1000061:40 (ForwardResponseToApp) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(46): Verbose: EPM Response message: success
2009:05:08::10:25:35(46): Verbose: EPM Test7960-Default-1: found in running scripts
2009:05:08::10:25:35(46): Verbose: EPM Provider action response sent, method: Metreos.CallControl.answerCall, message id: success
2009:05:08::10:25:35(48): Verbose: TM Executing state: b06fd5221b0e:1000061:1000 (EndScript) - Metreos.CallControl.JTapi
2009:05:08::10:25:35(48): Verbose: TM Script ended for call '1000061'. Waiting for call service request...
2009:05:08::10:25:35(56): Verbose: EPM Test7960-Default-1: native action: Metreos.Native.CiscoIpPhone.CreateExecute completed
2009:05:08::10:25:35(56): Verbose: EPM Native action response message sent for: createExecute
2009:05:08::10:25:35(67): Verbose: EPM starting send execute
2009:05:08::10:25:35(67): Verbose: EPM Test7960-Default-1: native action: Metreos.Native.CiscoIpPhone.SendExecute completed
2009:05:08::10:25:36(23): Verbose: EPM Event message: Metreos.Providers.Http.GotRequest
2009:05:08::10:25:36(23): Verbose: EPM Test7960-Default-1: found in running scripts
2009:05:08::10:25:36(23): Verbose: EPM Legacy event: Metreos.Providers.Http.GotRequest sent to etch app: Test7960
2009:05:08::10:25:36(31): Verbose: EPM Test7960-Default-1: native action: Metreos.Native.CiscoIpPhone.CreateText completed
2009:05:08::10:26:05(68): Info: TM Call '1000061' switching to state map: User_Hangup_Media
2009:05:08::10:26:05(68): Info: TM Handling action (1000061): Metreos.CallControl.Hangup
2009:05:08::10:26:05(68): Verbose: TM Executing state: b06fd5221b0e:1000061:1 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(70): Verbose: TM Executing state: b06fd5221b0e:1000061:3 (Wait) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(70): Verbose: TM Executing state: b06fd5221b0e:1000061:5 (ForwardActionToProvider) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(70): Verbose: TM Forwarding Metreos.CallControl.JTapi.Hangup action to provider
2009:05:08::10:26:05(70): Verbose: JTP Sent Hangup. stackCallId:xxVq59rZpN8ghvwx
2009:05:08::10:26:05(70): Verbose: JTP HandleTerminateCall-Wait for the hangup for call 1000061
2009:05:08::10:26:05(70): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.CallControl.JTapi
2009:05:08::10:26:05(70): Verbose: TM Executing state: b06fd5221b0e:1000061:15 (DeleteConnection) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(70): Info: TM Deleting connection: 1000061:16777832
2009:05:08::10:26:05(70): Verbose: MCP disconnect message sent successfully
2009:05:08::10:26:05(71): Verbose: JTP Got 25(Hangup) message from v7.0.
2009:05:08::10:26:05(71): Verbose: JTP Field: 5(DeviceName) = Aaron10220test
2009:05:08::10:26:05(71): Verbose: JTP Field: 6(DeviceType) = 3
2009:05:08::10:26:05(71): Verbose: JTP Field: 40(CallId) = xxVq59rZpN8ghvwx
2009:05:08::10:26:05(71): Verbose: JTP Field: 41(To) = 8009
2009:05:08::10:26:05(71): Verbose: JTP Field: 42(From) = 4381
2009:05:08::10:26:05(71): Verbose: JTP Field: 43(OriginalTo) = 8009
2009:05:08::10:26:05(71): Verbose: JTP Field: 46(Cause) = NORMAL
2009:05:08::10:26:05(71): Verbose: JTP Field: 53(CallControlCause) = NORMAL
2009:05:08::10:26:05(71): Verbose: JTP Field: 66(JTapiCallId) = 42559/2
2009:05:08::10:26:05(71): Verbose: JTP About to remove call: 1000061
2009:05:08::10:26:05(73): Verbose: MEP Sending success response (1:9493)
2009:05:08::10:26:05(73): Verbose: TM Enqueuing 'success' (1000061) response from Metreos.MediaControl
2009:05:08::10:26:05(73): Verbose: TM Executing state: b06fd5221b0e:1000061:20 (ForwardResponseToApp) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(73): Verbose: EPM Response message: success
2009:05:08::10:26:05(73): Verbose: EPM Test7960-Default-1: found in running scripts
2009:05:08::10:26:05(73): Verbose: EPM Provider action response sent, method: Metreos.CallControl.hangup, message id: success
2009:05:08::10:26:05(73): Verbose: TM Executing state: b06fd5221b0e:1000061:1000 (EndCall) - Metreos.CallControl.JTapi
2009:05:08::10:26:05(73): Info: TM Call 6f7bedac-5989-439d-a878-b06fd5221b0e:1000061 has ended due to normal call termination
2009:05:08::10:26:05(73): Verbose: TM Call '1000061' ended. State path = 1, 5, 10, 15, 20, 25, 30, 35, 0, 1, 5, 10, 15, 20, 25, 30, 35, 40, 1000, 0, 1, 3, 5, 15, 20, 1000
2009:05:08::10:26:06(14): Error: EAE Phone was able to process request, but replied with an error: <CiscoIPPhoneError Number="6" />
2009:05:08::10:26:06(14): Verbose: EPM Native action response message sent for: sendExecute
2009:05:08::10:26:06(14): Verbose: EPM Native action response message sent for: createText
2009:05:08::10:26:06(37): Warning: EPM Msg from etch csharp runtime: System.TimeoutException: timeout waiting for cisco.uc.cuae.legacy.CiscoIpPhone._result_createText(-2047208103)
at Etch.Transport.DefaultDeliveryService.EndCall(Mailbox mb, XType responseType) in c:\BambooAgent\xml-data\build-dir\ETCH-RELEASE\binding-csharp\runtime\src\main\csharp\Etch\Transport\DefaultDeliveryService.cs:line 182
at Etch.Support.RemoteBase._EndCall(Mailbox mb, XType responseType) in c:\BambooAgent\xml-data\build-dir\ETCH-RELEASE\binding-csharp\runtime\src\main\csharp\Etch\Support\RemoteBase.cs:line 81
at cisco.uc.cuae.legacy.RemoteCiscoIpPhoneServer._Async._end_createText(Mailbox _mb) in C:\hacking\Test7960\etch-generated\etch-src\cisco.uc.cuae.legacy\RemoteCiscoIpPhoneServer.cs:line 2585
at cisco.uc.cuae.legacy.RemoteCiscoIpPhoneServer.createText(String sessionId, CreateTextOptions options) in C:\hacking\Test7960\etch-generated\etch-src\cisco.uc.cuae.legacy\RemoteCiscoIpPhoneServer.cs:line 1384
at test7960.RemoteTest7960Server.createText(String sessionId, CreateTextOptions options) in C:\hacking\Test7960\etch-generated\etch-src\test7960\RemoteTest7960Server.cs:line 1321
at test7960.ImplTest7960Client.gotRequest(String sessionId, GotRequestOptions options) in C:\hacking\Test7960\src\test7960\ImplTest7960Client.cs:line 102
at cisco.uc.cuae.legacy.StubHttpClient.<.cctor>b__0(DeliveryService _src, Object _obj, Who _sender, Message _msg) in C:\hacking\Test7960\etch-generated\etch-src\cisco.uc.cuae.legacy\StubHttpClient.cs:line 49
2009:05:08::10:26:49(89): Info: R No handler registered for nontriggering event: Metreos.Providers.Http.SessionExpired
2009:05:08::10:28:49(90): Info: R No handler registered for nontriggering event: Metreos.Providers.Http.SessionExpired
2009:05:08::10:29:21(15): Warning: EPM Msg from etch csharp runtime: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
2009:05:08::10:29:21(15): Info: EPM Etch app unregistered, name: Test7960, partition: Default
2009:05:08::10:29:21(17): Verbose: EPM Test7960-Default-1: Remove script instance: 6f7bedac-5989-439d-a878-b06fd5221b0e, Test7960, Default
2009:05:08::10:29:21(17): Verbose: EPM Session ended:
sid: 6f7bedac-5989-439d-a878-b06fd5221b0e
plugin-0: Metreos.CallControl
plugin-1: Metreos.MediaControl
plugin-2: Metreos.CallControl.JTapi
2009:05:08::10:30:49(90): Info: R No handler registered for nontriggering event: Metreos.Providers.Http.SessionExpired