]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix lua you all need this
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 4 Sep 2009 16:03:28 +0000 (16:03 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 4 Sep 2009 16:03:28 +0000 (16:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14767 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_lua/freeswitch_lua.h

index c2c580ccc8c1e3fbb1b5d4a64f73dc866da3b0c1..6a6ffbff839d4652dbaa72604be708a9a25c0970 100644 (file)
@@ -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);