+ case TRESP_SIM_GET_PSISMSC:{
+ const struct tresp_sim_read *resp_read = data;
+ CoreObject *co_sim = NULL;
+
+ dbg("[%s] SIM_GET_PSISMSC - Result: [%s], URIDATA[%s]", cpname,
+ (resp_read->result == SIM_ACCESS_SUCCESS ? "Success" : "Fail"),
+ (resp_read->data.psismsc.uridata != NULL ? resp_read->data.psismsc.uridata : "NULL"));
+
+ co_sim = __get_sim_co_from_ur(ctx->server, ur);
+ if (!co_sim) {
+ err("SIM Core object is NULL");
+ return FALSE;
+ }
+
+ /* Added check to send empty string in case request is successful and value is NULL. To be checked and updated if need be */
+ if (resp_read->result == SIM_ACCESS_SUCCESS && !resp_read->data.psismsc.uridata) {
+ telephony_sim_complete_get_psismsc(dbus_info->interface_object,
+ dbus_info->invocation, resp_read->result, "");
+ }
+ else {
+ telephony_sim_complete_get_psismsc(dbus_info->interface_object,
+ dbus_info->invocation, resp_read->result, (const gchar *)resp_read->data.psismsc.uridata);
+ }
+ }
+ break;
+