Fixed typo that prevented using CVT on ANSI.

git-svn-id: http://voip.null.ro/svn/yate@4337 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-04-21 11:08:29 +00:00
parent 3e06ead78e
commit cd862615a9
1 changed files with 2 additions and 2 deletions

View File

@ -3213,7 +3213,7 @@ SS7ISUP::SS7ISUP(const NamedList& params, unsigned char sio)
int testMsg = params.getIntValue("parttestmsg",s_names,SS7MsgISUP::UPT);
switch (testMsg) {
case SS7MsgISUP::CVT:
if (SS7PointCode::ANSI != m_type || SS7PointCode::ANSI8 != m_type)
if (SS7PointCode::ANSI != m_type && SS7PointCode::ANSI8 != m_type)
break;
// fall through
case SS7MsgISUP::RSC:
@ -3293,7 +3293,7 @@ bool SS7ISUP::initialize(const NamedList* config)
int testMsg = config->getIntValue("parttestmsg",s_names,SS7MsgISUP::UPT);
switch (testMsg) {
case SS7MsgISUP::CVT:
if (SS7PointCode::ANSI != m_type || SS7PointCode::ANSI8 != m_type)
if (SS7PointCode::ANSI != m_type && SS7PointCode::ANSI8 != m_type)
break;
// fall through
case SS7MsgISUP::RSC: