javax.sip.Dialog.delete()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(167)

本文整理了Java中javax.sip.Dialog.delete()方法的一些代码示例,展示了Dialog.delete()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dialog.delete()方法的具体详情如下:
包路径:javax.sip.Dialog
类名称:Dialog
方法名:delete

Dialog.delete介绍

暂无

代码示例

代码示例来源:origin: org.mobicents.servlet.sip/sip-servlets-impl

sessionCreatingDialog.delete();

代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-tomcat-jboss4

session.getSessionCreatingDialog().delete();

代码示例来源:origin: org.apache.camel/camel-sip

dialog.delete();

代码示例来源:origin: org.mobicents.servlet.sip/sip-servlets-impl

sessionCreatingDialog.delete();

代码示例来源:origin: org.mobicents.servlet.sip/sip-servlets-impl

sessionCreatingDialog.delete();

代码示例来源:origin: org.mobicents.examples/restcomm-slee-example-mscontrol-demo-sbb

private void abortSipSessionSetup() {
  SbbLocalObject sbbLocalObject = sbbContext.getSbbLocalObject();
  ActivityContextInterface dialogACI = getDialogACI();
  if (dialogACI != null) {
    dialogACI.detach(sbbLocalObject);
    try {
      Dialog dialog = (Dialog) dialogACI.getActivity();
      dialog.delete();
    } catch (Exception e) {
      tracer.severe("failed to abort sip dialog.", e);
    }
  }
  ActivityContextInterface serverTransactionACI = getServerTransactionACI();
  if (serverTransactionACI != null) {
    serverTransactionACI.detach(sbbLocalObject);
    ServerTransaction serverTransaction = (ServerTransaction) serverTransactionACI
        .getActivity();
    try {
      Response response = sipRaSbbInterface.getMessageFactory()
          .createResponse(Response.SERVER_INTERNAL_ERROR,
              serverTransaction.getRequest());
      serverTransaction.sendResponse(response);
    } catch (Exception e) {
      tracer.severe("failed to abort sip server tx.", e);
    }
  }
}

代码示例来源:origin: org.mobicents.examples/mobicents-slee-example-mscontrol-demo-sbb

private void abortSipSessionSetup() {
  SbbLocalObject sbbLocalObject = sbbContext.getSbbLocalObject();
  ActivityContextInterface dialogACI = getDialogACI();
  if (dialogACI != null) {
    dialogACI.detach(sbbLocalObject);
    try {
      Dialog dialog = (Dialog) dialogACI.getActivity();
      dialog.delete();
    } catch (Exception e) {
      tracer.severe("failed to abort sip dialog.", e);
    }
  }
  ActivityContextInterface serverTransactionACI = getServerTransactionACI();
  if (serverTransactionACI != null) {
    serverTransactionACI.detach(sbbLocalObject);
    ServerTransaction serverTransaction = (ServerTransaction) serverTransactionACI
        .getActivity();
    try {
      Response response = sipRaSbbInterface.getMessageFactory()
          .createResponse(Response.SERVER_INTERNAL_ERROR,
              serverTransaction.getRequest());
      serverTransaction.sendResponse(response);
    } catch (Exception e) {
      tracer.severe("failed to abort sip server tx.", e);
    }
  }
}

代码示例来源:origin: org.mobicents.servers.jainslee.enablers/sip-subscription-client-sbb

event.getDialog().delete();

相关文章