|
|
@@ -1934,7 +1934,7 @@ ErrorCodeEnum CSIPEntity::LoadConfig(endpoint_conf_t *conf)
|
|
|
if (id == -1) {
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("audio handfree in device %s does not exist!", (LPCSTR)strHandFreeIn);
|
|
|
CSimpleStringA strErrMsg = "外部麦克风配置错误,请重新配置!";
|
|
|
- LogWarn(Severity_Low, Error_Param, 0, strErrMsg);
|
|
|
+ LogWarn(Severity_Middle, Error_Param, EVENT_MOD_SIP_AUDIO_IN_DEVICE_NOT_EXIST, strErrMsg);
|
|
|
Error = Error_Param;
|
|
|
}
|
|
|
strcpy(conf->audio_handfree_in_dev, strHandFreeIn);
|
|
|
@@ -1946,7 +1946,7 @@ ErrorCodeEnum CSIPEntity::LoadConfig(endpoint_conf_t *conf)
|
|
|
if (id == -1) {
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("audio handfree out device %s does not exist!", (LPCSTR)strHandFreeOut);
|
|
|
CSimpleStringA strErrMsg = "外部扬声器配置错误,请重新配置!";
|
|
|
- LogWarn(Severity_Low, Error_Param, 0, strErrMsg);
|
|
|
+ LogWarn(Severity_Middle, Error_Param, EVENT_MOD_SIP_AUDIO_OUT_DEVICE_NOT_EXIST, strErrMsg);
|
|
|
Error = Error_Param;
|
|
|
}
|
|
|
strcpy(conf->audio_handfree_out_dev, strHandFreeOut);
|
|
|
@@ -1959,7 +1959,7 @@ ErrorCodeEnum CSIPEntity::LoadConfig(endpoint_conf_t *conf)
|
|
|
if (id == -1) {
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("audio pickup in device %s does not exist!", (LPCSTR)strPickupIn);
|
|
|
CSimpleStringA strErrMsg = "话筒麦克风(大机)配置错误,请重新配置!";
|
|
|
- LogWarn(Severity_Low, Error_Param, 0, strErrMsg);
|
|
|
+ LogWarn(Severity_Middle, Error_Param, EVENT_MOD_SIP_AUDIO_IN_DEVICE_NOT_EXIST, strErrMsg);
|
|
|
Error = Error_Param;
|
|
|
}
|
|
|
strcpy(conf->audio_pickup_in_dev, strPickupIn);
|
|
|
@@ -1971,7 +1971,7 @@ ErrorCodeEnum CSIPEntity::LoadConfig(endpoint_conf_t *conf)
|
|
|
if (id == -1) {
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("audio device %s does not exist!", (LPCSTR)strPickupOut);
|
|
|
CSimpleStringA strErrMsg = "话筒扬声器(大机)配置错误,请重新配置!";
|
|
|
- LogWarn(Severity_Low, Error_Param, 0, strErrMsg);
|
|
|
+ LogWarn(Severity_Middle, Error_Param, EVENT_MOD_SIP_AUDIO_OUT_DEVICE_NOT_EXIST, strErrMsg);
|
|
|
Error = Error_Param;
|
|
|
}
|
|
|
strcpy(conf->audio_pickup_out_dev, strPickupOut);
|