diff --git a/bindings/_common/SipStack.i b/bindings/_common/SipStack.i index 024347a9..b46d8320 100755 --- a/bindings/_common/SipStack.i +++ b/bindings/_common/SipStack.i @@ -185,41 +185,42 @@ tsip_options_event_type_t; typedef enum tsip_invite_event_type_e { // ============================ - // Sip Events - // - tsip_i_newcall, - - //! in-dialog requests/reponses - tsip_i_request, - tsip_ao_request, - - /* 3GPP TS 24.629: Explicit Call Transfer (ECT) */ - tsip_o_ect_trying, - tsip_o_ect_accepted, - tsip_o_ect_completed, - tsip_o_ect_failed, - tsip_o_ect_notify, - tsip_i_ect_requested, - tsip_i_ect_newcall, - tsip_i_ect_completed, - tsip_i_ect_failed, - tsip_i_ect_notify, - - // ============================ - // Media Events - // + // Sip Events + // + tsip_i_newcall, + tsip_i_prechecking, - tsip_m_early_media, - tsip_m_updating, // Trying to update from Audio -> Video for example - tsip_m_updated, // succeed to update - - /* 3GPP TS 24.610: Communication Hold */ - tsip_m_local_hold_ok, - tsip_m_local_hold_nok, - tsip_m_local_resume_ok, - tsip_m_local_resume_nok, - tsip_m_remote_hold, - tsip_m_remote_resume, + //! in-dialog requests/reponses + tsip_i_request, + tsip_ao_request, + + /* 3GPP TS 24.629: Explicit Call Transfer (ECT) */ + tsip_o_ect_trying, + tsip_o_ect_accepted, + tsip_o_ect_completed, + tsip_o_ect_failed, + tsip_o_ect_notify, + tsip_i_ect_requested, + tsip_i_ect_newcall, + tsip_i_ect_completed, + tsip_i_ect_failed, + tsip_i_ect_notify, + + // ============================ + // Media Events + // + + tsip_m_early_media, + tsip_m_updating, // Trying to update from Audio -> Video for example + tsip_m_updated, // succeed to update + + /* 3GPP TS 24.610: Communication Hold */ + tsip_m_local_hold_ok, + tsip_m_local_hold_nok, + tsip_m_local_resume_ok, + tsip_m_local_resume_nok, + tsip_m_remote_hold, + tsip_m_remote_resume, } tsip_invite_event_type_t; diff --git a/bindings/csharp/tsip_invite_event_type_t.cs b/bindings/csharp/tsip_invite_event_type_t.cs index f3f025c8..de8e5f61 100755 --- a/bindings/csharp/tsip_invite_event_type_t.cs +++ b/bindings/csharp/tsip_invite_event_type_t.cs @@ -10,6 +10,7 @@ namespace org.doubango.tinyWRAP { public enum tsip_invite_event_type_t { tsip_i_newcall, + tsip_i_prechecking, tsip_i_request, tsip_ao_request, tsip_o_ect_trying, diff --git a/bindings/java/android/tsip_invite_event_type_t.java b/bindings/java/android/tsip_invite_event_type_t.java index 9c84c577..93009285 100755 --- a/bindings/java/android/tsip_invite_event_type_t.java +++ b/bindings/java/android/tsip_invite_event_type_t.java @@ -10,6 +10,7 @@ package org.doubango.tinyWRAP; public enum tsip_invite_event_type_t { tsip_i_newcall, + tsip_i_prechecking, tsip_i_request, tsip_ao_request, tsip_o_ect_trying, diff --git a/bindings/java/tsip_invite_event_type_t.java b/bindings/java/tsip_invite_event_type_t.java index 9c84c577..93009285 100755 --- a/bindings/java/tsip_invite_event_type_t.java +++ b/bindings/java/tsip_invite_event_type_t.java @@ -10,6 +10,7 @@ package org.doubango.tinyWRAP; public enum tsip_invite_event_type_t { tsip_i_newcall, + tsip_i_prechecking, tsip_i_request, tsip_ao_request, tsip_o_ect_trying, diff --git a/bindings/perl/tinyWRAP.pm b/bindings/perl/tinyWRAP.pm index a375abd9..03c7f8c1 100755 --- a/bindings/perl/tinyWRAP.pm +++ b/bindings/perl/tinyWRAP.pm @@ -2610,6 +2610,7 @@ package tinyWRAP; *tsip_i_options = *tinyWRAPc::tsip_i_options; *tsip_ao_options = *tinyWRAPc::tsip_ao_options; *tsip_i_newcall = *tinyWRAPc::tsip_i_newcall; +*tsip_i_prechecking = *tinyWRAPc::tsip_i_prechecking; *tsip_i_request = *tinyWRAPc::tsip_i_request; *tsip_ao_request = *tinyWRAPc::tsip_ao_request; *tsip_o_ect_trying = *tinyWRAPc::tsip_o_ect_trying; diff --git a/bindings/perl/tinyWRAP_wrap.cxx b/bindings/perl/tinyWRAP_wrap.cxx index a9bc994a..fdfea1da 100755 --- a/bindings/perl/tinyWRAP_wrap.cxx +++ b/bindings/perl/tinyWRAP_wrap.cxx @@ -29793,6 +29793,11 @@ XS(SWIG_init) { sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_newcall))); SvREADONLY_on(sv); } while(0) /*@SWIG@*/; + /*@SWIG:/usr/local/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do { + SV *sv = get_sv((char*) SWIG_prefix "tsip_i_prechecking", TRUE | 0x2 | GV_ADDMULTI); + sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_prechecking))); + SvREADONLY_on(sv); + } while(0) /*@SWIG@*/; /*@SWIG:/usr/local/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do { SV *sv = get_sv((char*) SWIG_prefix "tsip_i_request", TRUE | 0x2 | GV_ADDMULTI); sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(tsip_i_request))); diff --git a/bindings/python/tinyWRAP.py b/bindings/python/tinyWRAP.py index f2f155dc..9d9bc55f 100755 --- a/bindings/python/tinyWRAP.py +++ b/bindings/python/tinyWRAP.py @@ -1755,6 +1755,7 @@ tsip_ao_info = _tinyWRAP.tsip_ao_info tsip_i_options = _tinyWRAP.tsip_i_options tsip_ao_options = _tinyWRAP.tsip_ao_options tsip_i_newcall = _tinyWRAP.tsip_i_newcall +tsip_i_prechecking = _tinyWRAP.tsip_i_prechecking tsip_i_request = _tinyWRAP.tsip_i_request tsip_ao_request = _tinyWRAP.tsip_ao_request tsip_o_ect_trying = _tinyWRAP.tsip_o_ect_trying diff --git a/bindings/python/tinyWRAP_wrap.cxx b/bindings/python/tinyWRAP_wrap.cxx index 445f1440..82042618 100755 --- a/bindings/python/tinyWRAP_wrap.cxx +++ b/bindings/python/tinyWRAP_wrap.cxx @@ -28586,6 +28586,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "tsip_i_options",SWIG_From_int(static_cast< int >(tsip_i_options))); SWIG_Python_SetConstant(d, "tsip_ao_options",SWIG_From_int(static_cast< int >(tsip_ao_options))); SWIG_Python_SetConstant(d, "tsip_i_newcall",SWIG_From_int(static_cast< int >(tsip_i_newcall))); + SWIG_Python_SetConstant(d, "tsip_i_prechecking",SWIG_From_int(static_cast< int >(tsip_i_prechecking))); SWIG_Python_SetConstant(d, "tsip_i_request",SWIG_From_int(static_cast< int >(tsip_i_request))); SWIG_Python_SetConstant(d, "tsip_ao_request",SWIG_From_int(static_cast< int >(tsip_ao_request))); SWIG_Python_SetConstant(d, "tsip_o_ect_trying",SWIG_From_int(static_cast< int >(tsip_o_ect_trying)));