mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Compile first, please
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -766,10 +766,10 @@ void MyH323Connection::SetCallDetails(void *callDetails, const H323SignalPDU &se
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user