public void setJvmRoute(String jvmRoute) { this.sipApplicationSession.setJvmRoute(jvmRoute); }
sessionFacade.getApplicationSession(true).setJvmRoute(jvmRoute); StaticServiceHolder.sipStandardService.getSipApplicationDispatcher(). sendSwitchoverInstruction(requestedJvmRoute, jvmRoute);
/** * Creates an application session associated with the context * @param sipContext * @return */ public MobicentsSipApplicationSession createApplicationSession(SipContext sipContext) { if (logger.isDebugEnabled()) { logger.debug("Creating new application session for sip context "+ sipContext.getApplicationName()); } //call id not needed anymore since the sipappsessionkey is not a callid anymore but a random uuid SipApplicationSessionKey sipApplicationSessionKey = SessionManagerUtil.getSipApplicationSessionKey( sipContext.getApplicationName(), null, null); MobicentsSipApplicationSession sipApplicationSession = sipContext.getSipManager().getSipApplicationSession( sipApplicationSessionKey, true); if(StaticServiceHolder.sipStandardService.isHttpFollowsSip()) { String jvmRoute = StaticServiceHolder.sipStandardService.getJvmRoute(); if(jvmRoute != null) { sipApplicationSession.setJvmRoute(jvmRoute); } } return sipApplicationSession.getFacade(); }
String jvmRoute = StaticServiceHolder.sipStandardService.getJvmRoute(); if(jvmRoute != null) { sipApplicationSession.setJvmRoute(jvmRoute);
String jvmRoute = StaticServiceHolder.sipStandardService.getJvmRoute(); if(jvmRoute != null) { sipApplicationSession.setJvmRoute(jvmRoute);