Made the default MTP test timer one second and not reload it on initialize.

This was driving me crazy.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3624 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-09-01 21:21:43 +00:00
parent 4e5af768a3
commit 6a9fd57136
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ bool SS7Testing::control(NamedList& params)
void SS7Testing::setParams(const NamedList& params, bool setSeq)
{
m_timer.interval(params,"interval",20,500,true);
if (!m_timer.interval() || params.getParam("interval"))
m_timer.interval(params,"interval",20,1000,true);
m_len = params.getIntValue("length",m_len);
m_sharing = params.getBoolValue("sharing",m_sharing);
if (m_len > 1024)