From 6074f2bc27c812588cd51f5505478ca6a8541494 Mon Sep 17 00:00:00 2001 From: Georgiewskiy Yuriy Date: Sun, 22 Nov 2009 17:06:34 +0000 Subject: [PATCH] fix to build with trunk changes. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15605 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_h323/changes.txt | 1 + src/mod/endpoints/mod_h323/mod_h323.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mod/endpoints/mod_h323/changes.txt b/src/mod/endpoints/mod_h323/changes.txt index a34bc50c23..2684347514 100644 --- a/src/mod/endpoints/mod_h323/changes.txt +++ b/src/mod/endpoints/mod_h323/changes.txt @@ -1,4 +1,5 @@ +fix to build with trunk changes. remove SWITCH_RTP_FLAG_AUTOADJ because its not work correctly and not do anything reliable in our cases. fix faststart in progress handling fixxxxes diff --git a/src/mod/endpoints/mod_h323/mod_h323.cpp b/src/mod/endpoints/mod_h323/mod_h323.cpp index 045c59b02a..7bec466125 100644 --- a/src/mod/endpoints/mod_h323/mod_h323.cpp +++ b/src/mod/endpoints/mod_h323/mod_h323.cpp @@ -1,5 +1,5 @@ /* - Version 0.0.12 + Version 0.0.13 */ #include "mod_h323.h" @@ -18,7 +18,7 @@ struct mod_h323_globals mod_h323_globals = { 0 }; static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event, switch_caller_profile_t *outbound_profile, switch_core_session_t **new_session, - switch_memory_pool_t **pool, switch_originate_flag_t flags); + switch_memory_pool_t **pool, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause); static const char modulename[] = "h323"; static const char* h323_formats[] = { @@ -755,7 +755,7 @@ PBoolean FSH323Connection::OnCreateLogicalChannel(const H323Capability& capabili void FSH323Connection::OnReceivedReleaseComplete(const H323SignalPDU & pdu){ PTRACE(4, "mod_h323\t======>FSH323Connection::OnReceivedReleaseComplete cause = "<FSH323Connection::OnUserInputString [" << *this<<"]"); - switch_dtmf_t dtmf = { value[0], 0 }; + switch_dtmf_t dtmf = { value[0], 500 }; switch_channel_queue_dtmf(m_fsChannel, &dtmf); H323Connection::OnUserInputString(value); } @@ -1381,7 +1381,7 @@ FSH323Connection * FSH323EndPoint::FSMakeCall(const PString & dest, void *userDa static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event, switch_caller_profile_t *outbound_profile, - switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags){ + switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause){ PTRACE(4, "mod_h323\t======>create_outgoing_channel DST NUMBER = "<destination_number); FSH323Connection * connection;