Home
last modified time | relevance | path

Searched refs:sipMessage (Results 1 – 13 of 13) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageChannel.java334 SIPMessage sipMessage = null; in processIncomingDataPacket() local
337 sipMessage = myParser.parseSIPMessage(msgBytes); in processIncomingDataPacket()
384 if (sipMessage == null) { in processIncomingDataPacket()
397 ViaList viaList = sipMessage.getViaHeaders(); in processIncomingDataPacket()
399 if (sipMessage.getFrom() == null || sipMessage.getTo() == null in processIncomingDataPacket()
400 || sipMessage.getCallId() == null in processIncomingDataPacket()
401 || sipMessage.getCSeq() == null in processIncomingDataPacket()
402 || sipMessage.getViaHeaders() == null) { in processIncomingDataPacket()
407 + "From = " + sipMessage.getFrom() + "To = " in processIncomingDataPacket()
408 + sipMessage.getTo() + "CallId = " in processIncomingDataPacket()
[all …]
DTCPMessageChannel.java285 public void sendMessage(SIPMessage sipMessage) throws IOException { in sendMessage() argument
286 byte[] msg = sipMessage.encodeAsBytes(this.getTransport()); in sendMessage()
295 logMessage(sipMessage, peerAddress, peerPort, time); in sendMessage()
361 public void handleException(ParseException ex, SIPMessage sipMessage, Class hdrClass, in handleException() argument
373 "Encountered Bad Message \n" + sipMessage.toString()); in handleException()
378 String msgString = sipMessage.toString(); in handleException()
403 sipMessage.addUnparsed(header); in handleException()
414 public void processMessage(SIPMessage sipMessage) throws Exception { in processMessage() argument
416 if (sipMessage.getFrom() == null in processMessage()
419 sipMessage.getTo() == null || sipMessage.getCallId() == null in processMessage()
[all …]
DTLSMessageChannel.java285 public void sendMessage(SIPMessage sipMessage) throws IOException { in sendMessage() argument
286 byte[] msg = sipMessage.encodeAsBytes(this.getTransport()); in sendMessage()
290 this.sendMessage(msg, sipMessage instanceof SIPRequest); in sendMessage()
293 logMessage(sipMessage, peerAddress, peerPort, time); in sendMessage()
341 public void handleException(ParseException ex, SIPMessage sipMessage, Class hdrClass, in handleException() argument
354 String msgString = sipMessage.toString(); in handleException()
378 sipMessage.addUnparsed(header); in handleException()
391 public void processMessage(SIPMessage sipMessage) throws Exception { in processMessage() argument
393 if (sipMessage.getFrom() == null || sipMessage.getTo() == null in processMessage()
394 || sipMessage.getCallId() == null || sipMessage.getCSeq() == null in processMessage()
[all …]
DMessageChannel.java123 public abstract void sendMessage(SIPMessage sipMessage) throws IOException; in sendMessage() argument
199 public void sendMessage(SIPMessage sipMessage, Hop hop) throws IOException { in sendMessage() argument
212 ((RawMessageChannel) messageChannel).processMessage(sipMessage); in sendMessage()
220 byte[] msg = sipMessage.encodeAsBytes(this.getTransport()); in sendMessage()
222 this.sendMessage(msg, hopAddr, hop.getPort(), sipMessage instanceof SIPRequest); in sendMessage()
235 logMessage(sipMessage, hopAddr, hop.getPort(), time); in sendMessage()
246 public void sendMessage(SIPMessage sipMessage, InetAddress receiverAddress, int receiverPort) in sendMessage() argument
249 byte[] bytes = sipMessage.encodeAsBytes(this.getTransport()); in sendMessage()
250 sendMessage(bytes, receiverAddress, receiverPort, sipMessage instanceof SIPRequest); in sendMessage()
251 logMessage(sipMessage, receiverAddress, receiverPort, time); in sendMessage()
[all …]
DRawMessageChannel.java7 public abstract void processMessage(SIPMessage sipMessage) throws Exception ; in processMessage() argument
DSIPTransactionStack.java906 public SIPTransaction findTransaction(SIPMessage sipMessage, boolean isServer) { in findTransaction() argument
910 Via via = sipMessage.getTopmostVia(); in findTransaction()
912 String key = sipMessage.getTransactionId(); in findTransaction()
929 if (sipServerTransaction.isMessagePartOfTransaction(sipMessage)) { in findTransaction()
936 Via via = sipMessage.getTopmostVia(); in findTransaction()
938 String key = sipMessage.getTransactionId(); in findTransaction()
953 if (clientTransaction.isMessagePartOfTransaction(sipMessage)) { in findTransaction()
DSIPDialog.java718 private void setRemoteParty(SIPMessage sipMessage) { in setRemoteParty() argument
722 this.remoteParty = sipMessage.getTo().getAddress(); in setRemoteParty()
724 this.remoteParty = sipMessage.getFrom().getAddress(); in setRemoteParty()
1780 private void setLocalParty(SIPMessage sipMessage) { in setLocalParty() argument
1782 this.localParty = sipMessage.getFrom().getAddress(); in setLocalParty()
1784 this.localParty = sipMessage.getTo().getAddress(); in setLocalParty()
2841 private void doTargetRefresh(SIPMessage sipMessage) { in doTargetRefresh() argument
2843 ContactList contactList = sipMessage.getContactHeaders(); in doTargetRefresh()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPDuplicateHeaderException.java49 protected SIPMessage sipMessage; field in SIPDuplicateHeaderException
54 return sipMessage; in getSIPMessage()
65 public void setSIPMessage(SIPMessage sipMessage) { in setSIPMessage() argument
66 this.sipMessage = sipMessage; in setSIPMessage()
DHeaderIterator.java41 private SIPMessage sipMessage; field in HeaderIterator
44 protected HeaderIterator(SIPMessage sipMessage, SIPHeader sipHeader) { in HeaderIterator() argument
45 this.sipMessage = sipMessage; in HeaderIterator()
86 this.sipMessage.removeHeader(sipHeader.getName()); in remove()
DMessageFactoryImpl.java709 SIPMessage sipMessage, Class headerClass, in createRequest()
725 sipMessage.addUnparsed(headerText); in createRequest()
735 SIPMessage sipMessage = smp.parseSIPMessage(requestString); in createRequest() local
737 if (!(sipMessage instanceof SIPRequest)) in createRequest()
740 return (SIPRequest) sipMessage; in createRequest()
758 SIPMessage sipMessage = smp.parseSIPMessage(responseString); in createResponse() local
760 if (!(sipMessage instanceof SIPResponse)) in createResponse()
763 return (SIPResponse) sipMessage; in createResponse()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipelinedMsgParser.java272 SIPMessage sipMessage = null; in run() local
278 sipMessage = smp.parseSIPMessage(inputBuffer.toString()); in run()
279 if (sipMessage == null) { in run()
292 ContentLength cl = (ContentLength) sipMessage in run()
306 sipMessage.removeContent(); in run()
336 sipMessage.setMessageContent(message_body); in run()
342 sipMessageListener.processMessage(sipMessage); in run()
DParseExceptionListener.java60 SIPMessage sipMessage, in handleException() argument
DStringMsgParser.java682 SIPMessage sipMessage = smp in main() local
685 + sipMessage.getTopmostVia().getBranch()); in main()