码迷,mamicode.com
首页 > 其他好文 > 详细

sip_hangup_disposition

时间:2016-09-23 11:00:26      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

sip_hangup_disposition

This variable contains the value of who sent the SIP BYE message. Some examples from XML CDRs:

<sip_hangup_disposition>send_bye</sip_hangup_disposition>
<sip_hangup_disposition>recv_bye</sip_hangup_disposition>
<sip_hangup_disposition>send_refuse</sip_hangup_disposition>
<sip_hangup_disposition>send_cancel</sip_hangup_disposition>

Interpretation of these values differs on incoming and outgoing calls since FreeSWITCH is at different ends of the session.

ValueIncomingOutgoing
send_bye FS sent BYE to the caller (we hung up) FS sent BYE to the endpoint (we hung up)
recv_bye FS received BYE from the caller (they hung up) FS received BYE from the endpoint (they hung up)
send_refuse FS rejected the call (e.g. 4xx or 5xx) Endpoint rejected the call (e.g. 4xx or 5xx)
send_cancel n/a FS aborted the call (we sent CANCEL)

Usage:

Look in CDR for the value; only valid after call has ended.

sip_hangup_disposition

标签:

原文地址:http://www.cnblogs.com/cnsanshao/p/5899028.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!