Session setAutoHangup

From FreeSWITCH Wiki
Jump to: navigation, search

Sets the auto hangup option forcing the session to terminate when the javascript terminates.

Usage

result = session.setAutoHangup(true|false); 

Example

Example Hangup hook

See also