分机呼叫状态接口
<p>服务器地址<br />
<a href="http://in.api.mobi.infin8linx.com:4435/api/sip/user/call/status"><a href="http://in.api.mobi.infin8linx.com:4435/api/sip/user/call/status">http://in.api.mobi.infin8linx.com:4435/api/sip/user/call/status</a></a></p>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>company_code</td>
<td>是</td>
<td>string</td>
<td>公司编码</td>
</tr>
<tr>
<td>token</td>
<td>是</td>
<td>string</td>
<td>鉴权 token</td>
</tr>
<tr>
<td>sip_user</td>
<td>是</td>
<td>string</td>
<td>分机号</td>
</tr>
</tbody>
</table>
<p>请求参数示例:</p>
<pre><code>{
&quot;company_code&quot;:&quot;20000105&quot;,
&quot;token&quot;:&quot;c58191c83729f69acef8aeb8a8363ab7&quot;,
&quot;sip_user&quot;:&quot;709232&quot;
}</code></pre>
<p><strong>响应:</strong></p>
<table>
<thead>
<tr>
<th>字段</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>ret</td>
<td>int</td>
<td>返回码</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回信息</td>
</tr>
<tr>
<td>data</td>
<td>string</td>
<td>数据对象</td>
</tr>
<tr>
<td>—status</td>
<td>string</td>
<td>状态码</td>
</tr>
<tr>
<td>—desc</td>
<td>string</td>
<td>返回信息</td>
</tr>
<tr>
<td>—result</td>
<td>string</td>
<td>结果集</td>
</tr>
<tr>
<td>——extnumber</td>
<td>string</td>
<td>分机号</td>
</tr>
<tr>
<td>——status</td>
<td>string</td>
<td>状态</td>
</tr>
<tr>
<td>——caller</td>
<td>string</td>
<td>呼叫号码</td>
</tr>
<tr>
<td>——callee</td>
<td>string</td>
<td>被叫号码</td>
</tr>
<tr>
<td>——disnumber</td>
<td>string</td>
<td>显示号码</td>
</tr>
<tr>
<td>——direction</td>
<td>string</td>
<td>方向</td>
</tr>
<tr>
<td>——channel</td>
<td>string</td>
<td>渠道</td>
</tr>
<tr>
<td>——idleduration</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>——callduration</td>
<td>string</td>
<td></td>
</tr>
<tr>
<td>—reqtime</td>
<td>string</td>
<td>请求时间</td>
</tr>
<tr>
<td>—rsptime</td>
<td>string</td>
<td>返回时间</td>
</tr>
</tbody>
</table>
<p>响应结果示例:</p>
<pre><code>{
&quot;ret&quot;: 200,
&quot;data&quot;: {
&quot;status&quot;: 0,
&quot;desc&quot;: &quot;获取成功&quot;,
&quot;result&quot;: [
{
&quot;extnumber&quot;: &quot;709232&quot;,
&quot;status&quot;: 1201,
&quot;caller&quot;: &quot;051485592858&quot;,
&quot;callee&quot;: &quot;15817327005&quot;,
&quot;disnumber&quot;: &quot;051485592858&quot;,
&quot;direction&quot;: &quot;callout&quot;,
&quot;channel&quot;: &quot;A&quot;,
&quot;idleduration&quot;: 1374,
&quot;callduration&quot;: null
}
],
&quot;reqtime&quot;: 1594002203,
&quot;rsptime&quot;: 1594002203
},
&quot;msg&quot;: &quot;&quot;
}</code></pre>