forked from osmocom/wireshark
From Alejandro Vaquero :
Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations svn path=/trunk/; revision=13336
This commit is contained in:
parent
bc04baef42
commit
c765d211e9
|
@ -104,6 +104,7 @@ typedef struct _h323_calls_info {
|
|||
gboolean is_h245Tunneling;
|
||||
gint32 q931_crv;
|
||||
gint32 q931_crv2;
|
||||
guint requestSeqNum;
|
||||
} h323_calls_info_t;
|
||||
|
||||
/* defines a voip call */
|
||||
|
@ -128,7 +129,7 @@ typedef struct _voip_calls_info {
|
|||
/* struct holding all information of the tap */
|
||||
|
||||
typedef struct _voip_calls_tapinfo {
|
||||
int ncalls; /* number of calls in the list */
|
||||
int ncalls; /* number of call */
|
||||
GList* strinfo_list; /* list with all calls */
|
||||
int npackets; /* total number of packets of all calls */
|
||||
voip_calls_info_t* filter_calls_fwd; /* used as filter in some tap modes */
|
||||
|
|
|
@ -154,7 +154,7 @@ static void add_to_clist(voip_calls_info_t* strinfo)
|
|||
/* Update the status label with the number of total messages */
|
||||
g_snprintf(label_text, 256,
|
||||
"Total: Calls: %d Start packets: %d Completed calls: %d Rejected calls: %d",
|
||||
voip_calls_get_info()->ncalls,
|
||||
g_list_length(voip_calls_get_info()->strinfo_list),
|
||||
voip_calls_get_info()->start_packets,
|
||||
voip_calls_get_info()->completed_calls,
|
||||
voip_calls_get_info()->rejected_calls);
|
||||
|
@ -604,19 +604,20 @@ static void voip_calls_dlg_create (void)
|
|||
void voip_calls_dlg_update(GList *list)
|
||||
{
|
||||
gchar label_text[256];
|
||||
|
||||
guint foo;
|
||||
if (voip_calls_dlg != NULL) {
|
||||
gtk_clist_clear(GTK_CLIST(clist));
|
||||
calls_nb = 0;
|
||||
calls_ns = 0;
|
||||
g_snprintf(label_text, 256,
|
||||
"Total: Calls: %d Start packets: %d Completed calls: %d Rejected calls: %d",
|
||||
voip_calls_get_info()->ncalls,
|
||||
g_list_length(voip_calls_get_info()->strinfo_list),
|
||||
voip_calls_get_info()->start_packets,
|
||||
voip_calls_get_info()->completed_calls,
|
||||
voip_calls_get_info()->rejected_calls);
|
||||
gtk_label_set(GTK_LABEL(status_label), label_text);
|
||||
|
||||
foo= g_list_length(list);
|
||||
list = g_list_first(list);
|
||||
while (list)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue