Kaynağa Gözat

fixed type for rtpagent report

Alexandr Dubovikov 9 yıl önce
ebeveyn
işleme
7701114849
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      modules/sipcapture/sipcapture.c

+ 3 - 3
modules/sipcapture/sipcapture.c

@@ -2276,10 +2276,10 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re
 
 
 	/* type of proto */
-	if (hg->proto_t->data == 5) sco.type = 1;
+	if (hg->proto_t->data == 5) sco.type = 3;
 	else if (hg->proto_t->data == 32) sco.type = 2;
-	else if (hg->proto_t->data == 99) sco.type = 1;
-	else if (hg->proto_t->data == 100) sco.type = 1;
+	else if (hg->proto_t->data == 99) sco.type = 4;
+	else if (hg->proto_t->data == 100) sco.type = 5;
 
 
 	/*source ip*/