Session causecode

From FreeSWITCH Wiki
Jump to: navigation, search

The session cause property holds the Q.931 numerical representation of the last disconnect.

Example

console_log("notice", "Disconnect cause: " + session.causecode + "\n");

See Also