Package org.mobicents.mscontrol

Examples of org.mobicents.mscontrol.MsSignalDetector


    }

  }

  private void initDtmfDetector(MsConnection connection, String userEndPoint) {
    MsSignalDetector dtmfDetector = msProvider
        .getSignalDetector(userEndPoint);
    try {
      ActivityContextInterface dtmfAci = msActivityFactory
          .getActivityContextInterface(dtmfDetector);
      dtmfAci.attach(this.getSbbLocalObject());
      dtmfDetector.receive(Basic.DTMF, connection, new String[] {});
    } catch (UnrecognizedActivityException e) {
      log.error(e.getMessage(), e);
    }
  }
View Full Code Here


            connection.release();
        }
    }
   
    private void initDtmfDetector(MsConnection connection) {
        MsSignalDetector dtmfDetector = msProvider.getSignalDetector(this.getUserEndpoint());
        try {
            ActivityContextInterface dtmfAci =
                    mediaAcif.getActivityContextInterface(dtmfDetector);
            dtmfAci.attach(sbbContext.getSbbLocalObject());
            dtmfDetector.receive(Basic.DTMF, connection, new String[]{});
        } catch (UnrecognizedActivityException e) {
        }
    }
View Full Code Here

    }
    return null;
  }

  private void initDtmfDetector(MsConnection connection, String endpointName) {
    MsSignalDetector dtmfDetector = msProvider
        .getSignalDetector(endpointName);
    try {
      ActivityContextInterface dtmfAci = mediaAcif
          .getActivityContextInterface(dtmfDetector);
      dtmfAci.attach(getSbbContext().getSbbLocalObject());
      dtmfDetector.receive(Basic.DTMF, connection, new String[] {});
    } catch (UnrecognizedActivityException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

    }
    return null;
  }

  private void initDtmfDetector(MsConnection connection, String endpointName) {
    MsSignalDetector dtmfDetector = msProvider
        .getSignalDetector(endpointName);
    try {
      ActivityContextInterface dtmfAci = mediaAcif
          .getActivityContextInterface(dtmfDetector);
      dtmfAci.attach(getSbbContext().getSbbLocalObject());
      dtmfDetector.receive(Basic.DTMF, connection, new String[] {});
    } catch (UnrecognizedActivityException e) {
    }
  }
View Full Code Here

TOP

Related Classes of org.mobicents.mscontrol.MsSignalDetector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.