fix to build with trunk changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15605 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2b4b878435
commit
6074f2bc27
|
@ -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.
|
remove SWITCH_RTP_FLAG_AUTOADJ because its not work correctly and not do anything reliable in our cases.
|
||||||
fix faststart in progress handling
|
fix faststart in progress handling
|
||||||
fixxxxes
|
fixxxxes
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Version 0.0.12
|
Version 0.0.13
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mod_h323.h"
|
#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,
|
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_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 modulename[] = "h323";
|
||||||
static const char* h323_formats[] = {
|
static const char* h323_formats[] = {
|
||||||
|
@ -755,7 +755,7 @@ PBoolean FSH323Connection::OnCreateLogicalChannel(const H323Capability& capabili
|
||||||
void FSH323Connection::OnReceivedReleaseComplete(const H323SignalPDU & pdu){
|
void FSH323Connection::OnReceivedReleaseComplete(const H323SignalPDU & pdu){
|
||||||
PTRACE(4, "mod_h323\t======>FSH323Connection::OnReceivedReleaseComplete cause = "<<pdu.GetQ931().GetCause()<<" value = "<<(switch_call_cause_t)pdu.GetQ931().GetCause());
|
PTRACE(4, "mod_h323\t======>FSH323Connection::OnReceivedReleaseComplete cause = "<<pdu.GetQ931().GetCause()<<" value = "<<(switch_call_cause_t)pdu.GetQ931().GetCause());
|
||||||
h323_private_t *tech_pvt = (h323_private_t *) switch_core_session_get_private(m_fsSession);
|
h323_private_t *tech_pvt = (h323_private_t *) switch_core_session_get_private(m_fsSession);
|
||||||
|
tech_pvt->me = NULL;
|
||||||
switch_channel_hangup(switch_core_session_get_channel(m_fsSession),(switch_call_cause_t)pdu.GetQ931().GetCause());
|
switch_channel_hangup(switch_core_session_get_channel(m_fsSession),(switch_call_cause_t)pdu.GetQ931().GetCause());
|
||||||
return H323Connection::OnReceivedReleaseComplete(pdu);
|
return H323Connection::OnReceivedReleaseComplete(pdu);
|
||||||
}
|
}
|
||||||
|
@ -903,7 +903,7 @@ void FSH323Connection::OnUserInputTone(char tone, unsigned duration, unsigned lo
|
||||||
void FSH323Connection::OnUserInputString(const PString &value)
|
void FSH323Connection::OnUserInputString(const PString &value)
|
||||||
{
|
{
|
||||||
PTRACE(4, "mod_h323\t======>FSH323Connection::OnUserInputString [" << *this<<"]");
|
PTRACE(4, "mod_h323\t======>FSH323Connection::OnUserInputString [" << *this<<"]");
|
||||||
switch_dtmf_t dtmf = { value[0], 0 };
|
switch_dtmf_t dtmf = { value[0], 500 };
|
||||||
switch_channel_queue_dtmf(m_fsChannel, &dtmf);
|
switch_channel_queue_dtmf(m_fsChannel, &dtmf);
|
||||||
H323Connection::OnUserInputString(value);
|
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,
|
static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session,
|
||||||
switch_event_t *var_event,
|
switch_event_t *var_event,
|
||||||
switch_caller_profile_t *outbound_profile,
|
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 = "<<outbound_profile->destination_number);
|
PTRACE(4, "mod_h323\t======>create_outgoing_channel DST NUMBER = "<<outbound_profile->destination_number);
|
||||||
|
|
||||||
FSH323Connection * connection;
|
FSH323Connection * connection;
|
||||||
|
|
Loading…
Reference in New Issue