文档首页 > > 开发指南>

挂机原因值、Q850原因值、呼叫拆线点

挂机原因值、Q850原因值、呼叫拆线点

分享
更新时间:2021/04/16 GMT+08:00

调用接口会产生接口调用错误码,详见API错误码处理

调用接口成功后,如果用户在添加应用时指定了呼叫状态接收地址和呼叫话单接收地址,则隐私保护通话平台在接收到南向网元返回的呼叫状态通知和话单通知时,会主动将呼叫状态通知和话单通知推送给客户。

话单消息示例如下:

POST /fee HTTP/1.1

Content-Length: xx 

{"eventType":"fee","feeLst":[{"direction":1,"spId":"****","appKey":"****","icid":"ba171f34e6953fcd751edc77127748f4.3757285803.338666679.5","bindNum":"+86138****0022","sessionId":"1200_1827_4294967295_20190124023003@callenabler246.huaweicaas.com","subscriptionId":"****","callerNum":"+86138****0021","calleeNum":"+86138****0022","fwdDisplayNum":"+86138****0022","fwdDstNum":"+86138****7021","callInTime":"2019-01-24 02:30:03","fwdStartTime":"2019-01-24 02:30:03","fwdAlertingTime":"2019-01-24 02:30:04","fwdAnswerTime":"2019-01-24 02:30:06","callEndTime":"2019-01-24 02:30:22","fwdUnaswRsn":0,"ulFailReason":0,"sipStatusCode":0,"callOutUnaswRsn":0,"recordFlag":1,"recordStartTime":"2019-01-24 02:30:06","recordDomain":"****.com","recordBucketName":"****","recordObjectName":"****.wav","ttsPlayTimes":0,"ttsTransDuration":0,"mptyId":"****","serviceType":"003","hostName":"callenabler246.huaweicaas.com"}]}

如果某一通呼叫失败,客户可根据平台推送的挂机原因值(stateCode)、转接呼叫操作失败的Q850原因值(fwdUnaswRsn)或通话失败的拆线点(ulFailReason)查询失败原因。

  1. 在隐私保护通话平台推送的呼叫状态通知和话单通知中查询该通呼叫的“stateCode”、“fwdUnaswRsn”和“ulFailReason”。
  2. 查看附录的挂机原因值、Q850原因值、呼叫拆线点详细说明,判断呼叫失败的原因。

注:“stateCode”请在接收到的呼叫状态通知(disconnect事件)中查看,“fwdUnaswRsn”和“ulFailReason”请在接收到的话单通知中查看。

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!非常感谢您的反馈,我们会继续努力做到更好!
反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区论坛频道来与我们联系探讨

智能客服提问云社区提问