Only check for testing if call is not already testing or set up.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3225 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-04-20 16:56:20 +00:00
parent 9e867e9cb5
commit f9af1e66d5
1 changed files with 1 additions and 1 deletions

View File

@ -2062,7 +2062,7 @@ bool SS7ISUPCall::transmitIAM()
bool SS7ISUPCall::needsTesting(const SS7MsgISUP* msg)
{
if (!msg)
if ((m_state >= Testing) || !msg)
return false;
const String* naci = msg->params().getParam("NatureOfConnectionIndicators");
if (!naci)