int call_exist = 0; // ÇöÀç call list¿¡, callÀÌ ¾ø´Ù¸é incoming noti Àü¼ÛÇÑ´Ù.
unsigned short call_type;
+ int i;
+ call_barring_entry_t * resp_entry = get_call_barring_entry() ;
+
TRACE(MSGL_VGSM_INFO, "\n");
get_current_state_machine( &state );
//090314
callback_callist();
+ if(!resp_entry)
+ TRACE(MSGL_VGSM_INFO, "CB entry is NULL!!!\n");
+ else {
+ for(i=0; i<resp_entry[0].count; i++) {
+ TRACE(MSGL_VGSM_INFO,"i : %d, type : %d\n", i, resp_entry[i].type);
+ if(resp_entry[i].type == 4 && resp_entry[i].ss_mode == 3) { // 'All incoming calls' has set
+ TRACE(MSGL_VGSM_INFO, "no call. Incoming Call Barring is set \n");
+ return -1;
+ }
+ }
+ }
+
char* number_type;
if(number[0] == '+')
number_type = "129";