This commit is contained in:
Anthony Minessale 2015-04-25 14:15:26 -05:00
parent d60a8ab223
commit 3058709a92
39 changed files with 4509 additions and 92641 deletions

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class API {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_API(swigCPtr);
@ -34,19 +34,19 @@ public class API {
}
public API(CoreSession s) {
this(freeswitchJNI.new_API(CoreSession.getCPtr(s), s), true);
this(freeswitchJNI.new_API(CoreSession.getCPtr(s)), true);
}
public String execute(String command, String data) {
return freeswitchJNI.API_execute(swigCPtr, this, command, data);
return freeswitchJNI.API_execute(swigCPtr, command, data);
}
public String executeString(String command) {
return freeswitchJNI.API_executeString(swigCPtr, this, command);
return freeswitchJNI.API_executeString(swigCPtr, command);
}
public String getTime() {
return freeswitchJNI.API_getTime(swigCPtr, this);
return freeswitchJNI.API_getTime(swigCPtr);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class CoreSession {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_CoreSession(swigCPtr);
@ -34,291 +34,291 @@ public class CoreSession {
}
public void setSession(SWIGTYPE_p_switch_core_session_t value) {
freeswitchJNI.CoreSession_session_set(swigCPtr, this, SWIGTYPE_p_switch_core_session_t.getCPtr(value));
freeswitchJNI.CoreSession_session_set(swigCPtr, SWIGTYPE_p_switch_core_session_t.getCPtr(value));
}
public SWIGTYPE_p_switch_core_session_t getSession() {
long cPtr = freeswitchJNI.CoreSession_session_get(swigCPtr, this);
long cPtr = freeswitchJNI.CoreSession_session_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_core_session_t(cPtr, false);
}
public void setChannel(SWIGTYPE_p_switch_channel_t value) {
freeswitchJNI.CoreSession_channel_set(swigCPtr, this, SWIGTYPE_p_switch_channel_t.getCPtr(value));
freeswitchJNI.CoreSession_channel_set(swigCPtr, SWIGTYPE_p_switch_channel_t.getCPtr(value));
}
public SWIGTYPE_p_switch_channel_t getChannel() {
long cPtr = freeswitchJNI.CoreSession_channel_get(swigCPtr, this);
long cPtr = freeswitchJNI.CoreSession_channel_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_channel_t(cPtr, false);
}
public void setFlags(long value) {
freeswitchJNI.CoreSession_flags_set(swigCPtr, this, value);
freeswitchJNI.CoreSession_flags_set(swigCPtr, value);
}
public long getFlags() {
return freeswitchJNI.CoreSession_flags_get(swigCPtr, this);
return freeswitchJNI.CoreSession_flags_get(swigCPtr);
}
public void setAllocated(int value) {
freeswitchJNI.CoreSession_allocated_set(swigCPtr, this, value);
freeswitchJNI.CoreSession_allocated_set(swigCPtr, value);
}
public int getAllocated() {
return freeswitchJNI.CoreSession_allocated_get(swigCPtr, this);
return freeswitchJNI.CoreSession_allocated_get(swigCPtr);
}
public void setCb_state(input_callback_state_t value) {
freeswitchJNI.CoreSession_cb_state_set(swigCPtr, this, input_callback_state_t.getCPtr(value), value);
freeswitchJNI.CoreSession_cb_state_set(swigCPtr, input_callback_state_t.getCPtr(value));
}
public input_callback_state_t getCb_state() {
long cPtr = freeswitchJNI.CoreSession_cb_state_get(swigCPtr, this);
long cPtr = freeswitchJNI.CoreSession_cb_state_get(swigCPtr);
return (cPtr == 0) ? null : new input_callback_state_t(cPtr, false);
}
public void setHook_state(SWIGTYPE_p_switch_channel_state_t value) {
freeswitchJNI.CoreSession_hook_state_set(swigCPtr, this, SWIGTYPE_p_switch_channel_state_t.getCPtr(value));
freeswitchJNI.CoreSession_hook_state_set(swigCPtr, SWIGTYPE_p_switch_channel_state_t.getCPtr(value));
}
public SWIGTYPE_p_switch_channel_state_t getHook_state() {
return new SWIGTYPE_p_switch_channel_state_t(freeswitchJNI.CoreSession_hook_state_get(swigCPtr, this), true);
return new SWIGTYPE_p_switch_channel_state_t(freeswitchJNI.CoreSession_hook_state_get(swigCPtr), true);
}
public void setCause(SWIGTYPE_p_switch_call_cause_t value) {
freeswitchJNI.CoreSession_cause_set(swigCPtr, this, SWIGTYPE_p_switch_call_cause_t.getCPtr(value));
freeswitchJNI.CoreSession_cause_set(swigCPtr, SWIGTYPE_p_switch_call_cause_t.getCPtr(value));
}
public SWIGTYPE_p_switch_call_cause_t getCause() {
return new SWIGTYPE_p_switch_call_cause_t(freeswitchJNI.CoreSession_cause_get(swigCPtr, this), true);
return new SWIGTYPE_p_switch_call_cause_t(freeswitchJNI.CoreSession_cause_get(swigCPtr), true);
}
public void setUuid(String value) {
freeswitchJNI.CoreSession_uuid_set(swigCPtr, this, value);
freeswitchJNI.CoreSession_uuid_set(swigCPtr, value);
}
public String getUuid() {
return freeswitchJNI.CoreSession_uuid_get(swigCPtr, this);
return freeswitchJNI.CoreSession_uuid_get(swigCPtr);
}
public void setTts_name(String value) {
freeswitchJNI.CoreSession_tts_name_set(swigCPtr, this, value);
freeswitchJNI.CoreSession_tts_name_set(swigCPtr, value);
}
public String getTts_name() {
return freeswitchJNI.CoreSession_tts_name_get(swigCPtr, this);
return freeswitchJNI.CoreSession_tts_name_get(swigCPtr);
}
public void setVoice_name(String value) {
freeswitchJNI.CoreSession_voice_name_set(swigCPtr, this, value);
freeswitchJNI.CoreSession_voice_name_set(swigCPtr, value);
}
public String getVoice_name() {
return freeswitchJNI.CoreSession_voice_name_get(swigCPtr, this);
return freeswitchJNI.CoreSession_voice_name_get(swigCPtr);
}
public int insertFile(String file, String insert_file, int sample_point) {
return freeswitchJNI.CoreSession_insertFile(swigCPtr, this, file, insert_file, sample_point);
return freeswitchJNI.CoreSession_insertFile(swigCPtr, file, insert_file, sample_point);
}
public int answer() {
return freeswitchJNI.CoreSession_answer(swigCPtr, this);
return freeswitchJNI.CoreSession_answer(swigCPtr);
}
public int preAnswer() {
return freeswitchJNI.CoreSession_preAnswer(swigCPtr, this);
return freeswitchJNI.CoreSession_preAnswer(swigCPtr);
}
public void hangup(String cause) {
freeswitchJNI.CoreSession_hangup(swigCPtr, this, cause);
freeswitchJNI.CoreSession_hangup(swigCPtr, cause);
}
public void hangupState() {
freeswitchJNI.CoreSession_hangupState(swigCPtr, this);
freeswitchJNI.CoreSession_hangupState(swigCPtr);
}
public void setVariable(String var, String val) {
freeswitchJNI.CoreSession_setVariable(swigCPtr, this, var, val);
freeswitchJNI.CoreSession_setVariable(swigCPtr, var, val);
}
public void setPrivate(String var, SWIGTYPE_p_void val) {
freeswitchJNI.CoreSession_setPrivate(swigCPtr, this, var, SWIGTYPE_p_void.getCPtr(val));
freeswitchJNI.CoreSession_setPrivate(swigCPtr, var, SWIGTYPE_p_void.getCPtr(val));
}
public SWIGTYPE_p_void getPrivate(String var) {
long cPtr = freeswitchJNI.CoreSession_getPrivate(swigCPtr, this, var);
long cPtr = freeswitchJNI.CoreSession_getPrivate(swigCPtr, var);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public String getVariable(String var) {
return freeswitchJNI.CoreSession_getVariable(swigCPtr, this, var);
return freeswitchJNI.CoreSession_getVariable(swigCPtr, var);
}
public SWIGTYPE_p_switch_status_t process_callback_result(String result) {
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_process_callback_result(swigCPtr, this, result), true);
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_process_callback_result(swigCPtr, result), true);
}
public void say(String tosay, String module_name, String say_type, String say_method, String say_gender) {
freeswitchJNI.CoreSession_say(swigCPtr, this, tosay, module_name, say_type, say_method, say_gender);
freeswitchJNI.CoreSession_say(swigCPtr, tosay, module_name, say_type, say_method, say_gender);
}
public void sayPhrase(String phrase_name, String phrase_data, String phrase_lang) {
freeswitchJNI.CoreSession_sayPhrase(swigCPtr, this, phrase_name, phrase_data, phrase_lang);
freeswitchJNI.CoreSession_sayPhrase(swigCPtr, phrase_name, phrase_data, phrase_lang);
}
public String hangupCause() {
return freeswitchJNI.CoreSession_hangupCause(swigCPtr, this);
return freeswitchJNI.CoreSession_hangupCause(swigCPtr);
}
public String getState() {
return freeswitchJNI.CoreSession_getState(swigCPtr, this);
return freeswitchJNI.CoreSession_getState(swigCPtr);
}
public int recordFile(String file_name, int time_limit, int silence_threshold, int silence_hits) {
return freeswitchJNI.CoreSession_recordFile(swigCPtr, this, file_name, time_limit, silence_threshold, silence_hits);
return freeswitchJNI.CoreSession_recordFile(swigCPtr, file_name, time_limit, silence_threshold, silence_hits);
}
protected int originate(CoreSession a_leg_session, String dest, int timeout, SWIGTYPE_p_switch_state_handler_table_t handlers) {
return freeswitchJNI.CoreSession_originate(swigCPtr, this, CoreSession.getCPtr(a_leg_session), a_leg_session, dest, timeout, SWIGTYPE_p_switch_state_handler_table_t.getCPtr(handlers));
return freeswitchJNI.CoreSession_originate(swigCPtr, CoreSession.getCPtr(a_leg_session), dest, timeout, SWIGTYPE_p_switch_state_handler_table_t.getCPtr(handlers));
}
public void destroy() {
freeswitchJNI.CoreSession_destroy(swigCPtr, this);
freeswitchJNI.CoreSession_destroy(swigCPtr);
}
public void setDTMFCallback(SWIGTYPE_p_void cbfunc, String funcargs) {
freeswitchJNI.CoreSession_setDTMFCallback(swigCPtr, this, SWIGTYPE_p_void.getCPtr(cbfunc), funcargs);
freeswitchJNI.CoreSession_setDTMFCallback(swigCPtr, SWIGTYPE_p_void.getCPtr(cbfunc), funcargs);
}
public int speak(String text) {
return freeswitchJNI.CoreSession_speak(swigCPtr, this, text);
return freeswitchJNI.CoreSession_speak(swigCPtr, text);
}
public void set_tts_parms(String tts_name, String voice_name) {
freeswitchJNI.CoreSession_set_tts_parms(swigCPtr, this, tts_name, voice_name);
freeswitchJNI.CoreSession_set_tts_parms(swigCPtr, tts_name, voice_name);
}
public void set_tts_params(String tts_name, String voice_name) {
freeswitchJNI.CoreSession_set_tts_params(swigCPtr, this, tts_name, voice_name);
freeswitchJNI.CoreSession_set_tts_params(swigCPtr, tts_name, voice_name);
}
public int collectDigits(int abs_timeout) {
return freeswitchJNI.CoreSession_collectDigits__SWIG_0(swigCPtr, this, abs_timeout);
return freeswitchJNI.CoreSession_collectDigits__SWIG_0(swigCPtr, abs_timeout);
}
public int collectDigits(int digit_timeout, int abs_timeout) {
return freeswitchJNI.CoreSession_collectDigits__SWIG_1(swigCPtr, this, digit_timeout, abs_timeout);
return freeswitchJNI.CoreSession_collectDigits__SWIG_1(swigCPtr, digit_timeout, abs_timeout);
}
public String getDigits(int maxdigits, String terminators, int timeout) {
return freeswitchJNI.CoreSession_getDigits__SWIG_0(swigCPtr, this, maxdigits, terminators, timeout);
return freeswitchJNI.CoreSession_getDigits__SWIG_0(swigCPtr, maxdigits, terminators, timeout);
}
public String getDigits(int maxdigits, String terminators, int timeout, int interdigit) {
return freeswitchJNI.CoreSession_getDigits__SWIG_1(swigCPtr, this, maxdigits, terminators, timeout, interdigit);
return freeswitchJNI.CoreSession_getDigits__SWIG_1(swigCPtr, maxdigits, terminators, timeout, interdigit);
}
public int transfer(String extension, String dialplan, String context) {
return freeswitchJNI.CoreSession_transfer(swigCPtr, this, extension, dialplan, context);
return freeswitchJNI.CoreSession_transfer(swigCPtr, extension, dialplan, context);
}
public String read(int min_digits, int max_digits, String prompt_audio_file, int timeout, String valid_terminators, int digit_timeout) {
return freeswitchJNI.CoreSession_read(swigCPtr, this, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout);
return freeswitchJNI.CoreSession_read(swigCPtr, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout);
}
public String playAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, String terminators, String audio_files, String bad_input_audio_files, String digits_regex, String var_name, int digit_timeout, String transfer_on_failure) {
return freeswitchJNI.CoreSession_playAndGetDigits(swigCPtr, this, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure);
return freeswitchJNI.CoreSession_playAndGetDigits(swigCPtr, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure);
}
public int streamFile(String file, int starting_sample_count) {
return freeswitchJNI.CoreSession_streamFile(swigCPtr, this, file, starting_sample_count);
return freeswitchJNI.CoreSession_streamFile(swigCPtr, file, starting_sample_count);
}
public int sleep(int ms, int sync) {
return freeswitchJNI.CoreSession_sleep(swigCPtr, this, ms, sync);
return freeswitchJNI.CoreSession_sleep(swigCPtr, ms, sync);
}
public int flushEvents() {
return freeswitchJNI.CoreSession_flushEvents(swigCPtr, this);
return freeswitchJNI.CoreSession_flushEvents(swigCPtr);
}
public int flushDigits() {
return freeswitchJNI.CoreSession_flushDigits(swigCPtr, this);
return freeswitchJNI.CoreSession_flushDigits(swigCPtr);
}
public int setAutoHangup(boolean val) {
return freeswitchJNI.CoreSession_setAutoHangup(swigCPtr, this, val);
return freeswitchJNI.CoreSession_setAutoHangup(swigCPtr, val);
}
public void setHangupHook(SWIGTYPE_p_void hangup_func) {
freeswitchJNI.CoreSession_setHangupHook(swigCPtr, this, SWIGTYPE_p_void.getCPtr(hangup_func));
freeswitchJNI.CoreSession_setHangupHook(swigCPtr, SWIGTYPE_p_void.getCPtr(hangup_func));
}
public boolean ready() {
return freeswitchJNI.CoreSession_ready(swigCPtr, this);
return freeswitchJNI.CoreSession_ready(swigCPtr);
}
public boolean bridged() {
return freeswitchJNI.CoreSession_bridged(swigCPtr, this);
return freeswitchJNI.CoreSession_bridged(swigCPtr);
}
public boolean answered() {
return freeswitchJNI.CoreSession_answered(swigCPtr, this);
return freeswitchJNI.CoreSession_answered(swigCPtr);
}
public boolean mediaReady() {
return freeswitchJNI.CoreSession_mediaReady(swigCPtr, this);
return freeswitchJNI.CoreSession_mediaReady(swigCPtr);
}
public void waitForAnswer(CoreSession calling_session) {
freeswitchJNI.CoreSession_waitForAnswer(swigCPtr, this, CoreSession.getCPtr(calling_session), calling_session);
freeswitchJNI.CoreSession_waitForAnswer(swigCPtr, CoreSession.getCPtr(calling_session));
}
public void execute(String app, String data) {
freeswitchJNI.CoreSession_execute(swigCPtr, this, app, data);
freeswitchJNI.CoreSession_execute(swigCPtr, app, data);
}
public void sendEvent(Event sendME) {
freeswitchJNI.CoreSession_sendEvent(swigCPtr, this, Event.getCPtr(sendME), sendME);
freeswitchJNI.CoreSession_sendEvent(swigCPtr, Event.getCPtr(sendME));
}
public void setEventData(Event e) {
freeswitchJNI.CoreSession_setEventData(swigCPtr, this, Event.getCPtr(e), e);
freeswitchJNI.CoreSession_setEventData(swigCPtr, Event.getCPtr(e));
}
public String getXMLCDR() {
return freeswitchJNI.CoreSession_getXMLCDR(swigCPtr, this);
return freeswitchJNI.CoreSession_getXMLCDR(swigCPtr);
}
public boolean begin_allow_threads() {
return freeswitchJNI.CoreSession_begin_allow_threads(swigCPtr, this);
return freeswitchJNI.CoreSession_begin_allow_threads(swigCPtr);
}
public boolean end_allow_threads() {
return freeswitchJNI.CoreSession_end_allow_threads(swigCPtr, this);
return freeswitchJNI.CoreSession_end_allow_threads(swigCPtr);
}
public String get_uuid() {
return freeswitchJNI.CoreSession_get_uuid(swigCPtr, this);
return freeswitchJNI.CoreSession_get_uuid(swigCPtr);
}
public SWIGTYPE_p_switch_input_args_t get_cb_args() {
return new SWIGTYPE_p_switch_input_args_t(freeswitchJNI.CoreSession_get_cb_args(swigCPtr, this), false);
return new SWIGTYPE_p_switch_input_args_t(freeswitchJNI.CoreSession_get_cb_args(swigCPtr), false);
}
public void check_hangup_hook() {
freeswitchJNI.CoreSession_check_hangup_hook(swigCPtr, this);
freeswitchJNI.CoreSession_check_hangup_hook(swigCPtr);
}
public SWIGTYPE_p_switch_status_t run_dtmf_callback(SWIGTYPE_p_void input, SWIGTYPE_p_switch_input_type_t itype) {
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_run_dtmf_callback(swigCPtr, this, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_run_dtmf_callback(swigCPtr, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
}
public void consoleLog(String level_str, String msg) {
freeswitchJNI.CoreSession_consoleLog(swigCPtr, this, level_str, msg);
freeswitchJNI.CoreSession_consoleLog(swigCPtr, level_str, msg);
}
public void consoleLog2(String level_str, String file, String func, int line, String msg) {
freeswitchJNI.CoreSession_consoleLog2(swigCPtr, this, level_str, file, func, line, msg);
freeswitchJNI.CoreSession_consoleLog2(swigCPtr, level_str, file, func, line, msg);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class DTMF {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_DTMF(swigCPtr);
@ -34,19 +34,19 @@ public class DTMF {
}
public void setDigit(char value) {
freeswitchJNI.DTMF_digit_set(swigCPtr, this, value);
freeswitchJNI.DTMF_digit_set(swigCPtr, value);
}
public char getDigit() {
return freeswitchJNI.DTMF_digit_get(swigCPtr, this);
return freeswitchJNI.DTMF_digit_get(swigCPtr);
}
public void setDuration(SWIGTYPE_p_uint32_t value) {
freeswitchJNI.DTMF_duration_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
freeswitchJNI.DTMF_duration_set(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getDuration() {
return new SWIGTYPE_p_uint32_t(freeswitchJNI.DTMF_duration_get(swigCPtr, this), true);
return new SWIGTYPE_p_uint32_t(freeswitchJNI.DTMF_duration_get(swigCPtr), true);
}
public DTMF(char idigit, SWIGTYPE_p_uint32_t iduration) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class Event {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Event(swigCPtr);
@ -34,28 +34,28 @@ public class Event {
}
public void setEvent(SWIGTYPE_p_switch_event_t value) {
freeswitchJNI.Event_event_set(swigCPtr, this, SWIGTYPE_p_switch_event_t.getCPtr(value));
freeswitchJNI.Event_event_set(swigCPtr, SWIGTYPE_p_switch_event_t.getCPtr(value));
}
public SWIGTYPE_p_switch_event_t getEvent() {
long cPtr = freeswitchJNI.Event_event_get(swigCPtr, this);
long cPtr = freeswitchJNI.Event_event_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_event_t(cPtr, false);
}
public void setSerialized_string(String value) {
freeswitchJNI.Event_serialized_string_set(swigCPtr, this, value);
freeswitchJNI.Event_serialized_string_set(swigCPtr, value);
}
public String getSerialized_string() {
return freeswitchJNI.Event_serialized_string_get(swigCPtr, this);
return freeswitchJNI.Event_serialized_string_get(swigCPtr);
}
public void setMine(int value) {
freeswitchJNI.Event_mine_set(swigCPtr, this, value);
freeswitchJNI.Event_mine_set(swigCPtr, value);
}
public int getMine() {
return freeswitchJNI.Event_mine_get(swigCPtr, this);
return freeswitchJNI.Event_mine_get(swigCPtr);
}
public Event(String type, String subclass_name) {
@ -67,47 +67,47 @@ public class Event {
}
public int chat_execute(String app, String data) {
return freeswitchJNI.Event_chat_execute(swigCPtr, this, app, data);
return freeswitchJNI.Event_chat_execute(swigCPtr, app, data);
}
public int chat_send(String dest_proto) {
return freeswitchJNI.Event_chat_send(swigCPtr, this, dest_proto);
return freeswitchJNI.Event_chat_send(swigCPtr, dest_proto);
}
public String serialize(String format) {
return freeswitchJNI.Event_serialize(swigCPtr, this, format);
return freeswitchJNI.Event_serialize(swigCPtr, format);
}
public boolean setPriority(SWIGTYPE_p_switch_priority_t priority) {
return freeswitchJNI.Event_setPriority(swigCPtr, this, SWIGTYPE_p_switch_priority_t.getCPtr(priority));
return freeswitchJNI.Event_setPriority(swigCPtr, SWIGTYPE_p_switch_priority_t.getCPtr(priority));
}
public String getHeader(String header_name) {
return freeswitchJNI.Event_getHeader(swigCPtr, this, header_name);
return freeswitchJNI.Event_getHeader(swigCPtr, header_name);
}
public String getBody() {
return freeswitchJNI.Event_getBody(swigCPtr, this);
return freeswitchJNI.Event_getBody(swigCPtr);
}
public String getType() {
return freeswitchJNI.Event_getType(swigCPtr, this);
return freeswitchJNI.Event_getType(swigCPtr);
}
public boolean addBody(String value) {
return freeswitchJNI.Event_addBody(swigCPtr, this, value);
return freeswitchJNI.Event_addBody(swigCPtr, value);
}
public boolean addHeader(String header_name, String value) {
return freeswitchJNI.Event_addHeader(swigCPtr, this, header_name, value);
return freeswitchJNI.Event_addHeader(swigCPtr, header_name, value);
}
public boolean delHeader(String header_name) {
return freeswitchJNI.Event_delHeader(swigCPtr, this, header_name);
return freeswitchJNI.Event_delHeader(swigCPtr, header_name);
}
public boolean fire() {
return freeswitchJNI.Event_fire(swigCPtr, this);
return freeswitchJNI.Event_fire(swigCPtr);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class EventConsumer {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_EventConsumer(swigCPtr);
@ -34,61 +34,61 @@ public class EventConsumer {
}
public void setEvents(SWIGTYPE_p_switch_queue_t value) {
freeswitchJNI.EventConsumer_events_set(swigCPtr, this, SWIGTYPE_p_switch_queue_t.getCPtr(value));
freeswitchJNI.EventConsumer_events_set(swigCPtr, SWIGTYPE_p_switch_queue_t.getCPtr(value));
}
public SWIGTYPE_p_switch_queue_t getEvents() {
long cPtr = freeswitchJNI.EventConsumer_events_get(swigCPtr, this);
long cPtr = freeswitchJNI.EventConsumer_events_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_switch_queue_t(cPtr, false);
}
public void setE_event_id(SWIGTYPE_p_switch_event_types_t value) {
freeswitchJNI.EventConsumer_e_event_id_set(swigCPtr, this, SWIGTYPE_p_switch_event_types_t.getCPtr(value));
freeswitchJNI.EventConsumer_e_event_id_set(swigCPtr, SWIGTYPE_p_switch_event_types_t.getCPtr(value));
}
public SWIGTYPE_p_switch_event_types_t getE_event_id() {
return new SWIGTYPE_p_switch_event_types_t(freeswitchJNI.EventConsumer_e_event_id_get(swigCPtr, this), true);
return new SWIGTYPE_p_switch_event_types_t(freeswitchJNI.EventConsumer_e_event_id_get(swigCPtr), true);
}
public void setE_callback(String value) {
freeswitchJNI.EventConsumer_e_callback_set(swigCPtr, this, value);
freeswitchJNI.EventConsumer_e_callback_set(swigCPtr, value);
}
public String getE_callback() {
return freeswitchJNI.EventConsumer_e_callback_get(swigCPtr, this);
return freeswitchJNI.EventConsumer_e_callback_get(swigCPtr);
}
public void setE_subclass_name(String value) {
freeswitchJNI.EventConsumer_e_subclass_name_set(swigCPtr, this, value);
freeswitchJNI.EventConsumer_e_subclass_name_set(swigCPtr, value);
}
public String getE_subclass_name() {
return freeswitchJNI.EventConsumer_e_subclass_name_get(swigCPtr, this);
return freeswitchJNI.EventConsumer_e_subclass_name_get(swigCPtr);
}
public void setE_cb_arg(String value) {
freeswitchJNI.EventConsumer_e_cb_arg_set(swigCPtr, this, value);
freeswitchJNI.EventConsumer_e_cb_arg_set(swigCPtr, value);
}
public String getE_cb_arg() {
return freeswitchJNI.EventConsumer_e_cb_arg_get(swigCPtr, this);
return freeswitchJNI.EventConsumer_e_cb_arg_get(swigCPtr);
}
public void setEnodes(SWIGTYPE_p_p_switch_event_node_t value) {
freeswitchJNI.EventConsumer_enodes_set(swigCPtr, this, SWIGTYPE_p_p_switch_event_node_t.getCPtr(value));
freeswitchJNI.EventConsumer_enodes_set(swigCPtr, SWIGTYPE_p_p_switch_event_node_t.getCPtr(value));
}
public SWIGTYPE_p_p_switch_event_node_t getEnodes() {
long cPtr = freeswitchJNI.EventConsumer_enodes_get(swigCPtr, this);
long cPtr = freeswitchJNI.EventConsumer_enodes_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_p_switch_event_node_t(cPtr, false);
}
public void setNode_index(SWIGTYPE_p_uint32_t value) {
freeswitchJNI.EventConsumer_node_index_set(swigCPtr, this, SWIGTYPE_p_uint32_t.getCPtr(value));
freeswitchJNI.EventConsumer_node_index_set(swigCPtr, SWIGTYPE_p_uint32_t.getCPtr(value));
}
public SWIGTYPE_p_uint32_t getNode_index() {
return new SWIGTYPE_p_uint32_t(freeswitchJNI.EventConsumer_node_index_get(swigCPtr, this), true);
return new SWIGTYPE_p_uint32_t(freeswitchJNI.EventConsumer_node_index_get(swigCPtr), true);
}
public EventConsumer(String event_name, String subclass_name, int len) {
@ -96,16 +96,16 @@ public class EventConsumer {
}
public int bind(String event_name, String subclass_name) {
return freeswitchJNI.EventConsumer_bind(swigCPtr, this, event_name, subclass_name);
return freeswitchJNI.EventConsumer_bind(swigCPtr, event_name, subclass_name);
}
public Event pop(int block, int timeout) {
long cPtr = freeswitchJNI.EventConsumer_pop(swigCPtr, this, block, timeout);
long cPtr = freeswitchJNI.EventConsumer_pop(swigCPtr, block, timeout);
return (cPtr == 0) ? null : new Event(cPtr, true);
}
public void cleanup() {
freeswitchJNI.EventConsumer_cleanup(swigCPtr, this);
freeswitchJNI.EventConsumer_cleanup(swigCPtr);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class IVRMenu {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_IVRMenu(swigCPtr);
@ -34,15 +34,15 @@ public class IVRMenu {
}
public IVRMenu(IVRMenu main, String name, String greeting_sound, String short_greeting_sound, String invalid_sound, String exit_sound, String transfer_sound, String confirm_macro, String confirm_key, String tts_engine, String tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) {
this(freeswitchJNI.new_IVRMenu(IVRMenu.getCPtr(main), main, name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true);
this(freeswitchJNI.new_IVRMenu(IVRMenu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true);
}
public void bindAction(String action, String arg, String bind) {
freeswitchJNI.IVRMenu_bindAction(swigCPtr, this, action, arg, bind);
freeswitchJNI.IVRMenu_bindAction(swigCPtr, action, arg, bind);
}
public void execute(CoreSession session, String name) {
freeswitchJNI.IVRMenu_execute(swigCPtr, this, CoreSession.getCPtr(session), session, name);
freeswitchJNI.IVRMenu_execute(swigCPtr, CoreSession.getCPtr(session), name);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -24,7 +24,7 @@ public class JavaSession extends CoreSession {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_JavaSession(swigCPtr);
@ -46,31 +46,31 @@ public class JavaSession extends CoreSession {
}
public boolean begin_allow_threads() {
return freeswitchJNI.JavaSession_begin_allow_threads(swigCPtr, this);
return freeswitchJNI.JavaSession_begin_allow_threads(swigCPtr);
}
public boolean end_allow_threads() {
return freeswitchJNI.JavaSession_end_allow_threads(swigCPtr, this);
return freeswitchJNI.JavaSession_end_allow_threads(swigCPtr);
}
public void setDTMFCallback(org.freeswitch.DTMFCallback dtmfCallback, String funcargs) {
freeswitchJNI.JavaSession_setDTMFCallback(swigCPtr, this, dtmfCallback, funcargs);
freeswitchJNI.JavaSession_setDTMFCallback(swigCPtr, dtmfCallback, funcargs);
}
public void setHangupHook(org.freeswitch.HangupHook hangupHook) {
freeswitchJNI.JavaSession_setHangupHook(swigCPtr, this, hangupHook);
freeswitchJNI.JavaSession_setHangupHook(swigCPtr, hangupHook);
}
public void check_hangup_hook() {
freeswitchJNI.JavaSession_check_hangup_hook(swigCPtr, this);
freeswitchJNI.JavaSession_check_hangup_hook(swigCPtr);
}
public SWIGTYPE_p_switch_status_t run_dtmf_callback(SWIGTYPE_p_void input, SWIGTYPE_p_switch_input_type_t itype) {
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.JavaSession_run_dtmf_callback(swigCPtr, this, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
return new SWIGTYPE_p_switch_status_t(freeswitchJNI.JavaSession_run_dtmf_callback(swigCPtr, SWIGTYPE_p_void.getCPtr(input), SWIGTYPE_p_switch_input_type_t.getCPtr(itype)), true);
}
public int originate(JavaSession aleg, String destination, int timeout) {
return freeswitchJNI.JavaSession_originate(swigCPtr, this, JavaSession.getCPtr(aleg), aleg, destination, timeout);
return freeswitchJNI.JavaSession_originate(swigCPtr, JavaSession.getCPtr(aleg), destination, timeout);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class Stream {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Stream(swigCPtr);
@ -42,19 +42,19 @@ public class Stream {
}
public String read(SWIGTYPE_p_int len) {
return freeswitchJNI.Stream_read(swigCPtr, this, SWIGTYPE_p_int.getCPtr(len));
return freeswitchJNI.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len));
}
public void write(String data) {
freeswitchJNI.Stream_write(swigCPtr, this, data);
freeswitchJNI.Stream_write(swigCPtr, data);
}
public void raw_write(String data, int len) {
freeswitchJNI.Stream_raw_write(swigCPtr, this, data, len);
freeswitchJNI.Stream_raw_write(swigCPtr, data, len);
}
public String get_data() {
return freeswitchJNI.Stream_get_data(swigCPtr, this);
return freeswitchJNI.Stream_get_data(swigCPtr);
}
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -54,7 +54,7 @@ public class freeswitch {
}
public static void bridge(CoreSession session_a, CoreSession session_b) {
freeswitchJNI.bridge(CoreSession.getCPtr(session_a), session_a, CoreSession.getCPtr(session_b), session_b);
freeswitchJNI.bridge(CoreSession.getCPtr(session_a), CoreSession.getCPtr(session_b));
}
public static SWIGTYPE_p_switch_status_t hanguphook(SWIGTYPE_p_switch_core_session_t session) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -16,157 +16,157 @@ class freeswitchJNI {
public final static native void consoleCleanLog(String jarg1);
public final static native boolean running();
public final static native boolean email(String jarg1, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6, String jarg7);
public final static native long new_IVRMenu(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, String jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17);
public final static native long new_IVRMenu(long jarg1, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, String jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17);
public final static native void delete_IVRMenu(long jarg1);
public final static native void IVRMenu_bindAction(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4);
public final static native void IVRMenu_execute(long jarg1, IVRMenu jarg1_, long jarg2, CoreSession jarg2_, String jarg3);
public final static native long new_API(long jarg1, CoreSession jarg1_);
public final static native void IVRMenu_bindAction(long jarg1, String jarg2, String jarg3, String jarg4);
public final static native void IVRMenu_execute(long jarg1, long jarg2, String jarg3);
public final static native long new_API(long jarg1);
public final static native void delete_API(long jarg1);
public final static native String API_execute(long jarg1, API jarg1_, String jarg2, String jarg3);
public final static native String API_executeString(long jarg1, API jarg1_, String jarg2);
public final static native String API_getTime(long jarg1, API jarg1_);
public final static native void input_callback_state_t_function_set(long jarg1, input_callback_state_t jarg1_, long jarg2);
public final static native long input_callback_state_t_function_get(long jarg1, input_callback_state_t jarg1_);
public final static native void input_callback_state_t_threadState_set(long jarg1, input_callback_state_t jarg1_, long jarg2);
public final static native long input_callback_state_t_threadState_get(long jarg1, input_callback_state_t jarg1_);
public final static native void input_callback_state_t_extra_set(long jarg1, input_callback_state_t jarg1_, long jarg2);
public final static native long input_callback_state_t_extra_get(long jarg1, input_callback_state_t jarg1_);
public final static native void input_callback_state_t_funcargs_set(long jarg1, input_callback_state_t jarg1_, String jarg2);
public final static native String input_callback_state_t_funcargs_get(long jarg1, input_callback_state_t jarg1_);
public final static native String API_execute(long jarg1, String jarg2, String jarg3);
public final static native String API_executeString(long jarg1, String jarg2);
public final static native String API_getTime(long jarg1);
public final static native void input_callback_state_t_function_set(long jarg1, long jarg2);
public final static native long input_callback_state_t_function_get(long jarg1);
public final static native void input_callback_state_t_threadState_set(long jarg1, long jarg2);
public final static native long input_callback_state_t_threadState_get(long jarg1);
public final static native void input_callback_state_t_extra_set(long jarg1, long jarg2);
public final static native long input_callback_state_t_extra_get(long jarg1);
public final static native void input_callback_state_t_funcargs_set(long jarg1, String jarg2);
public final static native String input_callback_state_t_funcargs_get(long jarg1);
public final static native long new_input_callback_state_t();
public final static native void delete_input_callback_state_t(long jarg1);
public final static native int S_HUP_get();
public final static native int S_FREE_get();
public final static native int S_RDLOCK_get();
public final static native void DTMF_digit_set(long jarg1, DTMF jarg1_, char jarg2);
public final static native char DTMF_digit_get(long jarg1, DTMF jarg1_);
public final static native void DTMF_duration_set(long jarg1, DTMF jarg1_, long jarg2);
public final static native long DTMF_duration_get(long jarg1, DTMF jarg1_);
public final static native void DTMF_digit_set(long jarg1, char jarg2);
public final static native char DTMF_digit_get(long jarg1);
public final static native void DTMF_duration_set(long jarg1, long jarg2);
public final static native long DTMF_duration_get(long jarg1);
public final static native long new_DTMF(char jarg1, long jarg2);
public final static native void delete_DTMF(long jarg1);
public final static native long new_Stream__SWIG_0();
public final static native long new_Stream__SWIG_1(long jarg1);
public final static native void delete_Stream(long jarg1);
public final static native String Stream_read(long jarg1, Stream jarg1_, long jarg2);
public final static native void Stream_write(long jarg1, Stream jarg1_, String jarg2);
public final static native void Stream_raw_write(long jarg1, Stream jarg1_, String jarg2, int jarg3);
public final static native String Stream_get_data(long jarg1, Stream jarg1_);
public final static native void Event_event_set(long jarg1, Event jarg1_, long jarg2);
public final static native long Event_event_get(long jarg1, Event jarg1_);
public final static native void Event_serialized_string_set(long jarg1, Event jarg1_, String jarg2);
public final static native String Event_serialized_string_get(long jarg1, Event jarg1_);
public final static native void Event_mine_set(long jarg1, Event jarg1_, int jarg2);
public final static native int Event_mine_get(long jarg1, Event jarg1_);
public final static native String Stream_read(long jarg1, long jarg2);
public final static native void Stream_write(long jarg1, String jarg2);
public final static native void Stream_raw_write(long jarg1, String jarg2, int jarg3);
public final static native String Stream_get_data(long jarg1);
public final static native void Event_event_set(long jarg1, long jarg2);
public final static native long Event_event_get(long jarg1);
public final static native void Event_serialized_string_set(long jarg1, String jarg2);
public final static native String Event_serialized_string_get(long jarg1);
public final static native void Event_mine_set(long jarg1, int jarg2);
public final static native int Event_mine_get(long jarg1);
public final static native long new_Event__SWIG_0(String jarg1, String jarg2);
public final static native long new_Event__SWIG_1(long jarg1, int jarg2);
public final static native void delete_Event(long jarg1);
public final static native int Event_chat_execute(long jarg1, Event jarg1_, String jarg2, String jarg3);
public final static native int Event_chat_send(long jarg1, Event jarg1_, String jarg2);
public final static native String Event_serialize(long jarg1, Event jarg1_, String jarg2);
public final static native boolean Event_setPriority(long jarg1, Event jarg1_, long jarg2);
public final static native String Event_getHeader(long jarg1, Event jarg1_, String jarg2);
public final static native String Event_getBody(long jarg1, Event jarg1_);
public final static native String Event_getType(long jarg1, Event jarg1_);
public final static native boolean Event_addBody(long jarg1, Event jarg1_, String jarg2);
public final static native boolean Event_addHeader(long jarg1, Event jarg1_, String jarg2, String jarg3);
public final static native boolean Event_delHeader(long jarg1, Event jarg1_, String jarg2);
public final static native boolean Event_fire(long jarg1, Event jarg1_);
public final static native void EventConsumer_events_set(long jarg1, EventConsumer jarg1_, long jarg2);
public final static native long EventConsumer_events_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_e_event_id_set(long jarg1, EventConsumer jarg1_, long jarg2);
public final static native long EventConsumer_e_event_id_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_e_callback_set(long jarg1, EventConsumer jarg1_, String jarg2);
public final static native String EventConsumer_e_callback_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_e_subclass_name_set(long jarg1, EventConsumer jarg1_, String jarg2);
public final static native String EventConsumer_e_subclass_name_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_e_cb_arg_set(long jarg1, EventConsumer jarg1_, String jarg2);
public final static native String EventConsumer_e_cb_arg_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_enodes_set(long jarg1, EventConsumer jarg1_, long jarg2);
public final static native long EventConsumer_enodes_get(long jarg1, EventConsumer jarg1_);
public final static native void EventConsumer_node_index_set(long jarg1, EventConsumer jarg1_, long jarg2);
public final static native long EventConsumer_node_index_get(long jarg1, EventConsumer jarg1_);
public final static native int Event_chat_execute(long jarg1, String jarg2, String jarg3);
public final static native int Event_chat_send(long jarg1, String jarg2);
public final static native String Event_serialize(long jarg1, String jarg2);
public final static native boolean Event_setPriority(long jarg1, long jarg2);
public final static native String Event_getHeader(long jarg1, String jarg2);
public final static native String Event_getBody(long jarg1);
public final static native String Event_getType(long jarg1);
public final static native boolean Event_addBody(long jarg1, String jarg2);
public final static native boolean Event_addHeader(long jarg1, String jarg2, String jarg3);
public final static native boolean Event_delHeader(long jarg1, String jarg2);
public final static native boolean Event_fire(long jarg1);
public final static native void EventConsumer_events_set(long jarg1, long jarg2);
public final static native long EventConsumer_events_get(long jarg1);
public final static native void EventConsumer_e_event_id_set(long jarg1, long jarg2);
public final static native long EventConsumer_e_event_id_get(long jarg1);
public final static native void EventConsumer_e_callback_set(long jarg1, String jarg2);
public final static native String EventConsumer_e_callback_get(long jarg1);
public final static native void EventConsumer_e_subclass_name_set(long jarg1, String jarg2);
public final static native String EventConsumer_e_subclass_name_get(long jarg1);
public final static native void EventConsumer_e_cb_arg_set(long jarg1, String jarg2);
public final static native String EventConsumer_e_cb_arg_get(long jarg1);
public final static native void EventConsumer_enodes_set(long jarg1, long jarg2);
public final static native long EventConsumer_enodes_get(long jarg1);
public final static native void EventConsumer_node_index_set(long jarg1, long jarg2);
public final static native long EventConsumer_node_index_get(long jarg1);
public final static native long new_EventConsumer(String jarg1, String jarg2, int jarg3);
public final static native void delete_EventConsumer(long jarg1);
public final static native int EventConsumer_bind(long jarg1, EventConsumer jarg1_, String jarg2, String jarg3);
public final static native long EventConsumer_pop(long jarg1, EventConsumer jarg1_, int jarg2, int jarg3);
public final static native void EventConsumer_cleanup(long jarg1, EventConsumer jarg1_);
public final static native int EventConsumer_bind(long jarg1, String jarg2, String jarg3);
public final static native long EventConsumer_pop(long jarg1, int jarg2, int jarg3);
public final static native void EventConsumer_cleanup(long jarg1);
public final static native void delete_CoreSession(long jarg1);
public final static native void CoreSession_session_set(long jarg1, CoreSession jarg1_, long jarg2);
public final static native long CoreSession_session_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_channel_set(long jarg1, CoreSession jarg1_, long jarg2);
public final static native long CoreSession_channel_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_flags_set(long jarg1, CoreSession jarg1_, long jarg2);
public final static native long CoreSession_flags_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_allocated_set(long jarg1, CoreSession jarg1_, int jarg2);
public final static native int CoreSession_allocated_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_cb_state_set(long jarg1, CoreSession jarg1_, long jarg2, input_callback_state_t jarg2_);
public final static native long CoreSession_cb_state_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_hook_state_set(long jarg1, CoreSession jarg1_, long jarg2);
public final static native long CoreSession_hook_state_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_cause_set(long jarg1, CoreSession jarg1_, long jarg2);
public final static native long CoreSession_cause_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_uuid_set(long jarg1, CoreSession jarg1_, String jarg2);
public final static native String CoreSession_uuid_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_tts_name_set(long jarg1, CoreSession jarg1_, String jarg2);
public final static native String CoreSession_tts_name_get(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_voice_name_set(long jarg1, CoreSession jarg1_, String jarg2);
public final static native String CoreSession_voice_name_get(long jarg1, CoreSession jarg1_);
public final static native int CoreSession_insertFile(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, int jarg4);
public final static native int CoreSession_answer(long jarg1, CoreSession jarg1_);
public final static native int CoreSession_preAnswer(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_hangup(long jarg1, CoreSession jarg1_, String jarg2);
public final static native void CoreSession_hangupState(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_setVariable(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
public final static native void CoreSession_setPrivate(long jarg1, CoreSession jarg1_, String jarg2, long jarg3);
public final static native long CoreSession_getPrivate(long jarg1, CoreSession jarg1_, String jarg2);
public final static native String CoreSession_getVariable(long jarg1, CoreSession jarg1_, String jarg2);
public final static native long CoreSession_process_callback_result(long jarg1, CoreSession jarg1_, String jarg2);
public final static native void CoreSession_say(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6);
public final static native void CoreSession_sayPhrase(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
public final static native String CoreSession_hangupCause(long jarg1, CoreSession jarg1_);
public final static native String CoreSession_getState(long jarg1, CoreSession jarg1_);
public final static native int CoreSession_recordFile(long jarg1, CoreSession jarg1_, String jarg2, int jarg3, int jarg4, int jarg5);
public final static native int CoreSession_originate(long jarg1, CoreSession jarg1_, long jarg2, CoreSession jarg2_, String jarg3, int jarg4, long jarg5);
public final static native void CoreSession_destroy(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_setDTMFCallback(long jarg1, CoreSession jarg1_, long jarg2, String jarg3);
public final static native int CoreSession_speak(long jarg1, CoreSession jarg1_, String jarg2);
public final static native void CoreSession_set_tts_parms(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
public final static native void CoreSession_set_tts_params(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
public final static native int CoreSession_collectDigits__SWIG_0(long jarg1, CoreSession jarg1_, int jarg2);
public final static native int CoreSession_collectDigits__SWIG_1(long jarg1, CoreSession jarg1_, int jarg2, int jarg3);
public final static native String CoreSession_getDigits__SWIG_0(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4);
public final static native String CoreSession_getDigits__SWIG_1(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4, int jarg5);
public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
public final static native String CoreSession_read(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, String jarg4, int jarg5, String jarg6, int jarg7);
public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, int jarg11, String jarg12);
public final static native int CoreSession_streamFile(long jarg1, CoreSession jarg1_, String jarg2, int jarg3);
public final static native int CoreSession_sleep(long jarg1, CoreSession jarg1_, int jarg2, int jarg3);
public final static native int CoreSession_flushEvents(long jarg1, CoreSession jarg1_);
public final static native int CoreSession_flushDigits(long jarg1, CoreSession jarg1_);
public final static native int CoreSession_setAutoHangup(long jarg1, CoreSession jarg1_, boolean jarg2);
public final static native void CoreSession_setHangupHook(long jarg1, CoreSession jarg1_, long jarg2);
public final static native boolean CoreSession_ready(long jarg1, CoreSession jarg1_);
public final static native boolean CoreSession_bridged(long jarg1, CoreSession jarg1_);
public final static native boolean CoreSession_answered(long jarg1, CoreSession jarg1_);
public final static native boolean CoreSession_mediaReady(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_waitForAnswer(long jarg1, CoreSession jarg1_, long jarg2, CoreSession jarg2_);
public final static native void CoreSession_execute(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
public final static native void CoreSession_sendEvent(long jarg1, CoreSession jarg1_, long jarg2, Event jarg2_);
public final static native void CoreSession_setEventData(long jarg1, CoreSession jarg1_, long jarg2, Event jarg2_);
public final static native String CoreSession_getXMLCDR(long jarg1, CoreSession jarg1_);
public final static native boolean CoreSession_begin_allow_threads(long jarg1, CoreSession jarg1_);
public final static native boolean CoreSession_end_allow_threads(long jarg1, CoreSession jarg1_);
public final static native String CoreSession_get_uuid(long jarg1, CoreSession jarg1_);
public final static native long CoreSession_get_cb_args(long jarg1, CoreSession jarg1_);
public final static native void CoreSession_check_hangup_hook(long jarg1, CoreSession jarg1_);
public final static native long CoreSession_run_dtmf_callback(long jarg1, CoreSession jarg1_, long jarg2, long jarg3);
public final static native void CoreSession_consoleLog(long jarg1, CoreSession jarg1_, String jarg2, String jarg3);
public final static native void CoreSession_consoleLog2(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4, int jarg5, String jarg6);
public final static native void CoreSession_session_set(long jarg1, long jarg2);
public final static native long CoreSession_session_get(long jarg1);
public final static native void CoreSession_channel_set(long jarg1, long jarg2);
public final static native long CoreSession_channel_get(long jarg1);
public final static native void CoreSession_flags_set(long jarg1, long jarg2);
public final static native long CoreSession_flags_get(long jarg1);
public final static native void CoreSession_allocated_set(long jarg1, int jarg2);
public final static native int CoreSession_allocated_get(long jarg1);
public final static native void CoreSession_cb_state_set(long jarg1, long jarg2);
public final static native long CoreSession_cb_state_get(long jarg1);
public final static native void CoreSession_hook_state_set(long jarg1, long jarg2);
public final static native long CoreSession_hook_state_get(long jarg1);
public final static native void CoreSession_cause_set(long jarg1, long jarg2);
public final static native long CoreSession_cause_get(long jarg1);
public final static native void CoreSession_uuid_set(long jarg1, String jarg2);
public final static native String CoreSession_uuid_get(long jarg1);
public final static native void CoreSession_tts_name_set(long jarg1, String jarg2);
public final static native String CoreSession_tts_name_get(long jarg1);
public final static native void CoreSession_voice_name_set(long jarg1, String jarg2);
public final static native String CoreSession_voice_name_get(long jarg1);
public final static native int CoreSession_insertFile(long jarg1, String jarg2, String jarg3, int jarg4);
public final static native int CoreSession_answer(long jarg1);
public final static native int CoreSession_preAnswer(long jarg1);
public final static native void CoreSession_hangup(long jarg1, String jarg2);
public final static native void CoreSession_hangupState(long jarg1);
public final static native void CoreSession_setVariable(long jarg1, String jarg2, String jarg3);
public final static native void CoreSession_setPrivate(long jarg1, String jarg2, long jarg3);
public final static native long CoreSession_getPrivate(long jarg1, String jarg2);
public final static native String CoreSession_getVariable(long jarg1, String jarg2);
public final static native long CoreSession_process_callback_result(long jarg1, String jarg2);
public final static native void CoreSession_say(long jarg1, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6);
public final static native void CoreSession_sayPhrase(long jarg1, String jarg2, String jarg3, String jarg4);
public final static native String CoreSession_hangupCause(long jarg1);
public final static native String CoreSession_getState(long jarg1);
public final static native int CoreSession_recordFile(long jarg1, String jarg2, int jarg3, int jarg4, int jarg5);
public final static native int CoreSession_originate(long jarg1, long jarg2, String jarg3, int jarg4, long jarg5);
public final static native void CoreSession_destroy(long jarg1);
public final static native void CoreSession_setDTMFCallback(long jarg1, long jarg2, String jarg3);
public final static native int CoreSession_speak(long jarg1, String jarg2);
public final static native void CoreSession_set_tts_parms(long jarg1, String jarg2, String jarg3);
public final static native void CoreSession_set_tts_params(long jarg1, String jarg2, String jarg3);
public final static native int CoreSession_collectDigits__SWIG_0(long jarg1, int jarg2);
public final static native int CoreSession_collectDigits__SWIG_1(long jarg1, int jarg2, int jarg3);
public final static native String CoreSession_getDigits__SWIG_0(long jarg1, int jarg2, String jarg3, int jarg4);
public final static native String CoreSession_getDigits__SWIG_1(long jarg1, int jarg2, String jarg3, int jarg4, int jarg5);
public final static native int CoreSession_transfer(long jarg1, String jarg2, String jarg3, String jarg4);
public final static native String CoreSession_read(long jarg1, int jarg2, int jarg3, String jarg4, int jarg5, String jarg6, int jarg7);
public final static native String CoreSession_playAndGetDigits(long jarg1, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, int jarg11, String jarg12);
public final static native int CoreSession_streamFile(long jarg1, String jarg2, int jarg3);
public final static native int CoreSession_sleep(long jarg1, int jarg2, int jarg3);
public final static native int CoreSession_flushEvents(long jarg1);
public final static native int CoreSession_flushDigits(long jarg1);
public final static native int CoreSession_setAutoHangup(long jarg1, boolean jarg2);
public final static native void CoreSession_setHangupHook(long jarg1, long jarg2);
public final static native boolean CoreSession_ready(long jarg1);
public final static native boolean CoreSession_bridged(long jarg1);
public final static native boolean CoreSession_answered(long jarg1);
public final static native boolean CoreSession_mediaReady(long jarg1);
public final static native void CoreSession_waitForAnswer(long jarg1, long jarg2);
public final static native void CoreSession_execute(long jarg1, String jarg2, String jarg3);
public final static native void CoreSession_sendEvent(long jarg1, long jarg2);
public final static native void CoreSession_setEventData(long jarg1, long jarg2);
public final static native String CoreSession_getXMLCDR(long jarg1);
public final static native boolean CoreSession_begin_allow_threads(long jarg1);
public final static native boolean CoreSession_end_allow_threads(long jarg1);
public final static native String CoreSession_get_uuid(long jarg1);
public final static native long CoreSession_get_cb_args(long jarg1);
public final static native void CoreSession_check_hangup_hook(long jarg1);
public final static native long CoreSession_run_dtmf_callback(long jarg1, long jarg2, long jarg3);
public final static native void CoreSession_consoleLog(long jarg1, String jarg2, String jarg3);
public final static native void CoreSession_consoleLog2(long jarg1, String jarg2, String jarg3, String jarg4, int jarg5, String jarg6);
public final static native void console_log(String jarg1, String jarg2);
public final static native void console_log2(String jarg1, String jarg2, String jarg3, int jarg4, String jarg5);
public final static native void console_clean_log(String jarg1);
public final static native void msleep(long jarg1);
public final static native void bridge(long jarg1, CoreSession jarg1_, long jarg2, CoreSession jarg2_);
public final static native void bridge(long jarg1, long jarg2);
public final static native long hanguphook(long jarg1);
public final static native long dtmf_callback(long jarg1, long jarg2, long jarg3, long jarg4, long jarg5);
public final static native void javaVM_set(long jarg1);
@ -176,12 +176,12 @@ class freeswitchJNI {
public final static native long new_JavaSession__SWIG_1(String jarg1);
public final static native long new_JavaSession__SWIG_2(long jarg1);
public final static native void delete_JavaSession(long jarg1);
public final static native boolean JavaSession_begin_allow_threads(long jarg1, JavaSession jarg1_);
public final static native boolean JavaSession_end_allow_threads(long jarg1, JavaSession jarg1_);
public final static native void JavaSession_setDTMFCallback(long jarg1, JavaSession jarg1_, org.freeswitch.DTMFCallback jarg2, String jarg3);
public final static native void JavaSession_setHangupHook(long jarg1, JavaSession jarg1_, org.freeswitch.HangupHook jarg2);
public final static native void JavaSession_check_hangup_hook(long jarg1, JavaSession jarg1_);
public final static native long JavaSession_run_dtmf_callback(long jarg1, JavaSession jarg1_, long jarg2, long jarg3);
public final static native int JavaSession_originate(long jarg1, JavaSession jarg1_, long jarg2, JavaSession jarg2_, String jarg3, int jarg4);
public final static native boolean JavaSession_begin_allow_threads(long jarg1);
public final static native boolean JavaSession_end_allow_threads(long jarg1);
public final static native void JavaSession_setDTMFCallback(long jarg1, org.freeswitch.DTMFCallback jarg2, String jarg3);
public final static native void JavaSession_setHangupHook(long jarg1, org.freeswitch.HangupHook jarg2);
public final static native void JavaSession_check_hangup_hook(long jarg1);
public final static native long JavaSession_run_dtmf_callback(long jarg1, long jarg2, long jarg3);
public final static native int JavaSession_originate(long jarg1, long jarg2, String jarg3, int jarg4);
public final static native long SWIGJavaSessionUpcast(long jarg1);
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -25,7 +25,7 @@ public class input_callback_state_t {
delete();
}
public synchronized void delete() {
public void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_input_callback_state_t(swigCPtr);
@ -34,38 +34,38 @@ public class input_callback_state_t {
}
public void setFunction(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_function_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_function_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getFunction() {
long cPtr = freeswitchJNI.input_callback_state_t_function_get(swigCPtr, this);
long cPtr = freeswitchJNI.input_callback_state_t_function_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setThreadState(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_threadState_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_threadState_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getThreadState() {
long cPtr = freeswitchJNI.input_callback_state_t_threadState_get(swigCPtr, this);
long cPtr = freeswitchJNI.input_callback_state_t_threadState_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setExtra(SWIGTYPE_p_void value) {
freeswitchJNI.input_callback_state_t_extra_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
freeswitchJNI.input_callback_state_t_extra_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
}
public SWIGTYPE_p_void getExtra() {
long cPtr = freeswitchJNI.input_callback_state_t_extra_get(swigCPtr, this);
long cPtr = freeswitchJNI.input_callback_state_t_extra_get(swigCPtr);
return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
}
public void setFuncargs(String value) {
freeswitchJNI.input_callback_state_t_funcargs_set(swigCPtr, this, value);
freeswitchJNI.input_callback_state_t_funcargs_set(swigCPtr, value);
}
public String getFuncargs() {
return freeswitchJNI.input_callback_state_t_funcargs_get(swigCPtr, this);
return freeswitchJNI.input_callback_state_t_funcargs_get(swigCPtr);
}
public input_callback_state_t() {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 1.3.29
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -27,18 +27,15 @@ public enum session_flag_t {
throw new IllegalArgumentException("No enum " + session_flag_t.class + " with value " + swigValue);
}
@SuppressWarnings("unused")
private session_flag_t() {
this.swigValue = SwigNext.next++;
}
@SuppressWarnings("unused")
private session_flag_t(int swigValue) {
this.swigValue = swigValue;
SwigNext.next = swigValue+1;
}
@SuppressWarnings("unused")
private session_flag_t(session_flag_t swigEnum) {
this.swigValue = swigEnum.swigValue;
SwigNext.next = this.swigValue+1;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,5 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.35
#
# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
package freeswitch;
require Exporter;
@ISA = qw(Exporter);

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,10 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.35
#
# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
import _freeswitch
import new
new_instancemethod = new.instancemethod
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
@ -98,16 +92,16 @@ class input_callback_state_t(_object):
__repr__ = _swig_repr
__swig_setmethods__["function"] = _freeswitch.input_callback_state_t_function_set
__swig_getmethods__["function"] = _freeswitch.input_callback_state_t_function_get
if _newclass:function = _swig_property(_freeswitch.input_callback_state_t_function_get, _freeswitch.input_callback_state_t_function_set)
if _newclass:function = property(_freeswitch.input_callback_state_t_function_get, _freeswitch.input_callback_state_t_function_set)
__swig_setmethods__["threadState"] = _freeswitch.input_callback_state_t_threadState_set
__swig_getmethods__["threadState"] = _freeswitch.input_callback_state_t_threadState_get
if _newclass:threadState = _swig_property(_freeswitch.input_callback_state_t_threadState_get, _freeswitch.input_callback_state_t_threadState_set)
if _newclass:threadState = property(_freeswitch.input_callback_state_t_threadState_get, _freeswitch.input_callback_state_t_threadState_set)
__swig_setmethods__["extra"] = _freeswitch.input_callback_state_t_extra_set
__swig_getmethods__["extra"] = _freeswitch.input_callback_state_t_extra_get
if _newclass:extra = _swig_property(_freeswitch.input_callback_state_t_extra_get, _freeswitch.input_callback_state_t_extra_set)
if _newclass:extra = property(_freeswitch.input_callback_state_t_extra_get, _freeswitch.input_callback_state_t_extra_set)
__swig_setmethods__["funcargs"] = _freeswitch.input_callback_state_t_funcargs_set
__swig_getmethods__["funcargs"] = _freeswitch.input_callback_state_t_funcargs_get
if _newclass:funcargs = _swig_property(_freeswitch.input_callback_state_t_funcargs_get, _freeswitch.input_callback_state_t_funcargs_set)
if _newclass:funcargs = property(_freeswitch.input_callback_state_t_funcargs_get, _freeswitch.input_callback_state_t_funcargs_set)
def __init__(self, *args):
this = _freeswitch.new_input_callback_state_t(*args)
try: self.this.append(this)
@ -128,10 +122,10 @@ class DTMF(_object):
__repr__ = _swig_repr
__swig_setmethods__["digit"] = _freeswitch.DTMF_digit_set
__swig_getmethods__["digit"] = _freeswitch.DTMF_digit_get
if _newclass:digit = _swig_property(_freeswitch.DTMF_digit_get, _freeswitch.DTMF_digit_set)
if _newclass:digit = property(_freeswitch.DTMF_digit_get, _freeswitch.DTMF_digit_set)
__swig_setmethods__["duration"] = _freeswitch.DTMF_duration_set
__swig_getmethods__["duration"] = _freeswitch.DTMF_duration_get
if _newclass:duration = _swig_property(_freeswitch.DTMF_duration_get, _freeswitch.DTMF_duration_set)
if _newclass:duration = property(_freeswitch.DTMF_duration_get, _freeswitch.DTMF_duration_set)
def __init__(self, *args):
this = _freeswitch.new_DTMF(*args)
try: self.this.append(this)
@ -168,13 +162,13 @@ class Event(_object):
__repr__ = _swig_repr
__swig_setmethods__["event"] = _freeswitch.Event_event_set
__swig_getmethods__["event"] = _freeswitch.Event_event_get
if _newclass:event = _swig_property(_freeswitch.Event_event_get, _freeswitch.Event_event_set)
if _newclass:event = property(_freeswitch.Event_event_get, _freeswitch.Event_event_set)
__swig_setmethods__["serialized_string"] = _freeswitch.Event_serialized_string_set
__swig_getmethods__["serialized_string"] = _freeswitch.Event_serialized_string_get
if _newclass:serialized_string = _swig_property(_freeswitch.Event_serialized_string_get, _freeswitch.Event_serialized_string_set)
if _newclass:serialized_string = property(_freeswitch.Event_serialized_string_get, _freeswitch.Event_serialized_string_set)
__swig_setmethods__["mine"] = _freeswitch.Event_mine_set
__swig_getmethods__["mine"] = _freeswitch.Event_mine_get
if _newclass:mine = _swig_property(_freeswitch.Event_mine_get, _freeswitch.Event_mine_set)
if _newclass:mine = property(_freeswitch.Event_mine_get, _freeswitch.Event_mine_set)
def __init__(self, *args):
this = _freeswitch.new_Event(*args)
try: self.this.append(this)
@ -203,25 +197,25 @@ class EventConsumer(_object):
__repr__ = _swig_repr
__swig_setmethods__["events"] = _freeswitch.EventConsumer_events_set
__swig_getmethods__["events"] = _freeswitch.EventConsumer_events_get
if _newclass:events = _swig_property(_freeswitch.EventConsumer_events_get, _freeswitch.EventConsumer_events_set)
if _newclass:events = property(_freeswitch.EventConsumer_events_get, _freeswitch.EventConsumer_events_set)
__swig_setmethods__["e_event_id"] = _freeswitch.EventConsumer_e_event_id_set
__swig_getmethods__["e_event_id"] = _freeswitch.EventConsumer_e_event_id_get
if _newclass:e_event_id = _swig_property(_freeswitch.EventConsumer_e_event_id_get, _freeswitch.EventConsumer_e_event_id_set)
if _newclass:e_event_id = property(_freeswitch.EventConsumer_e_event_id_get, _freeswitch.EventConsumer_e_event_id_set)
__swig_setmethods__["e_callback"] = _freeswitch.EventConsumer_e_callback_set
__swig_getmethods__["e_callback"] = _freeswitch.EventConsumer_e_callback_get
if _newclass:e_callback = _swig_property(_freeswitch.EventConsumer_e_callback_get, _freeswitch.EventConsumer_e_callback_set)
if _newclass:e_callback = property(_freeswitch.EventConsumer_e_callback_get, _freeswitch.EventConsumer_e_callback_set)
__swig_setmethods__["e_subclass_name"] = _freeswitch.EventConsumer_e_subclass_name_set
__swig_getmethods__["e_subclass_name"] = _freeswitch.EventConsumer_e_subclass_name_get
if _newclass:e_subclass_name = _swig_property(_freeswitch.EventConsumer_e_subclass_name_get, _freeswitch.EventConsumer_e_subclass_name_set)
if _newclass:e_subclass_name = property(_freeswitch.EventConsumer_e_subclass_name_get, _freeswitch.EventConsumer_e_subclass_name_set)
__swig_setmethods__["e_cb_arg"] = _freeswitch.EventConsumer_e_cb_arg_set
__swig_getmethods__["e_cb_arg"] = _freeswitch.EventConsumer_e_cb_arg_get
if _newclass:e_cb_arg = _swig_property(_freeswitch.EventConsumer_e_cb_arg_get, _freeswitch.EventConsumer_e_cb_arg_set)
if _newclass:e_cb_arg = property(_freeswitch.EventConsumer_e_cb_arg_get, _freeswitch.EventConsumer_e_cb_arg_set)
__swig_setmethods__["enodes"] = _freeswitch.EventConsumer_enodes_set
__swig_getmethods__["enodes"] = _freeswitch.EventConsumer_enodes_get
if _newclass:enodes = _swig_property(_freeswitch.EventConsumer_enodes_get, _freeswitch.EventConsumer_enodes_set)
if _newclass:enodes = property(_freeswitch.EventConsumer_enodes_get, _freeswitch.EventConsumer_enodes_set)
__swig_setmethods__["node_index"] = _freeswitch.EventConsumer_node_index_set
__swig_getmethods__["node_index"] = _freeswitch.EventConsumer_node_index_get
if _newclass:node_index = _swig_property(_freeswitch.EventConsumer_node_index_get, _freeswitch.EventConsumer_node_index_set)
if _newclass:node_index = property(_freeswitch.EventConsumer_node_index_get, _freeswitch.EventConsumer_node_index_set)
def __init__(self, *args):
this = _freeswitch.new_EventConsumer(*args)
try: self.this.append(this)
@ -239,40 +233,40 @@ class CoreSession(_object):
__setattr__ = lambda self, name, value: _swig_setattr(self, CoreSession, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CoreSession, name)
def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _freeswitch.delete_CoreSession
__del__ = lambda self : None;
__swig_setmethods__["session"] = _freeswitch.CoreSession_session_set
__swig_getmethods__["session"] = _freeswitch.CoreSession_session_get
if _newclass:session = _swig_property(_freeswitch.CoreSession_session_get, _freeswitch.CoreSession_session_set)
if _newclass:session = property(_freeswitch.CoreSession_session_get, _freeswitch.CoreSession_session_set)
__swig_setmethods__["channel"] = _freeswitch.CoreSession_channel_set
__swig_getmethods__["channel"] = _freeswitch.CoreSession_channel_get
if _newclass:channel = _swig_property(_freeswitch.CoreSession_channel_get, _freeswitch.CoreSession_channel_set)
if _newclass:channel = property(_freeswitch.CoreSession_channel_get, _freeswitch.CoreSession_channel_set)
__swig_setmethods__["flags"] = _freeswitch.CoreSession_flags_set
__swig_getmethods__["flags"] = _freeswitch.CoreSession_flags_get
if _newclass:flags = _swig_property(_freeswitch.CoreSession_flags_get, _freeswitch.CoreSession_flags_set)
if _newclass:flags = property(_freeswitch.CoreSession_flags_get, _freeswitch.CoreSession_flags_set)
__swig_setmethods__["allocated"] = _freeswitch.CoreSession_allocated_set
__swig_getmethods__["allocated"] = _freeswitch.CoreSession_allocated_get
if _newclass:allocated = _swig_property(_freeswitch.CoreSession_allocated_get, _freeswitch.CoreSession_allocated_set)
if _newclass:allocated = property(_freeswitch.CoreSession_allocated_get, _freeswitch.CoreSession_allocated_set)
__swig_setmethods__["cb_state"] = _freeswitch.CoreSession_cb_state_set
__swig_getmethods__["cb_state"] = _freeswitch.CoreSession_cb_state_get
if _newclass:cb_state = _swig_property(_freeswitch.CoreSession_cb_state_get, _freeswitch.CoreSession_cb_state_set)
if _newclass:cb_state = property(_freeswitch.CoreSession_cb_state_get, _freeswitch.CoreSession_cb_state_set)
__swig_setmethods__["hook_state"] = _freeswitch.CoreSession_hook_state_set
__swig_getmethods__["hook_state"] = _freeswitch.CoreSession_hook_state_get
if _newclass:hook_state = _swig_property(_freeswitch.CoreSession_hook_state_get, _freeswitch.CoreSession_hook_state_set)
if _newclass:hook_state = property(_freeswitch.CoreSession_hook_state_get, _freeswitch.CoreSession_hook_state_set)
__swig_setmethods__["cause"] = _freeswitch.CoreSession_cause_set
__swig_getmethods__["cause"] = _freeswitch.CoreSession_cause_get
if _newclass:cause = _swig_property(_freeswitch.CoreSession_cause_get, _freeswitch.CoreSession_cause_set)
if _newclass:cause = property(_freeswitch.CoreSession_cause_get, _freeswitch.CoreSession_cause_set)
__swig_setmethods__["uuid"] = _freeswitch.CoreSession_uuid_set
__swig_getmethods__["uuid"] = _freeswitch.CoreSession_uuid_get
if _newclass:uuid = _swig_property(_freeswitch.CoreSession_uuid_get, _freeswitch.CoreSession_uuid_set)
if _newclass:uuid = property(_freeswitch.CoreSession_uuid_get, _freeswitch.CoreSession_uuid_set)
__swig_setmethods__["tts_name"] = _freeswitch.CoreSession_tts_name_set
__swig_getmethods__["tts_name"] = _freeswitch.CoreSession_tts_name_get
if _newclass:tts_name = _swig_property(_freeswitch.CoreSession_tts_name_get, _freeswitch.CoreSession_tts_name_set)
if _newclass:tts_name = property(_freeswitch.CoreSession_tts_name_get, _freeswitch.CoreSession_tts_name_set)
__swig_setmethods__["voice_name"] = _freeswitch.CoreSession_voice_name_set
__swig_getmethods__["voice_name"] = _freeswitch.CoreSession_voice_name_get
if _newclass:voice_name = _swig_property(_freeswitch.CoreSession_voice_name_get, _freeswitch.CoreSession_voice_name_set)
if _newclass:voice_name = property(_freeswitch.CoreSession_voice_name_get, _freeswitch.CoreSession_voice_name_set)
def insertFile(*args): return _freeswitch.CoreSession_insertFile(*args)
def answer(*args): return _freeswitch.CoreSession_answer(*args)
def preAnswer(*args): return _freeswitch.CoreSession_preAnswer(*args)
@ -334,10 +328,10 @@ hanguphook = _freeswitch.hanguphook
dtmf_callback = _freeswitch.dtmf_callback
class Session(CoreSession):
__swig_setmethods__ = {}
for _s in [CoreSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
for _s in [CoreSession]: __swig_setmethods__.update(_s.__swig_setmethods__)
__setattr__ = lambda self, name, value: _swig_setattr(self, Session, name, value)
__swig_getmethods__ = {}
for _s in [CoreSession]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
for _s in [CoreSession]: __swig_getmethods__.update(_s.__swig_getmethods__)
__getattr__ = lambda self, name: _swig_getattr(self, Session, name)
__repr__ = _swig_repr
def __init__(self, *args):
@ -357,16 +351,16 @@ class Session(CoreSession):
def ready(*args): return _freeswitch.Session_ready(*args)
__swig_setmethods__["cb_function"] = _freeswitch.Session_cb_function_set
__swig_getmethods__["cb_function"] = _freeswitch.Session_cb_function_get
if _newclass:cb_function = _swig_property(_freeswitch.Session_cb_function_get, _freeswitch.Session_cb_function_set)
if _newclass:cb_function = property(_freeswitch.Session_cb_function_get, _freeswitch.Session_cb_function_set)
__swig_setmethods__["cb_arg"] = _freeswitch.Session_cb_arg_set
__swig_getmethods__["cb_arg"] = _freeswitch.Session_cb_arg_get
if _newclass:cb_arg = _swig_property(_freeswitch.Session_cb_arg_get, _freeswitch.Session_cb_arg_set)
if _newclass:cb_arg = property(_freeswitch.Session_cb_arg_get, _freeswitch.Session_cb_arg_set)
__swig_setmethods__["hangup_func"] = _freeswitch.Session_hangup_func_set
__swig_getmethods__["hangup_func"] = _freeswitch.Session_hangup_func_get
if _newclass:hangup_func = _swig_property(_freeswitch.Session_hangup_func_get, _freeswitch.Session_hangup_func_set)
if _newclass:hangup_func = property(_freeswitch.Session_hangup_func_get, _freeswitch.Session_hangup_func_set)
__swig_setmethods__["hangup_func_arg"] = _freeswitch.Session_hangup_func_arg_set
__swig_getmethods__["hangup_func_arg"] = _freeswitch.Session_hangup_func_arg_get
if _newclass:hangup_func_arg = _swig_property(_freeswitch.Session_hangup_func_arg_get, _freeswitch.Session_hangup_func_arg_set)
if _newclass:hangup_func_arg = property(_freeswitch.Session_hangup_func_arg_get, _freeswitch.Session_hangup_func_arg_set)
def setPython(*args): return _freeswitch.Session_setPython(*args)
def setSelf(*args): return _freeswitch.Session_setSelf(*args)
Session_swigregister = _freeswitch.Session_swigregister

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff