Skip to main content

sip_hangup_disposition

Created by Ryan Harris, last modified on 2018.02.07

sip_hangup_disposition‚Äč

string 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_byeFS sent BYE to the caller (we hung up)FS sent BYE to the endpoint (we hung up)
recv_byeFS received BYE from the caller (they hung up)FS received BYE from the endpoint (they hung up)
send_refuseFS rejected the call (e.g. 4xx or 5xx)Endpoint rejected the call (e.g. 4xx or 5xx)
send_canceln/aFS aborted the call (we sent CANCEL)