On Mon, Jun 2, 2014 at 3:28 PM, Jim Black <jblack@xxxxxxxxx> wrote: > Thanks again for the quick reply. I am using Java Websockets Java EE 7 JSR > 356 - Tyrus part of the Oracle Glassfish package. I have retested on various > servers and am seeing the same behavior. The call itself is fine but when > one party hangs up I get the exception (onClose) from Asterisk. I am not > sending a corresponding ARI event - the Hangup or StasisEnd have not yet > fired. > > The object I capture in the onClose has the following info: > > CloseReason object: > closeCode: > code:1007 > Name:NOT_CONSISTENT > reasonPhrase:Illegal UTF-8 Sequence > > > The only way we'll know what is causing this is if we figure out what Asterisk sent to your client over the WebSocket connection. Wireshark should show that; hopefully, the client library also contains debugging capabilities allowing you to dump out the bytes received. -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev