I am trying to send SIP notify to a SIP Endpoint but Getting error if SIP Endpoint is at the same machine. If i use two different machines it works.
sipCoreComponentService.sendCheckSyncNotify(to, destination,destPort, false);
the this function has :
ClientTransaction trans= sipLayer.sipProvider.getNewClientTransaction(notifyRequest);
trans.sendRequest(); // Send it out-of-dialog
trans.setApplicationData(this);
What could be the problem?
I am getting this error:
Exception javax.sip.SipException: Cannot assign requested address: Datagram send failed
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:972)