Session setHangupHook

From FreeSWITCH Wiki

Jump to: navigation, search

Sets the hangup callback handler function that will get called when the call terminates.

Remember to call exit() if you want to terminate the javascript session in your hangup callback handler.

Usage

result = session.setHangupHook(hangup_function_name);

Example

Example Hangup hook

See also

Personal tools
Community