Ejemplo n.º 1
0
 // To send check-sync to the device that is authenticated with instrument id
 protected void sendCheckSyncToMac() {
   try {
     m_sip.sendCheckSync(getInstrumentAddrSpec());
   } catch (RuntimeException ex) {
     throw new RestartException(PHONE_SIP_EXCEPTION);
   }
 }
Ejemplo n.º 2
0
  protected void sendCheckSyncToFirstLine() {
    if (getLines().size() == 0) {
      throw new RestartException("&phone.line.not.valid");
    }

    Line line = getLine(0);
    try {
      m_sip.sendCheckSync(line.getAddrSpec());
    } catch (RuntimeException ex) {
      throw new RestartException(PHONE_SIP_EXCEPTION);
    }
  }
Ejemplo n.º 3
0
 @Override
 public void put(Representation entity) {
   m_sipService.sendRefer(getUser(), m_from, m_to);
 }