code: public JingleSession createIncomingJingleSession(JingleSessionRequest request) throws XMPPException {
          if (request == null) {
              throw new NullPointerException("Received request cannot be null");
          }
  
          JingleSession session = new JingleSession(connection, request, request.getFrom(), connection.getUser(), jingleMediaManagers);
  
          triggerSessionCreated(session);
  
          return session;
      }
docs: When the session request is acceptable, this method should be invoked. It
  will create an JingleSession which allows the negotiation to procede.
  
  @param request      the remote request that is being accepted.
  @return the session which manages the rest of the negotiation.