[asterisk-commits] pcadach: branch 1.4 r44043 - /branches/1.4/channels/h323/ast_h323.cxx

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Sep 29 14:09:10 MST 2006


Author: pcadach
Date: Fri Sep 29 16:09:10 2006
New Revision: 44043

URL: http://svn.digium.com/view/asterisk?rev=44043&view=rev
Log:
Compile first, please

Modified:
    branches/1.4/channels/h323/ast_h323.cxx

Modified: branches/1.4/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/h323/ast_h323.cxx?rev=44043&r1=44042&r2=44043&view=diff
==============================================================================
--- branches/1.4/channels/h323/ast_h323.cxx (original)
+++ branches/1.4/channels/h323/ast_h323.cxx Fri Sep 29 16:09:10 2006
@@ -766,10 +766,10 @@
 			cd->type_of_number = 0;		/* UNKNOWN */
 			cd->presentation = 0x03;	/* ALLOWED NETWORK NUMBER - Default */
 			if (setupPDU.GetQ931().HasIE(Q931::UserUserIE)) {
-				H225_Setup_UUIE &setup_uuie = setupPDU.m_h323_uu_pdu.m_h323_message_body
-				if (setup_uuie.HasOptionalField(e_presentationIndicator))
+				const H225_Setup_UUIE &setup_uuie = setupPDU.m_h323_uu_pdu.m_h323_message_body;
+				if (setup_uuie.HasOptionalField(H225_Setup_UUIE::e_presentationIndicator))
 					cd->presentation = (cd->presentation & 0x9f) | (((unsigned int)setup_uuie.m_presentationIndicator.GetTag()) << 5);
-				if (setup_uuie.HasOptionalField(e_screeningIndicator))
+				if (setup_uuie.HasOptionalField(H225_Setup_UUIE::e_screeningIndicator))
 					cd->presentation = (cd->presentation & 0xe0) | (((unsigned int)setup_uuie.m_screeningIndicator.GetValue()) & 0x1f);
 			}
 		} else {



More information about the asterisk-commits mailing list