Author Message
yangtao
Joined: May 20, 2015
Messages: 3
Offline
I'm tring to use DMCC to record call voice on One-X Mobile sip client. It seems OK when using the client mode record in Dashboard, but when I changed mode to Server Mode, Dashboard sent a error message as below and didn't record.


Start Recording Response:11 Error:<?xml version="1.0" encoding="UTF-8"?><CSTAErrorCode xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3"><unspecified /></CSTAErrorCode>



AES version?6.3


Can anyone help me?
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
You will get more information in the DMCC traces on AE Services.

You can get instructions on how to find these traces in the Devconnect Product FAQ "How can I monitor the XML being sent and received by the AE Services Server (debug, log, trace)?". It is in the "FAQ: AE Services Device, Media, and Call Control (DMCC) -> Other" section.

Martin
yangtao
Joined: May 20, 2015
Messages: 3
Offline
Thanks, Martin Flynn, I've checked the AES log, and found several errors in log.


....
FINE: [aes:192.168.4.22:6585:0] Forwarded AudioStartEvent to Media
2017-02-21 01.04.52,403 :T-107: com.avaya.mvcs.proxy.CstaMarshallerNode$CstaMarshallerThread run
....
WARNING: A service method threw an Exception when invoked!
ServiceMethod: com.avaya.platform.broker.impl.ServiceMethodImpl@10bff86[com.avaya.cmapi.extsvc.ExtendedVoiceUnitServicesImpl@198c68e, public ch.ecma.csta.binding.RecordMessageResponse com.avaya.cmapi.extsvc.VoiceUnitServicesImpl.recordMessage(ch.ecma.csta.binding.RecordMessage) throws ch.ecma.csta.errors.CstaException]
Exception: java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
Request: session[session 9241E65E977256CA8FC00CDB31FDB9E2-55] ch.ecma.csta.binding.RecordMessage@299e72
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.....
Caused by: java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
at com.avaya.cmapi.intsvc.delegs.RecordingDelegate.validateTerminalSession(RecordingDelegate.java:303)

.....
2017-02-21 01.04.59,383 :T-104: com.avaya.mvcs.proxy.CstaRouterNode processPacket
WARNING: The service method threw java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook, session=session[session 9241E65E977256CA8FC00CDB31FDB9E2-55,DefaultTCPChannel Bound to SocketAddress: /192.168.4.34:4721 Connected to SocketAddress: /192.168.4.236:30106], request=session[session 9241E65E977256CA8FC00CDB31FDB9E2-55] ch.ecma.csta.binding.RecordMessage@299e72
java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
at com.avaya.cmapi.intsvc.delegs.RecordingDelegate.validateTerminalSession(RecordingDelegate.java:303)
.....
2017-02-21 01.04.59,383 :T-104: com.avaya.mvcs.proxy.CstaRouterNode processPacket
FINE: invokeID= 10 Received java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook in response to session[session 9241E65E977256CA8FC00CDB31FDB9E2-55] ch.ecma.csta.binding.RecordMessage@299e72
.....
FINEST: Returning negative ack to client session (9241E65E977256CA8FC00CDB31FDB9E2-55) : ch.ecma.csta.errors.CstaException: java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
ch.ecma.csta.errors.CstaException: java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
at com.avaya.mvcs.proxy.CstaMarshallerNode.convertToCstaException(CstaMarshallerNode.java:519)
.....
Caused by: java.lang.IllegalStateException: [6585:aes:192.168.4.22:0] Station is onHook
at com.avaya.cmapi.intsvc.delegs.RecordingDelegate.validateTerminalSession(RecordingDelegate.java:303)
.....


I don't know what "Station is onHook" mean, Can you help me? Thanks!
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
Your station (recorder) is ON-hook. This means that is is not in a call and so cannot play media. You must place it off-hook first. How you do this will depend on how your recorder works.

If you are using Multiple Registration, you should probably wait until the agent/customer has answered the call. Alternatively, for an incoming call, you could force the agents phone off hook by using SetHookswitchStatus or the Call Control command AnswerCall.

If you use Single Step Conference, the station should go off-hook as soon as you perform the SSC. If it has not gone off-hook, you should check the logs for an error report.

If you use Service Observer, then you should have left the station off-hook. It seems that it has been placed on-hook in the mean time.

Martin
yangtao
Joined: May 20, 2015
Messages: 3
Offline
Thanks very much, MartinFlynn!
I'll check device register status and try again.
Go to:   
Mobile view