diff options
author | Octasic Inc <support@octasic.com> | 2010-07-16 16:25:26 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-02-27 21:11:22 +0200 |
commit | 9e764fa01379cc515831e4353eade0b1cf53c8bf (patch) | |
tree | 23c34b79a6ffb046eef7cca704978d220ab7ce80 /software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c | |
parent | 7d344854228f44259f71de172f24f9a8b07f7c0d (diff) |
importing OCT612x-01.04.01
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c index 1a1bc24..159b21f 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c @@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.03.05 $ +$Octasic_Release: OCT612xAPI-01.04.01 $ -$Octasic_Revision: 148 $ +$Octasic_Revision: 149 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -704,7 +704,8 @@ UINT32 Oct6100ApiGetConfBridgeSwSizes( UINT32 ulResult; /* Calculate memory needed for conference bridge list. */ - if ( f_pOpenChip->ulMaxConfBridges == 0 && f_pOpenChip->fEnableChannelRecording == TRUE ) + if ( ( f_pOpenChip->ulMaxConfBridges == 0 ) + && ( f_pOpenChip->fEnableChannelRecording == TRUE || f_pOpenChip->fAllowDynamicRecording == TRUE ) ) f_pOpenChip->ulMaxConfBridges = 1; f_pInstSizes->ulConfBridgeList = f_pOpenChip->ulMaxConfBridges * sizeof( tOCT6100_API_CONF_BRIDGE ); @@ -1369,8 +1370,9 @@ UINT32 Oct6100ApiCheckBridgeAddParams( if ( f_pApiInstance->pSharedInfo->ChipConfig.usMaxConfBridges == 0 ) return cOCT6100_ERR_CONF_BRIDGE_DISABLED; - if ( f_pApiInstance->pSharedInfo->ChipConfig.usMaxConfBridges == 1 && - f_pApiInstance->pSharedInfo->ChipConfig.fEnableChannelRecording == TRUE ) + if ( ( f_pApiInstance->pSharedInfo->ChipConfig.usMaxConfBridges == 1 ) + && ( ( f_pApiInstance->pSharedInfo->ChipConfig.fEnableChannelRecording == TRUE ) + || ( f_pApiInstance->pSharedInfo->ChipConfig.fAllowDynamicRecording == TRUE ) ) ) return cOCT6100_ERR_CONF_BRIDGE_DISABLED; if ( f_pConfBridgeAdd->ulConfBridgeHndl == cOCT6100_INVALID_HANDLE ) |