mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-25 02:51:30 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8219 d0543943-73ff-0310-b7d9-9358b9ac24b2
26 lines
581 B
C++
26 lines
581 B
C++
#ifndef FREESWITCH_LUA_H
|
|
#define FREESWITCH_LUA_H
|
|
|
|
#include <switch_cpp.h>
|
|
|
|
class Session : public CoreSession {
|
|
public:
|
|
Session();
|
|
Session(char *uuid);
|
|
Session(switch_core_session_t *session);
|
|
~Session();
|
|
|
|
virtual bool begin_allow_threads();
|
|
virtual bool end_allow_threads();
|
|
virtual void check_hangup_hook();
|
|
virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype);
|
|
void setInputCallback(char *cbfunc, char *funcargs);
|
|
void setHangupHook(char *func);
|
|
|
|
char *cb_function;
|
|
char *cb_arg;
|
|
char *hangup_func_str;
|
|
};
|
|
|
|
#endif
|