Enlarge the  buffer for printing call media statistic in pjsua (sometimes the RTT line is cut)

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1886 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c
index 880f98d..1041fae 100644
--- a/pjsip-apps/src/pjsua/pjsua_app.c
+++ b/pjsip-apps/src/pjsua/pjsua_app.c
@@ -93,6 +93,8 @@
 static pjsua_call_id	current_call = PJSUA_INVALID_ID;
 static pj_str_t		uri_arg;
 
+static char some_buf[2048];
+
 #ifdef STEREO_DEMO
 static void stereo_demo();
 #endif
@@ -1671,12 +1673,11 @@
 
 	/* Dump media state upon disconnected */
 	if (1) {
-	    char buf[1024];
-	    pjsua_call_dump(call_id, PJ_TRUE, buf, 
-			    sizeof(buf), "  ");
+	    pjsua_call_dump(call_id, PJ_TRUE, some_buf, 
+			    sizeof(some_buf), "  ");
 	    PJ_LOG(5,(THIS_FILE, 
 		      "Call %d disconnected, dumping media stats\n%s", 
-		      call_id, buf));
+		      call_id, some_buf));
 	}
 
     } else {
@@ -3353,10 +3354,9 @@
 	    } else if (menuin[1] == 'q') {
 
 		if (current_call != PJSUA_INVALID_ID) {
-		    char buf[1024];
-		    pjsua_call_dump(current_call, PJ_TRUE, buf, 
-				    sizeof(buf), "  ");
-		    PJ_LOG(3,(THIS_FILE, "\n%s", buf));
+		    pjsua_call_dump(current_call, PJ_TRUE, some_buf, 
+				    sizeof(some_buf), "  ");
+		    PJ_LOG(3,(THIS_FILE, "\n%s", some_buf));
 		} else {
 		    PJ_LOG(3,(THIS_FILE, "No current call"));
 		}