Use XUDT message to transmit segmented data if we do not support LUDT.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4729 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
andrei 2011-11-30 10:58:56 +00:00
parent 761e7536dc
commit 74d3f5b8b9
1 changed files with 1 additions and 1 deletions

View File

@ -3071,7 +3071,7 @@ int SS7SCCP::sendMessage(DataBlock& data, const NamedList& params)
if (data.length() > MAX_DATA_LEN) {
// TODO verify if we can send LUDT Have a sigtran under?
// If not segment the message. send multiple XUDT messages
sccpMsg = new SS7MsgSCCP(SS7MsgSCCP::LUDT);
sccpMsg = new SS7MsgSCCP(m_supportLongData ? SS7MsgSCCP::LUDT : SS7MsgSCCP::XUDT);
checkHopCounter = true;
if(params.getParam(YSTRING("Importance")) && m_type == SS7PointCode::ITU)
checkImportance = true;