Bug fix! Avoid changing the type in setParams.

git-svn-id: http://yate.null.ro/svn/yate/trunk@6051 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
andrei 2015-10-05 14:20:34 +00:00
parent d2f52af2f6
commit a4816d011d
1 changed files with 1 additions and 0 deletions

View File

@ -760,6 +760,7 @@ void FaxChan::setParams(Message& msg, Type type, int t38version)
msg.setParam("t38version",ver);
msg.setParam("osdp_image_T38FaxVersion",ver);
}
break;
case Switch:
if (Unknown == m_type)
m_type = type;