From: Anthony Minessale Date: Fri, 4 Sep 2009 16:03:28 +0000 (+0000) Subject: fix lua you all need this X-Git-Tag: v1.0.6~1943 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e2a5ee7482611243408a2f40cf5f24391aef20;p=thirdparty%2Ffreeswitch.git fix lua you all need this git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14767 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/languages/mod_lua/freeswitch_lua.h b/src/mod/languages/mod_lua/freeswitch_lua.h index c2c580ccc8..6a6ffbff83 100644 --- a/src/mod/languages/mod_lua/freeswitch_lua.h +++ b/src/mod/languages/mod_lua/freeswitch_lua.h @@ -32,7 +32,7 @@ class Session : public CoreSession { virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype); void unsetInputCallback(void); void setInputCallback(char *cbfunc, char *funcargs = NULL); - void setHangupHook(char *func, char *arg); + void setHangupHook(char *func, char *arg = NULL); bool ready(); int originate(CoreSession *a_leg_session, char *dest, int timeout);