Home | History | Annotate | Download | only in sip

Lines Matching defs:via

35 import gov.nist.javax.sip.header.Via;
288 // Be kind and assign a via header for this provider if the user is
293 Via via = lp.getViaHeader();
294 request.setHeader(via);
304 * User decided to give us his own via header branch. Lets see if it
387 Via topmostVia = sipRequest.getTopmostVia();
686 // Check if we have a valid via.
689 throw new SipException("Invalid SipRequest -- no via header!");
693 * JvB: Via branch should already be OK, dont touch it here? Some
698 Via via = sipRequest.getTopmostVia();
699 String branch = via.getBranch();
701 via.setBranch(sipRequest.getTransactionId());
744 Via via = sipResponse.getTopmostVia();
745 if (via == null)
746 throw new SipException("No via header in response!");
751 String transport = via.getTransport();
753 // check to see if Via has "received paramaeter". If so
754 // set the host to the via parameter. Else set it to the
755 // Via host.
756 String host = via.getReceived();
759 host = via.getHost();
762 int port = via.getRPort();
764 port = via.getPort();