31 #ifdef AAMP_RFC_ENABLED
35 #define AAMP_RFC_CALLERID "aamp"
42 std::string getRFCValue(
const std::string& parameter){
43 TR181_ParamData_t param = {0};
45 tr181ErrorCode_t status = getParam((
char*)AAMP_RFC_CALLERID, parameter.c_str(), ¶m);
46 if (tr181Success == status)
48 AAMPLOG_INFO(
"RFC Parameter for %s is %s type = %d", parameter.c_str(), param.value, param.type);
49 strhost = std::string(param.value);
51 else if (tr181ValueIsEmpty == status)
54 AAMPLOG_TRACE(
"RFC Parameter : %s is not set", parameter.c_str());
58 AAMPLOG_ERR(
"get RFC Parameter for %s Failed : %s type = %d", parameter.c_str(), getTR181ErrorString(status), param.type);