public SipPrincipal getUserPrincipal() { if(this.userPrincipal == null) { if(this.getSipSession() != null) { this.userPrincipal = this.getSipSession().getUserPrincipal(); } } return this.userPrincipal; }
final MobicentsSipSession sipSession = sipServletMessage.getSipSession(); getAsynchronousExecutor().execute(new Runnable() { public void run() {
final MobicentsSipSession sipSession = sipServletMessage.getSipSession(); getAsynchronousExecutor().execute(new Runnable() { public void run() {
public void setContent(Object content, String contentType) throws UnsupportedEncodingException { if(getSipSession().getProxy() == null) { checkMessageState();
final MobicentsSipSession sipSession = sipServletMessageImpl.getSipSession(); getAsynchronousExecutor().execute(new Runnable() { public void run() {
private boolean checkForPrackNotReceived(SipServletMessageImpl sipServletMessage) { final MobicentsSipSession sipSession = sipServletMessage.getSipSession(); SipServletResponseImpl lastInfoResponse = (SipServletResponseImpl) ((SipServletRequestImpl)sipServletMessage).getLastInformationalResponse();
private boolean checkForAckNotReceived(SipServletMessageImpl sipServletMessage) { final MobicentsSipSession sipSession = sipServletMessage.getSipSession(); final SipServletResponseImpl lastFinalResponse = (SipServletResponseImpl) ((SipServletRequestImpl)sipServletMessage).getLastFinalResponse();
public MobicentsSipApplicationSession getSipApplicationSession(boolean create) { MobicentsSipSession sipSession = getSipSession(); if(sipSession != null) { MobicentsSipApplicationSession sipApplicationSession = sipSession.getSipApplicationSession();
public SipSession getSession(boolean create) { MobicentsSipSession session = getSipSession(); if (session == null && create) { MobicentsSipApplicationSession sipApplicationSessionImpl = (MobicentsSipApplicationSession)getSipApplicationSession(create); MobicentsSipSessionKey sessionKey = SessionManagerUtil.getSipSessionKey(sipApplicationSessionImpl.getKey().getId(), currentApplicationName, message, false); session = sipApplicationSessionImpl.getSipContext().getSipManager().getSipSession(sessionKey, create, sipFactoryImpl, sipApplicationSessionImpl); session.setSessionCreatingTransactionRequest(this); session.setOrphan(isOrphan()); sessionKey = session.getKey(); } if(session != null) { return session.getFacade(); } return null; }