Call Us Today! 877.742.2583

Page tree
Skip to end of metadata
Go to start of metadata


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.

 Click here to expand Table of Contents


result = session.setHangupHook(hangup_function_name);

NOTE: You MUST declare the hang-up function BEFORE you call the above line, otherwise your hangup hook will not be fired.



Example Hangup hook

See also

  • No labels