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

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

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

Dialog.sendRequest介绍

暂无

代码示例

代码示例来源:origin: org.mobicents.examples/converged-demo-callcontrol-sbb

SbbLocalObject mySelf = sbbContext.getSbbLocalObject();
  acIntf.attach(mySelf);
  dialog.sendRequest(ct);
} catch (Exception e) { // This catches no less than 10 distinct

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

logger.debug("Sending the in dialog request " + request);
dialog.sendRequest((ClientTransaction) getTransaction());

代码示例来源:origin: org.mobicents.examples/call-controller2-sbbs

/**
 * Voice Mail will hang up on caller sending a BYE Request.
 * 
 */
private void sendByeRequest() {
  log.info("########## VOICE MAIL SBB: sendByRequest ##########");
  try {
    SipProvider sipProvider = getSipFactoryProvider();
    Dialog dialog = this.getDialog();
    if(dialog == null)
    {
      return;
    }
    Request request = dialog.createRequest(Request.BYE);
    ClientTransaction ct = sipProvider.getNewClientTransaction(request);
    dialog.sendRequest(ct);
    releaseState();
  } catch (TransactionUnavailableException e) {
    log.severe(e.getMessage(), e);
  } catch (SipException e) {
    log.severe(e.getMessage(), e);
  }
}

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

dialog.sendRequest(clientTransactionId);

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

logger.info("Sending the request through the dialog " + clonedRequest);
dialog.sendRequest(clientTransaction);

相关文章