2010-05-16 22:24:06 +00:00
|
|
|
|
|
|
|
%{
|
2010-05-19 13:24:02 +00:00
|
|
|
#include "SipUri.h"
|
2010-05-26 00:48:33 +00:00
|
|
|
#include "SipMessage.h"
|
2010-05-16 22:24:06 +00:00
|
|
|
#include "SipEvent.h"
|
|
|
|
#include "SipSession.h"
|
2010-05-27 21:54:26 +00:00
|
|
|
|
2010-05-16 22:24:06 +00:00
|
|
|
#include "SipCallback.h"
|
2010-05-24 22:57:16 +00:00
|
|
|
#include "SipDebug.h"
|
2010-05-16 22:24:06 +00:00
|
|
|
#include "SafeObject.h"
|
|
|
|
#include "SipStack.h"
|
|
|
|
%}
|
|
|
|
|
|
|
|
/* turn on director wrapping Callback */
|
2010-05-24 22:57:16 +00:00
|
|
|
%feature("director") SipDebugCallback;
|
2010-05-16 22:24:06 +00:00
|
|
|
%feature("director") SipCallback;
|
|
|
|
|
2010-05-24 22:57:16 +00:00
|
|
|
|
2010-05-16 22:24:06 +00:00
|
|
|
%nodefaultctor;
|
2010-05-19 13:24:02 +00:00
|
|
|
%include "SipUri.h"
|
2010-05-26 00:48:33 +00:00
|
|
|
%include "SipMessage.h"
|
2010-05-16 22:24:06 +00:00
|
|
|
%include "SipEvent.h"
|
|
|
|
%include "SipSession.h"
|
2010-05-27 21:54:26 +00:00
|
|
|
|
2010-05-16 22:24:06 +00:00
|
|
|
%include "SipCallback.h"
|
2010-05-24 22:57:16 +00:00
|
|
|
%include "SipDebug.h"
|
2010-05-16 22:24:06 +00:00
|
|
|
%include "SafeObject.h"
|
|
|
|
%include "SipStack.h"
|
|
|
|
%clearnodefaultctor;
|
|
|
|
|
2010-05-26 00:48:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-16 22:24:06 +00:00
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_event.h" ====== */
|
|
|
|
typedef enum tsip_event_type_e
|
|
|
|
{
|
|
|
|
tsip_event_invite,
|
|
|
|
tsip_event_message,
|
|
|
|
tsip_event_options,
|
|
|
|
tsip_event_publish,
|
|
|
|
tsip_event_register,
|
|
|
|
tsip_event_subscribe,
|
|
|
|
|
|
|
|
tsip_event_dialog
|
|
|
|
}
|
|
|
|
tsip_event_type_t;
|
|
|
|
|
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_api_register.h" ====== */
|
|
|
|
typedef enum tsip_register_event_type_e
|
|
|
|
{
|
|
|
|
tsip_i_register,
|
|
|
|
tsip_ai_register,
|
|
|
|
tsip_o_register,
|
|
|
|
tsip_ao_register,
|
|
|
|
|
|
|
|
tsip_i_unregister,
|
|
|
|
tsip_ai_unregister,
|
|
|
|
tsip_o_unregister,
|
|
|
|
tsip_ao_unregister,
|
|
|
|
}
|
|
|
|
tsip_register_event_type_t;
|
|
|
|
|
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_api_subscribe.h" ====== */
|
|
|
|
typedef enum tsip_subscribe_event_type_e
|
|
|
|
{
|
|
|
|
tsip_i_subscribe,
|
|
|
|
tsip_ai_subscribe,
|
|
|
|
tsip_o_subscribe,
|
|
|
|
tsip_ao_subscribe,
|
|
|
|
|
|
|
|
tsip_i_unsubscribe,
|
|
|
|
tsip_ai_unsubscribe,
|
|
|
|
tsip_o_unsubscribe,
|
|
|
|
tsip_ao_unsubscribe,
|
|
|
|
|
|
|
|
tsip_i_notify,
|
|
|
|
tsip_ai_notify,
|
|
|
|
tsip_o_notify,
|
|
|
|
tsip_ao_notify
|
|
|
|
}
|
2010-05-26 15:31:50 +00:00
|
|
|
tsip_subscribe_event_type_t;
|
|
|
|
|
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_api_publish.h" ====== */
|
|
|
|
typedef enum tsip_publish_event_type_e
|
|
|
|
{
|
|
|
|
tsip_i_publish,
|
|
|
|
tsip_ai_publish,
|
|
|
|
tsip_o_publish,
|
|
|
|
tsip_ao_publish,
|
|
|
|
|
|
|
|
tsip_i_unpublish,
|
|
|
|
tsip_ai_unpublish,
|
|
|
|
tsip_o_unpublish,
|
|
|
|
tsip_ao_unpublish
|
|
|
|
}
|
2010-05-27 21:54:26 +00:00
|
|
|
tsip_publish_event_type_t;
|
|
|
|
|
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_api_message.h" ====== */
|
|
|
|
typedef enum tsip_message_event_type_e
|
|
|
|
{
|
|
|
|
tsip_i_message,
|
|
|
|
tsip_ai_message,
|
|
|
|
tsip_o_message,
|
|
|
|
tsip_ao_message,
|
|
|
|
}
|
|
|
|
tsip_message_event_type_t;
|
|
|
|
|
|
|
|
/* ====== From "tinySIP\include\tinysip\tsip_api_options.h" ====== */
|
|
|
|
typedef enum tsip_options_event_type_e
|
|
|
|
{
|
|
|
|
tsip_i_options,
|
|
|
|
tsip_ai_options,
|
|
|
|
tsip_o_options,
|
|
|
|
tsip_ao_options,
|
|
|
|
}
|
|
|
|
tsip_options_event_type_t;
|