[svn-commits] russell: trunk r81384 - in /trunk: ./ channels/h323/ast_h323.cxx

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 30 10:40:19 CDT 2007


Author: russell
Date: Thu Aug 30 10:40:18 2007
New Revision: 81384

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81384
Log:
Merged revisions 81383 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81383 | russell | 2007-08-30 10:38:29 -0500 (Thu, 30 Aug 2007) | 3 lines

Add missing checks for the PTRACING define.
(closes issue #10559, paravoid)

........

Modified:
    trunk/   (props changed)
    trunk/channels/h323/ast_h323.cxx

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/view/asterisk/trunk/channels/h323/ast_h323.cxx?view=diff&rev=81384&r1=81383&r2=81384
==============================================================================
--- trunk/channels/h323/ast_h323.cxx (original)
+++ trunk/channels/h323/ast_h323.cxx Thu Aug 30 10:40:18 2007
@@ -287,7 +287,9 @@
 		cout << "\t-- " << GetLocalUserName() << " is calling host " << fullAddress << endl;
 		cout << "\t-- Call token is " << (const char *)token << endl;
 		cout << "\t-- Call reference is " << *callReference << endl;
+#ifdef PTRACING
 		cout << "\t-- DTMF Payload is " << connection->dtmfCodec << endl;
+#endif
 	}
 	connection->Unlock();
 	return 0;
@@ -1662,10 +1664,12 @@
 				H245_AudioTelephonyEventCapability & atec = cap;
 				atec.m_dynamicRTPPayloadType = dtmfCodec[0];
 //				on_set_rfc2833_payload(GetCallReference(), (const char *)GetCallToken(), (int)dtmfCodec[0]);
+#ifdef PTRACING
 				if (h323debug) {
 					cout << "\t-- Receiving RFC2833 on payload " <<
 						atec.m_dynamicRTPPayloadType << endl;
 				}
+#endif
 			}
 		}
 	}
@@ -1762,9 +1766,11 @@
 //					if (sendUserInputMode == SendUserInputAsTone)
 //						sendUserInputMode = SendUserInputAsInlineRFC2833;
 				}
+#ifdef PTRACING
 				if (h323debug) {
 					cout << "\t-- Outbound Cisco RTP DTMF on payload " << pt << endl;
 				}
+#endif
 			}
 			break;
 		case H323Capability::e_UserInput:
@@ -1775,9 +1781,11 @@
 //					if (sendUserInputMode == SendUserInputAsTone)
 //						sendUserInputMode = SendUserInputAsInlineRFC2833;
 				}
+#ifdef PTRACING
 				if (h323debug) {
 					cout << "\t-- Outbound RFC2833 on payload " << pt << endl;
 				}
+#endif
 			}
 			break;
 #if 0




More information about the svn-commits mailing list