mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
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:
1 parent
99b6479947
commit
09ad887948
6 files changed
+107
-9
No files matched your search
@@ -31,7 +31,7 @@ namespace LUA {
|
||||
Session(char *uuid, CoreSession * a_leg = NULL);
|
||||
Session(switch_core_session_t *session);
|
||||
~Session();
|
||||
SWITCH_MOD_DECLARE(virtual void) destroy(void);
|
||||
SWITCH_MOD_DECLARE(virtual void) destroy(const char *err = NULL);
|
||||
|
||||
virtual bool begin_allow_threads();
|
||||
virtual bool end_allow_threads();
|
||||
|
||||
Reference in new issue
Block a user