Fixed Redirection information encoder: copy all message data in msu buffer.

git-svn-id: http://voip.null.ro/svn/yate@3612 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2010-08-31 20:18:00 +00:00
parent 483a92682d
commit 76e918e444
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ static unsigned char encodeRedir(const SS7ISUP* isup, SS7MSU& msu,
ri[2] = (extra->getIntValue(preName+".counter") & 0x07) |
((extra->getIntValue(preName+".reason",s_dict_redir_reason,0) & 0x0f) << 4);
}
DataBlock tmp(ri,2,false);
DataBlock tmp(ri,3,false);
msu += tmp;
tmp.clear(false);
return ri[0];