if (iface_type != STC_IFACE_DATACALL)
return STC_CALLBACK_CONTINUE;
- ret = stc_restriction_info_get_imsi(info, &imsi);
+ ret = stc_restriction_info_get_subscriber_id(info, &imsi);
if (STC_ERROR_NONE != ret) {
- SETTING_TRACE_ERROR("stc_restriction_info_get_imsi error: %s",
+ SETTING_TRACE_ERROR("stc_restriction_info_get_subscriber_id error: %s",
get_error_message(ret));
return STC_CALLBACK_CONTINUE;
}
}
if (iface == STC_IFACE_DATACALL) {
- ret = stc_stats_info_get_imsi(info, &imsi);
+ ret = stc_stats_info_get_subscriber_id(info, &imsi);
if (STC_ERROR_NONE == ret) {
SETTING_TRACE_DEBUG("Obtained IMSI: %s", imsi);
setting_view_update(ad.main_view, &ad);
}
} else {
- SETTING_TRACE_ERROR("stc_stats_info_get_imsi() error: %s",
+ SETTING_TRACE_ERROR("stc_stats_info_get_subscriber_id() error: %s",
get_error_message(ret));
}
free(imsi);
if (STC_ERROR_NONE == ret) {
if (iface_type == STC_IFACE_DATACALL) {
- ret = stc_stats_info_get_imsi(info, &imsi);
+ ret = stc_stats_info_get_subscriber_id(info, &imsi);
if (STC_ERROR_NONE == ret) {
SETTING_TRACE_DEBUG("Obtained IMSI: %s", imsi);
SETTING_TRACE("SIM 2 total in: %lld out: %lld", incoming, outgoing);
}
} else {
- SETTING_TRACE_ERROR("stc_stats_info_get_imsi() error: %s",
+ SETTING_TRACE_ERROR("stc_stats_info_get_subscriber_id() error: %s",
get_error_message(ret));
}
free(imsi);
SETTING_TRACE_DEBUG("Obtained iface: %d", iface_type);
if (iface_type == STC_IFACE_DATACALL) {
- ret = stc_restriction_info_get_imsi(info, &imsi);
+ ret = stc_restriction_info_get_subscriber_id(info, &imsi);
if (STC_ERROR_NONE == ret) {
SETTING_TRACE_DEBUG("Obtained IMSI: %s", imsi);
if (compare_imsis(ad.imsi_1, imsi)) {
}
setting_view_update(ad.main_view, &ad);
} else {
- SETTING_TRACE_ERROR("stc_stats_info_get_imsi() error: %s",
+ SETTING_TRACE_ERROR("stc_stats_info_get_subscriber_id() error: %s",
get_error_message(ret));
}
free(imsi);
if (limit > MAX_LIMIT_IN_BYTES)
return RESTRICTIONS_VALUE_HIGHTER_THAN_MAX;
- ret = stc_restriction_rule_set_imsi(rule, imsi);
+ ret = stc_restriction_rule_set_subscriber_id(rule, imsi);
if (STC_ERROR_NONE != ret) {
(void)(void)stc_restriction_rule_destroy(rule);
- SETTING_TRACE_ERROR("stc_restriction_rule_set_imsi() error: %s",
+ SETTING_TRACE_ERROR("stc_restriction_rule_set_subscriber_id() error: %s",
get_error_message(ret));
return RESTRICTIONS_OTHER_ERROR;
}