呼叫系统API


客户挂断时回调

<p><strong>简要描述:</strong></p> <ul> <li>客户挂断会话时触发该事件</li> </ul> <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>method</td> <td>Hangup</td> <td>string</td> <td>挂断时</td> </tr> <tr> <td>data</td> <td></td> <td>json</td> <td></td> </tr> <tr> <td>- - telephone</td> <td></td> <td>int</td> <td>客户号码</td> </tr> <tr> <td>- - direction</td> <td></td> <td>string</td> <td>呼叫类型</td> </tr> <tr> <td>- - start_stamp</td> <td></td> <td>date</td> <td>开始时间</td> </tr> <tr> <td>- - duration</td> <td></td> <td>int</td> <td>总时长(秒)</td> </tr> <tr> <td>- - billsec</td> <td></td> <td>int</td> <td>应答时长(秒)</td> </tr> <tr> <td>- - consume</td> <td></td> <td>string</td> <td>金额(元)</td> </tr> <tr> <td>- - hangup_cause</td> <td></td> <td>string</td> <td>挂断原因</td> </tr> <tr> <td>- - hangup_disposition</td> <td></td> <td>string</td> <td>挂断处理</td> </tr> <tr> <td>- - admin_id</td> <td></td> <td>int</td> <td>用户编号</td> </tr> <tr> <td>- - answer_stamp</td> <td></td> <td>string</td> <td>应答时间</td> </tr> <tr> <td>- - digits</td> <td></td> <td>string</td> <td>按键</td> </tr> <tr> <td>- - end_stamp</td> <td></td> <td>string</td> <td>结束时间</td> </tr> <tr> <td>- - extno</td> <td></td> <td>string</td> <td>工号</td> </tr> <tr> <td>- - group</td> <td></td> <td>string</td> <td>标签</td> </tr> <tr> <td>- - info_uuid</td> <td></td> <td>string</td> <td>用户信息编号</td> </tr> <tr> <td>- - inspection</td> <td></td> <td>int</td> <td>质检状态</td> </tr> <tr> <td>- - inspectionName</td> <td></td> <td>string</td> <td>质检名称</td> </tr> <tr> <td>- - project_id</td> <td></td> <td>string</td> <td>项目编号</td> </tr> <tr> <td>- - record_file</td> <td></td> <td>string</td> <td>录音名称</td> </tr> <tr> <td>- - status</td> <td></td> <td>int</td> <td>客户状态值</td> </tr> <tr> <td>- - statusName</td> <td></td> <td>string</td> <td>客户状态名称</td> </tr> <tr> <td>- - task_id</td> <td></td> <td>string</td> <td>任务编号</td> </tr> <tr> <td>- - uuid</td> <td></td> <td>string</td> <td>话单编号</td> </tr> <tr> <td>- - agentName</td> <td></td> <td>string</td> <td>坐席名称</td> </tr> </tbody> </table> <p><strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML