Added a debugging message before SS7 SNM sends out a message.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3723 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-10-19 08:00:00 +00:00
parent 1610c38f3d
commit 9f576f9249
1 changed files with 4 additions and 0 deletions

View File

@ -789,6 +789,10 @@ bool SS7Management::control(NamedList& params)
txSls = (txSls + 1) & 0xff;
}
txSls = params.getIntValue("linksel",txSls) & 0xff;
String tmp;
tmp << SS7PointCode::lookup(lbl.type()) << "," << lbl;
Debug(this,DebugAll,"Sending %s to %s on %d [%p]",
SS7MsgSNM::lookup((SS7MsgSNM::Type)cmd),tmp.c_str(),txSls,this);
switch (cmd) {
// Messages containing a destination point code
case SS7MsgSNM::TFP: