在创建TCP Config Android PJSIP时PJSIP_EUNSUPTRANSPORT [status = 171060]

时间:2019-01-12 21:05:46

标签: android tcp sip pjsip

在Android中为PJSIP创建tcp配置时出现以下错误。

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet"/>

<ol class="breadcrumb text-center">
  <li class="breadcrumb-item">
     <a class="btn btn-primary" href="#scrapModal" data-toggle="modal" data-table="product1">Insert1</a>
     <a class="btn btn-primary" href="#scrapModal" data-toggle="modal" data-table="product2">Insert2</a>
     <a class="btn btn-primary" href="#scrapModal" data-toggle="modal" data-table="product3">Insert3</a>
     <a class="btn btn-primary" href="#scrapModal" data-toggle="modal" data-table="product4">Insert4</a>
  </li>
</ol>

<div class="modal fade" id="scrapModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel1" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel1">Confirm Clear?</h5>
        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&#215;</span>
        </button>
      </div>
      <div class="modal-body">
        Are you sure you want to clear scrap for this table.
      </div>
      <div class="modal-footer">
        <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
        <a class="btn btn-danger" href="#">Clear</a>
      </div>
    </div>
  </div>
</div>

这是我的代码

Unable to generate suitable Contact header for registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
D/SipTag: Sun Unable to create registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]

我进行了很多搜索,尝试了不同的方法,但没有任何效果。我在这里想念什么吗?

1 个答案:

答案 0 :(得分:0)

解决了。我在编译PJSIP时缺少OpenSSL。您必须先编译openssl并在编译PJSIP时手动添加它。