Home | History | Annotate | Download | only in stack

Lines Matching refs:sipMessage

282      * @param sipMessage Message to send.
285 public void sendMessage(SIPMessage sipMessage) throws IOException {
286 byte[] msg = sipMessage.encodeAsBytes(this.getTransport());
292 this.sendMessage(msg, /* sipMessage instanceof SIPRequest */true);
295 logMessage(sipMessage, peerAddress, peerPort, time);
356 * @param sipMessage -- the message that incurred the error.
361 public void handleException(ParseException ex, SIPMessage sipMessage, Class hdrClass,
373 "Encountered Bad Message \n" + sipMessage.toString());
378 String msgString = sipMessage.toString();
403 sipMessage.addUnparsed(header);
411 * @param sipMessage Mesage to process (this calls the application for processing the
414 public void processMessage(SIPMessage sipMessage) throws Exception {
416 if (sipMessage.getFrom() == null
417 || // sipMessage.getFrom().getTag()
419 sipMessage.getTo() == null || sipMessage.getCallId() == null
420 || sipMessage.getCSeq() == null || sipMessage.getViaHeaders() == null) {
421 String badmsg = sipMessage.encode();
430 ViaList viaList = sipMessage.getViaHeaders();
435 if (sipMessage instanceof SIPRequest) {
478 if (sipMessage instanceof SIPRequest) {
480 SIPRequest sipRequest = (SIPRequest) sipMessage;
491 sipStack.serverLogger.logMessage(sipMessage, this.getPeerHostPort().toString(),
529 SIPResponse sipResponse = (SIPResponse) sipMessage;