code: @Override
      public SmsMessage getSmsMessageBySmppMessageId(final String smppMessageId) {
          final SqlSession session = sessions.openSession();
          try {
              final Map<String, Object> result = session.selectOne(namespace + "getSmsMessageBySmppMessageId", smppMessageId);
              if (result != null) {
                  return toSmsMessage(result);
              } else {
                  return null;
              }
          } finally {
              session.close();
          }
      }
docs: /* (non-Javadoc)
  @see org.restcomm.connect.dao.SmsMessagesDao#getSmsMessageBySmppMessageId(java.lang.String)