Revision
15605
Author
bottleman
Date
2009-11-22 11:06:34 -0600 (Sun, 22 Nov 2009)

Log Message

fix to build with trunk changes.

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_h323/changes.txt (15604 => 15605)


--- freeswitch/trunk/src/mod/endpoints/mod_h323/changes.txt	2009-11-21 20:14:11 UTC (rev 15604)
+++ freeswitch/trunk/src/mod/endpoints/mod_h323/changes.txt	2009-11-22 17:06:34 UTC (rev 15605)
@@ -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

Modified: freeswitch/trunk/src/mod/endpoints/mod_h323/mod_h323.cpp (15604 => 15605)


--- freeswitch/trunk/src/mod/endpoints/mod_h323/mod_h323.cpp	2009-11-21 20:14:11 UTC (rev 15604)
+++ freeswitch/trunk/src/mod/endpoints/mod_h323/mod_h323.cpp	2009-11-22 17:06:34 UTC (rev 15605)
@@ -1,5 +1,5 @@
 /*
-	Version 0.0.12
+	Version 0.0.13
 */
 
 #include "mod_h323.h"
@@ -18,7 +18,7 @@
 
 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 @@
 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());
 	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()); 
 	return H323Connection::OnReceivedReleaseComplete(pdu);
 }
@@ -903,7 +903,7 @@
 void FSH323Connection::OnUserInputString(const PString &value)
 {
 	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);
 	H323Connection::OnUserInputString(value);
 }
@@ -1381,7 +1381,7 @@
 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 = "<<outbound_profile->destination_number);
 	
 	FSH323Connection * connection;