public static int switch_core_add_state_handler(switch_state_handler_table state_handler) { int ret = freeswitchPINVOKE.switch_core_add_state_handler(switch_state_handler_table.getCPtr(state_handler)); return ret; }