+ tid + ":\n" + response.getStatusCode() +
" cseq = " + response.getHeader(CSeqHeader.NAME) +
" dialog " + responseReceivedEvent.getDialog());
}
CSeqHeader cseq = (CSeqHeader) response.getHeader( CSeqHeader.NAME );
if (cseq.getMethod().equals(Request.INVITE)) {
try {
sendNotify( response.getStatusCode(), response.getReasonPhrase() );
} catch (Exception e1) {
TestHarness.fail("Failed to send notify, because of " + e1.getMessage());
}
if (response.getStatusCode() >= 200 && response.getStatusCode() < 300) {
try {
Request ack = tid.getDialog().createAck( cseq.getSeqNumber() );
tid.getDialog().sendAck( ack );
// kill it right away
if ( tid.getDialog().getState() != DialogState.TERMINATED ) {
Request bye = tid.getDialog()