Variable api hangup hook

From FreeSWITCH Wiki
Jump to: navigation, search

api_hangup_hook

Execute an API command on hangup.


Usage:

<action application="set" data="api_hangup_hook=jsrun cleanup.js ${uuid}"/> 

See also:

  • session_in_hangup_hook
  • api_reporting_hook - like api_hangup_hook but after reporting state (both honor session_in_hangup_hook)



Implemented By:

Module Name Source FileLast Revised
coreswitch_core_state_machine.c 7885