Search code examples
freeswitch

From Freeswitch CHANNEL_HANGUP events determine which part has disconnected a call


Is it possible from FreeSWITCH CHANNEL_HANGUP event (or others) determine who has disconnected a call?


Solution

  • I have resolved this by inspecting the following SIP header - 'sip_hangup_disposition'

    Link to the corresponding documentation https://freeswitch.org/confluence/display/FREESWITCH/sip_hangup_disposition