首页 > 代码库 > sip_hangup_disposition
sip_hangup_disposition
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.
Value | Incoming | Outgoing |
---|---|---|
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。