Display the proper OPC/DPC in the debug message when sending a SLTA.

git-svn-id: http://voip.null.ro/svn/yate@4126 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-02-23 12:11:03 +00:00
parent 96d1d091e9
commit bf1e35151c
1 changed files with 4 additions and 0 deletions

View File

@ -305,6 +305,10 @@ bool SS7Layer3::maintenance(const SS7MSU& msu, const SS7Label& label, int sls)
if (!d)
return false;
linkChecked(sls,true);
addr.clear();
addr << SS7PointCode::lookup(lbl.type()) << "," << lbl;
if (debugAt(DebugAll))
addr << " (" << lbl.opc().pack(lbl.type()) << ":" << lbl.dpc().pack(lbl.type()) << ":" << lbl.sls() << ")";
Debug(this,level,"Sending SLTA %s with %u bytes",addr.c_str(),len);
*d++ = SS7MsgMTN::SLTA;
*d++ = len << 4;