FS-3841 --resolve ok return the string "die" or "exit" from hanguphook to cause an error or call s:destroy("any err message"); either should now halt the script

This commit is contained in:
Anthony Minessale committed 2012-01-27 19:03:04 -06:00
1 parent 99b6479947
commit 09ad887948
6 files changed
+107 -9

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ class Session : public CoreSession {
Session(char *uuid, CoreSession *a_leg = NULL);
Session(switch_core_session_t *session);
~Session();
virtual void destroy(void);
virtual void destroy(const char *err = NULL);
virtual bool begin_allow_threads();
virtual bool end_allow_threads();