Added an "available" command to ISUP so the remote user part can be enabled manually for testing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3740 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
36ebe8f40d
commit
f76e9c61a3
|
@ -206,6 +206,7 @@ static const TokenDict s_dict_control[] = {
|
|||
{ "block", SS7MsgISUP::BLK },
|
||||
{ "unblock", SS7MsgISUP::UBL },
|
||||
{ "release", SS7MsgISUP::RLC },
|
||||
{ "available", SS7MsgISUP::UPA },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
@ -3674,7 +3675,13 @@ bool SS7ISUP::control(NamedList& params)
|
|||
transmitRLC(this,code,label,false);
|
||||
}
|
||||
return true;
|
||||
|
||||
case SS7MsgISUP::UPA:
|
||||
if (!m_userPartAvail) {
|
||||
m_uptTimer.stop();
|
||||
m_userPartAvail = true;
|
||||
m_lockTimer.start();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
mylock.drop();
|
||||
return SignallingComponent::control(params);
|
||||
|
|
Loading…
Reference in New Issue