Fixed bug: don't reset again the circuit we requested. Just release it.

git-svn-id: http://voip.null.ro/svn/yate@1803 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-18 15:14:39 +00:00
parent 7bc4e6d9bf
commit 142bae4297
1 changed files with 2 additions and 3 deletions

View File

@ -2016,7 +2016,7 @@ SS7ISUP::SS7ISUP(const NamedList& params)
m_callerCat = "ordinary";
m_rscTimer.interval(params,"channelsync",60,1000,true,true);
m_lockTimer.interval(params,"channellock",1,3,false,true);
m_lockTimer.interval(params,"channellock",5,10,false,true);
if (debugAt(DebugInfo)) {
String s;
@ -2747,8 +2747,7 @@ void SS7ISUP::processControllerMsg(SS7MsgISUP* msg, const SS7Label& label, int s
stopSGM = true;
break;
case SS7MsgISUP::RLC: // Release Complete
if (!resetCircuit(msg->cic(),false))
reason = "unknown-channel";
releaseCircuit(m_rscCic);
break;
case SS7MsgISUP::RSC: // Reset Circuit
if (resetCircuit(msg->cic(),true))