SIP ACK Dialog is null
I am creating a SIP client in java using JAIN SIP. I have managed to register and send INVITE but when sending the ACK back to the server I am getting error which says: Cannot Create ACK - no remote Target I checked the value of Dialog and it is null In the processResponce(), I get the value it is also null this.dialog = responseEvent.getClientTransaction().getDialog(); I pass it to ack(responseEvent.getResponse(), dialog) request =this.dialog.createAck(((CSeqHeader)response.getHeader("CSeq")).getSeqNumber()); dialog.sendAck(request); Also in the Register() and Call() this.dialog = inviteTid