aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-19Make the GUIDs in various data structures e_guid_t's rather than arraysGuy Harris1-7/+6
of 16 bytes. Use "sizeof" for the size of e_guid_t's, and use structure assignment to copy GUID values. Make functions such as append_h225ras_call() and new_h225ras_call() take pointers to e_guid_t's as arguments. Define GUID_LEN in epan/guid-utils.h and use it as the length of a GUID in a packet. (Note that "sizeof e_guid_t" is not guaranteed to be 16, although it is guaranteed to be the size of an e_guid_t.) When constructing a display filter that matches a GUID, use guid_to_str() to construct the string for the GUID. svn path=/trunk/; revision=17676
2006-03-09From Laurant Rabret:Jaap Keuter1-1/+1
Please find enclosed 2 patches. - Voip_calls_dlg.c.patch fixes a problem that appears with a release compiled with GTK 2.8 + Visual Studio 2003. It seems g_snprintf can corrupt memory when a length bigger than the array size is provided in the second parameter (even if the generated string is smaller than the array actual size!!) - graph_analysis.c.patch fixes a memory corruption problem easy to reproduce. Just open the pcap file enclosed, select "Statistics"->"Flow Graph" and activate the "Network source/destination addresses" radio button before pressing OK. You'll see a crash dump. Thanks to check in Best Regards Laurent svn path=/trunk/; revision=17543
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon1-3/+3
the callback for multiple registrations. svn path=/trunk/; revision=17252
2006-01-15Hi All,Jaap Keuter1-1/+5
Find attached a couple of changes for t38: - Use the dissector to reassemble t30 frames - Dissect t30 protocol - Move the "Fax t38 analysis" to the "VoIP Calls". Now when selecting "Statistics"->"Fax t38 analysis" option, there is a message that redirect the user to use the "Voip calls" instead. We may keep this option for one release, and then remove it ? - Added in the "Voip calls" the ability to detect a t38 call if there are not signaling associated with it. For example, when using "Decode as.." to dissect t38 packets, it is possible to use the "Voip calls" to analyze that call. - Display "SDP (t38)" in the "Voip calls graph" for SDP t38 sessions. Regards Alejandro Vaquero svn path=/trunk/; revision=17033
2005-11-22Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=16561
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris1-1/+1
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21Have "register_dfilter_stat()" add "..." to the menu item, as all menuGuy Harris1-1/+1
items registered with it pop up a dialog box before displaying the stat. Don't pass a name with "..." to it. Put "..." into other menu items that pop up a dialog box before displaying the stat; remove "..." from other menu items that don't. svn path=/trunk/; revision=15495
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-1/+2
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris1-1/+1
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
2005-08-20- Declare some functions staticJörg Mayer1-2/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-19Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris1-1/+1
svn path=/trunk/; revision=15429
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-3/+4
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-08-06Last set of char -> const char trivial warning fixes.Jörg Mayer1-2/+2
svn path=/trunk/; revision=15244
2005-08-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-1/+1
_U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
2005-07-07Squelch a compiler pointer vs. integer warning - NULL is for pointers,Guy Harris1-1/+1
'\0' is for characters. svn path=/trunk/; revision=14868
2005-07-05From Alejandro VaqueroAnders Broman1-28/+67
- avoid the clist of the calls dlg to be refreshed multiple times when first appear. - destroy the Graph window when the data is not valid anymore. - fixes an H245 packet count error - resizing the Graph windows when is displayed (up to 5 columns). With a change to leave static voip_calls_tapinfo_t the_tapinfo_struct = {0, NULL, 0, NULL, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0}; alone. svn path=/trunk/; revision=14852
2005-06-28"Handle" a couple of cases in the switch statement by adding them to theGuy Harris1-0/+2
"not supported" case, to suppress compiler warnings. svn path=/trunk/; revision=14811
2005-06-27From Alejandro VaqueroAnders Broman1-16/+5
new dissector for the AudioCodes trunk trace protocol. This protocol is used to debug the trunk protocol in AudioCodes gateways. It currently supports ISDN PRI and CAS (MFCR2, WinkStart, etc...) trunk protocols. It also add these protocols in the "Voip Calls Graph..." svn path=/trunk/; revision=14789
2005-06-14From Javier AcunaAnders Broman1-2/+2
patch to include Cic info in Voip Calls svn path=/trunk/; revision=14630
2005-06-11add missing #include "webbrowser.h" from previous commitUlf Lamping1-0/+1
svn path=/trunk/; revision=14614
2005-06-11add help button pointing to the wiki pageUlf Lamping1-1/+13
svn path=/trunk/; revision=14611
2005-05-25Back out the two last changes by popular demand :)Anders Broman1-71/+3
as we don't want multiple language versions. svn path=/trunk/; revision=14433
2005-05-24Include "webbrowser.h" to declare "browser_open_url()".Guy Harris1-0/+1
svn path=/trunk/; revision=14423
2005-05-21From Javier Acuna:Anders Broman1-3/+70
It adds "CIC" info display on the comments column for ISUP It adds a small Help button that open up a window that offers you to vist the Wiki page containing the explanation of the Dialog window. svn path=/trunk/; revision=14410
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-1/+1
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2005-04-01Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris1-1/+1
it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
2005-03-10From Alejandro Vaquero:Luis Ontanon1-0/+2
- Automatic dissection of RTP events (RFC2833) set in SDP sessions. - Add RTP events (RFC2833) to the Voip Graph svn path=/trunk/; revision=13697
2005-03-10Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=13691
2005-03-09From Francisco Alcoba: don't generate long filter expressions, fall backGuy Harris1-2/+65
to the old filter mechanism if the filter expression is too long. svn path=/trunk/; revision=13675
2005-03-07From Francisco Alcoba:Luis Ontanon1-1/+12
- Correct the order of the calls in the VoIP Calls dialog when ordering by time fields - Prevent an assertion when ordering on the last columns svn path=/trunk/; revision=13649
2005-02-24By Francisco Alcoba:Lars Roland1-1/+6
Support for name resolution and IPv6 in VoIP Call Analysis svn path=/trunk/; revision=13501
2005-02-24From Alejandro VaqueroLuis Ontanon1-48/+19
voip_calls_dlg.c Change the "prepare filter" function to be protocol independent. Now it uses the "frame_num"s from the Graph structure to create the filter. This also add support to MGCP and H323 LRQ/LCF filters that were not supported before. graph_analysis.c: Change the mouse scroll wheel implementation to make a 3 line step change instead of 1 line. svn path=/trunk/; revision=13489
2005-02-22some changes to the dialog's button behaviourUlf Lamping1-1/+4
svn path=/trunk/; revision=13467
2005-02-20Don't register mgcp taps, Lars Roland1-0/+8
when we haven't loaded the mgcp plugin. and From Alejandro Vaquero: mgcp support for the voip call analysis tap svn path=/trunk/; revision=13447
2005-02-14Add #includes to define various macros and declare various functions.Guy Harris1-0/+3
svn path=/trunk/; revision=13403
2005-02-13remove a bunch of unnecessary "includes" from VoIP tap and graph analysis ↵Lars Roland1-3/+0
sources svn path=/trunk/; revision=13392
2005-02-07From Alejandro Vaquero :Anders Broman1-3/+4
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
2005-02-05From Alejandro Vaquero:Anders Broman1-5/+2
a patch that to shows the RTP streams in the Graph. Now using an RTP tap (not using the rtp_stream). svn path=/trunk/; revision=13299
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-1/+1
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-02-02Get rid of an unused typedef.Guy Harris1-2/+0
svn path=/trunk/; revision=13239
2005-02-02Don't assume that the only blank filter expression is empty - check forGuy Harris1-28/+30
an all-space-character string. Don't use "filter_string" both for the (unfreeable, unmodifiable) value fetched from the text entry and the new filter expression; use it only for the former, and make it a "const" pointer to avoid compiler warnings. Use a GString to construct the stuff to be added to the new filter expression - the old code, when appending stuff to the filter expression in a loop, would leak the pre-append value. svn path=/trunk/; revision=13237
2005-02-02"filter_string_fwd" is assigned a "const" pointer, so make it a "const"Guy Harris1-1/+1
pointer. svn path=/trunk/; revision=13233
2005-02-02for VoIP Call Analysis:Lars Roland1-33/+26
- make VoIP Call Analysis work if, called from command line - should also work now while capturing with packet list updated in "real time" (to be tested) - give each tap listener a unique identifier, so ethereal won't mix them up - various cleanups - compile by default Todo: - add support for "tap display filter" - reimplement function to add rtp streams to the call flow. svn path=/trunk/; revision=13232
2005-02-01From Alejandro Vaquero:Lars Roland1-0/+719
h323 taps support up to 5 messages per packet now. VoIP call analysis: - Collect ISUP, SIP and H323 calls from a capture and show them in window with the following info: - Start and Stop time of the call - Init svn path=/trunk/; revision=13225