Add mbtk ecall v1 API.

Change-Id: Icfdb8ccf399a4e052484f6419e44755780c04725
diff --git a/mbtk/mbtk_rild/src/mbtk_info_server.c b/mbtk/mbtk_rild/src/mbtk_info_server.c
index f09e33c..27d08d4 100755
--- a/mbtk/mbtk_rild/src/mbtk_info_server.c
+++ b/mbtk/mbtk_rild/src/mbtk_info_server.c
@@ -65,6 +65,7 @@
 
 static mbtk_signal_info_t signal_globe;
 
+mbtk_info_err_enum ecall_pack_req_process(sock_client_info_t* cli_info, mbtk_info_pack_t* pack);
 
 /*
 AT*POWERIND=0"
@@ -596,7 +597,7 @@
         ret = MBTK_SIM_NOT_READY;
         goto done;
     }
-    
+
     /* CPIN? has succeeded, now look at the result */
 
     cpinLine = p_response->p_intermediates->line;
@@ -1220,27 +1221,27 @@
     {
         line = lines_ptr->line;
         char *start = strstr(line, "FALCON_CP_SDK");
-        if(start) 
+        if(start)
         {
             char *end = strstr(start, "_Linux");
-            if(end) 
+            if(end)
             {
-                end += strlen("_Linux"); 
+                end += strlen("_Linux");
                 int length = end - start;
                 if (length)
                 {
                     strncpy(data, start, length);
                     ((char*)data)[length] = '\0';
                     break;
-                } 
+                }
                 else
                 {
                     err = -1;
                     goto exit;
-                    
+
                 }
-            } 
-            else 
+            }
+            else
             {
                 err = -1;
                 goto exit;
@@ -1248,7 +1249,7 @@
         }
         lines_ptr = lines_ptr->p_next;
     }
-    
+
     goto exit;
 exit:
     at_response_free(response);
@@ -1862,7 +1863,7 @@
 {
     ATResponse *response = NULL;
     char cmd[64]={0};
-    
+
     int err = at_send_command_singleline("AT+CLCK=SC,2", "+CLCK:", &response);
     if (err < 0 || response == NULL || response->success == 0 || !response->p_intermediates)
     {
@@ -1886,7 +1887,7 @@
         LOGE("[req_get_pin_state] at_tok_start fail.[%d]", err);
         goto exit;
     }
-    
+
     int clck;
     err = at_tok_nextint(&line, &clck);
     if (err < 0)
@@ -4182,6 +4183,8 @@
         return sms_pack_req_process(cli_info, pack);
     } else if(pack->info_id > MBTK_INFO_ID_PB_BEGIN && pack->info_id < MBTK_INFO_ID_PB_END) {
         return pb_pack_req_process(cli_info, pack);
+    } else if(pack->info_id > RIL_MSG_ID_ECALL_BEGIN && pack->info_id < RIL_MSG_ID_ECALL_END) {
+        return ecall_pack_req_process(cli_info, pack);
     } else {
         mbtk_info_err_enum err = MBTK_INFO_ERR_SUCCESS;
         int cme_err = MBTK_INFO_ERR_CME_NON;
@@ -6773,7 +6776,7 @@
                 strftime(tmp, 50, "%F %T", tm_t);
                 snprintf(buff, sizeof(buff), "%s:%d,%d,%d,%d,%d,%d,%d,%d", tmp, signal.type, signal.rssi, signal.rxlev, signal.ber, signal.rscp, signal.ecno,
                     signal.rsrq, signal.rsrp);
-                mbtk_signal_log(buff);             
+                mbtk_signal_log(buff);
             }
 
             if(signal_globe.type != signal.type)