aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-19Make the GUIDs in various data structures e_guid_t's rather than arraysGuy Harris1-6/+5
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-02-23From Alejandro Vaquero:Anders Broman1-22/+26
a patch for the VoipCalls to fix a couple of issues: - a problem with the RTP Events (RFC2833) not been handle correctly - Display the RTP stream in time order when the setup frame is after the RTP stream. - fix a init issue that caused the H245 packet to not been displayed correctly. svn path=/trunk/; revision=17383
2006-01-16Remove uninitalized variable warningJaap Keuter1-1/+1
svn path=/trunk/; revision=17037
2006-01-15Hi All,Jaap Keuter1-52/+235
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-10-03From Alejandro Vaquero:Anders Broman1-0/+2
New "Fax T38 Analysis" added to the "Statistics" menu to: - Reassemble the HDLC t30 frames and dissect the header. - Analyze the UPDTLPacket seq num for packet lost - Stats of V.x Data: - Count the Data bytes - Duration - Wrong seq num - Max Burst of packet lost svn path=/trunk/; revision=16073
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-30/+30
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
2005-08-20- Declare some functions staticJörg Mayer1-12/+12
- 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-06Make some structure members that are always set from mallocated data notGuy Harris1-3/+2
"const" pointers, so that we don't get warnings when we free the data they point to. svn path=/trunk/; revision=15241
2005-08-05More char -> const char warning fixes.Jörg Mayer1-5/+5
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-07-26do not try to free the isup tap data.Luis Ontanon1-4/+0
svn path=/trunk/; revision=15097
2005-07-07Add a cast to SET_ADDRESS() to squelch GCC4 "differ in signedness"Guy Harris1-6/+2
warnings. Use SET_ADDRESS in the VOIP calls code, rather than explicitly filling in "pstn_add". svn path=/trunk/; revision=14867
2005-07-07Explicitly initialize all the elements of a voip_calls_tapinfo_t, toGuy Harris1-1/+1
squelch a compiler warning. svn path=/trunk/; revision=14866
2005-07-05From Alejandro VaqueroAnders Broman1-7/+31
- 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-27From Alejandro VaqueroAnders Broman1-13/+254
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-05-05Don't explicitly initialize "h245_labels", as it's hard to initializeGuy Harris1-1/+2
all of it correctly, and as if you don't initialize all of it you get a compiler warning. Add an assignment to squelch a compiler warning. svn path=/trunk/; revision=14317
2005-05-02From Cvetan Ivanov:Gerald Combs1-1/+2
This patch fixes the slightly broken logic in the loop which searches for establisted call in isup_calls_packet. The problem is that (right_pair) is set to false if we see call on the same CIC as existing conversation, but with different opc/dpc pair: at this point dpc/opc pair is not checked, so any call with the same CIC matches: voip_call.c:851 else{ right_pair = FALSE; } and then the correct conversation is never found, because right_pair is never reset for this packet, which leads to total confusion of the call tracking logic Fixed by initializing right_pair = TRUE for every loop iteration svn path=/trunk/; revision=14269
2005-04-14From Francisco Alcoba:Lars Roland1-109/+284
fix the H323 and SIP part of the voip call analysis for the new tap ordering. svn path=/trunk/; revision=14070
2005-04-05From Francisco AlcobaRonnie Sahlberg1-102/+104
patch for viop analysis to fix the breakage from the tap reordering patch svn path=/trunk/; revision=14017
2005-03-27From Alejandro Vaquero :Anders Broman1-1/+13
Find attached a patch for SDP sessions to: - Dissect Dynamic payload types in RTP packets - Add the dynamic payload type description in RTP packets - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP. svn path=/trunk/; revision=13935
2005-03-11Flag an unused argument as unused, to squelch compiler warnings, andGuy Harris1-1/+1
don't flag a used argument as unused. svn path=/trunk/; revision=13706
2005-03-10From Alejandro Vaquero:Luis Ontanon1-10/+88
- 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-07From Alejandro Vaqero:Luis Ontanon1-1/+9
- Fix a problem when pressing a key when the "Graph" is displayed without any frame selected. - Add support for RTP Payload changes. Now the graph will show any change in the RTP payload type. This is useful for example to show DTMF 2833 in a call. -This line, and those below, will be ignored-- M gtk/graph_analysis.c M gtk/voip_calls.c M gtk/voip_calls.h svn path=/trunk/; revision=13651
2005-03-02From Alejandro Vaquero:Luis Ontanon1-0/+6
Avoid adding to a call non ISUP mtp3 packets towards the same destination as a copy of the last ISUP packet towards that dpc. svn path=/trunk/; revision=13576
2005-03-01From Alejandro Vaquero:Luis Ontanon1-14/+15
patch to the voip calls facility to: - Add a horizontal scrollbar in the "Graph" to scroll the "comments" - Fix a "state" bug in H323 and SIP calls - Fix a bug that can make the "graph" to crash, and also clean up the "address" when the window is close svn path=/trunk/; revision=13565
2005-02-24By Francisco Alcoba:Lars Roland1-72/+101
Support for name resolution and IPv6 in VoIP Call Analysis svn path=/trunk/; revision=13501
2005-02-23g_strrstr does not exist in gtk 1Ronnie Sahlberg1-1/+1
replace it with strstr svn path=/trunk/; revision=13477
2005-02-22From Alejandro Vaquero:Luis Ontanon1-18/+4
replace the code that used g_strsplit_set and was broken by me changing it to g_strsplit with something that works svn path=/trunk/; revision=13470
2005-02-22bugfix: using the "rtp_example.raw.gz" from the wiki, the dialog runs into ↵Ulf Lamping1-0/+1
an endless loop, as a g_list_next() was missing in a while loop svn path=/trunk/; revision=13466
2005-02-21from Alejandro VaqueroLuis Ontanon1-90/+102
- fix the thinks I broken removing warnings in the last commit other than that I removed calls to glib2 that broke compilation on solaris' buiddbot svn path=/trunk/; revision=13461
2005-02-21fix few things:Luis Ontanon1-16/+23
- boolean does not exists in *nix change them to g_boolean - removed some warnings about uninitialized variables - mgcp_info->hasDigitMap is a pointer to a boolean, dereference it svn path=/trunk/; revision=13456
2005-02-20Don't register mgcp taps, Lars Roland1-8/+383
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/+2
svn path=/trunk/; revision=13403
2005-02-13remove a bunch of unnecessary "includes" from VoIP tap and graph analysis ↵Lars Roland1-12/+0
sources svn path=/trunk/; revision=13392
2005-02-07And finally (I hope) the last part from the patchLars Roland1-5/+95
from Alejandro Vaquero: 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=13347
2005-02-05remove obsolete function add_rtp_streams_graph() from voip_calls.[ch] and ↵Lars Roland1-77/+3
fix a register_tap_listener() call. svn path=/trunk/; revision=13314
2005-02-05From Alejandro Vaquero:Anders Broman1-2/+190
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-03From Francisco Alcoba:Anders Broman1-0/+46
Patch for graphing ISUP calls. It shows the type of message, in the first one the calling and called numbers, and in the second the SPs and CIC; in releases it shows the cause value. svn path=/trunk/; revision=13262
2005-02-02Use C89 syntax, not C++ syntax, for functions that take no arguments.Guy Harris1-2/+2
svn path=/trunk/; revision=13238
2005-02-02Make sure "comment" is set.Guy Harris1-7/+5
Get rid of an unused variable. svn path=/trunk/; revision=13235
2005-02-02for VoIP Call Analysis:Lars Roland1-76/+96
- 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/+1312
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