mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +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:
@@ -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