Answer with TRA to TRA (if T19 not running) in SP mode too.
Start T19 also when manually forcing out all TRA messages. git-svn-id: http://yate.null.ro/svn/yate/trunk@3747 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
3f08346fb1
commit
903572b240
|
@ -1771,6 +1771,8 @@ bool SS7Router::control(NamedList& params)
|
|||
case SS7Router::Restart:
|
||||
return restart();
|
||||
case SS7Router::Traffic:
|
||||
if (!m_trafficSent.started())
|
||||
m_trafficSent.start();
|
||||
sendRestart();
|
||||
// fall through
|
||||
case SS7Router::Status:
|
||||
|
@ -1872,10 +1874,11 @@ bool SS7Router::control(NamedList& params)
|
|||
if (m_started && (SS7MsgSNM::TRA == cmd)) {
|
||||
// allow all routes for which TFx was not received before TRA
|
||||
silentAllow(type,pc.pack(type));
|
||||
// if STP is started advertise routes to just restarted node
|
||||
if (m_transfer && !m_trafficSent.started()) {
|
||||
// advertise routes and availability to just restarted node
|
||||
if (!m_trafficSent.started()) {
|
||||
m_trafficSent.start();
|
||||
notifyRoutes(SS7Route::KnownState,pc.pack(type));
|
||||
if (m_transfer)
|
||||
notifyRoutes(SS7Route::KnownState,pc.pack(type));
|
||||
sendRestart(type,pc.pack(type));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue