Commit Graph

95 Commits

Author SHA1 Message Date
Anders Broman 6471c00a55 From Cvetan Ivanov:
H225.cnf
I noticed is that the voip call flow graph does not have a label for the setupAck packet. I traced this to the empty frame_label.

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18304
2006-06-01 20:19:51 +00:00
Guy Harris 92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris 7db8eea5c6 Make the GUIDs in various data structures e_guid_t's rather than arrays
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-19 20:45:45 +00:00
Anders Broman 1fd7fbdb1d From Alejandro Vaquero:
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-02-23 20:02:23 +00:00
Jaap Keuter 5a128e3958 Remove uninitalized variable warning
svn path=/trunk/; revision=17037
2006-01-16 06:31:25 +00:00
Jaap Keuter 815a4af69e Hi All,
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
2006-01-15 15:01:14 +00:00
Anders Broman 15a08ae521 From Alejandro Vaquero:
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-10-03 05:55:26 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
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-09-17 00:02:31 +00:00
Ulf Lamping 6f43fbb2f0 EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry!
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-24 21:31:56 +00:00
Jörg Mayer 0edcc8920e - Declare some functions static
- 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-20 14:02:00 +00:00
Guy Harris f8871c612d Make some structure members that are always set from mallocated data not
"const" pointers, so that we don't get warnings when we free the data
they point to.

svn path=/trunk/; revision=15241
2005-08-06 10:30:21 +00:00
Jörg Mayer 4e1f4b18ab More char -> const char warning fixes.
Removed (very few) casts that only change the warning message
  but don't remove it (with gcc-4).

svn path=/trunk/; revision=15227
2005-08-05 20:59:08 +00:00
Luis Ontanon dc7197e30e do not try to free the isup tap data.
svn path=/trunk/; revision=15097
2005-07-26 18:19:11 +00:00
Guy Harris e2d750eab5 Add a cast to SET_ADDRESS() to squelch GCC4 "differ in signedness"
warnings.  Use SET_ADDRESS in the VOIP calls code, rather than
explicitly filling in "pstn_add".

svn path=/trunk/; revision=14867
2005-07-07 04:03:35 +00:00
Guy Harris 2465355c7b Explicitly initialize all the elements of a voip_calls_tapinfo_t, to
squelch a compiler warning.

svn path=/trunk/; revision=14866
2005-07-07 03:20:43 +00:00
Anders Broman c8b69874cb From Alejandro Vaquero
- 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-07-05 05:16:28 +00:00
Anders Broman 8d5958785d From Alejandro Vaquero
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-27 06:20:23 +00:00
Guy Harris aa36cca7d8 Don't explicitly initialize "h245_labels", as it's hard to initialize
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-05 11:07:22 +00:00
Gerald Combs b233c06fb2 From Cvetan Ivanov:
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-05-02 14:45:43 +00:00
Lars Roland 41e0f63cfb From Francisco Alcoba:
fix the H323 and SIP part of the voip call analysis for the new tap ordering.

svn path=/trunk/; revision=14070
2005-04-14 00:26:11 +00:00
Ronnie Sahlberg 573ba4ee40 From Francisco Alcoba
patch for viop analysis to fix the breakage from the tap reordering patch



svn path=/trunk/; revision=14017
2005-04-05 08:14:58 +00:00
Anders Broman 0785351d20 From Alejandro Vaquero :
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-27 20:54:18 +00:00
Guy Harris c0f813c0a4 Flag an unused argument as unused, to squelch compiler warnings, and
don't flag a used argument as unused.

svn path=/trunk/; revision=13706
2005-03-11 01:15:35 +00:00
Luis Ontanon 008054453b From Alejandro Vaquero:
- 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-10 19:32:22 +00:00
Luis Ontanon 27915a0f80 From Alejandro Vaqero:
- 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-07 19:10:21 +00:00
Luis Ontanon 2e28b1b828 From Alejandro Vaquero:
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-02 23:25:41 +00:00
Luis Ontanon f7d5537137 From Alejandro Vaquero:
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-03-01 16:19:46 +00:00
Lars Roland 2ed9ca813b By Francisco Alcoba:
Support for name resolution and IPv6 in VoIP Call Analysis

svn path=/trunk/; revision=13501
2005-02-24 21:31:20 +00:00
Ronnie Sahlberg 76d9049746 g_strrstr does not exist in gtk 1
replace it with strstr


svn path=/trunk/; revision=13477
2005-02-23 08:37:30 +00:00
Luis Ontanon 5926160fa9 From Alejandro Vaquero:
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-22 19:37:46 +00:00
Ulf Lamping 424a80c9c7 bugfix: using the "rtp_example.raw.gz" from the wiki, the dialog runs into an endless loop, as a g_list_next() was missing in a while loop
svn path=/trunk/; revision=13466
2005-02-22 07:25:16 +00:00
Luis Ontanon a26c9e6299 from Alejandro Vaquero
- 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-21 22:53:01 +00:00
Luis Ontanon 9ff6891a86 fix few things:
- 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-21 02:36:55 +00:00
Lars Roland b65e9739d2 Don't register mgcp taps,
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-20 15:53:11 +00:00
Guy Harris ffc29da21e Add #includes to define various macros and declare various functions.
svn path=/trunk/; revision=13403
2005-02-14 22:06:22 +00:00
Lars Roland aec5f71469 remove a bunch of unnecessary "includes" from VoIP tap and graph analysis sources
svn path=/trunk/; revision=13392
2005-02-13 23:30:56 +00:00
Lars Roland 66194e3f4a And finally (I hope) the last part from the patch
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-07 21:09:23 +00:00
Lars Roland a9cc1df551 remove obsolete function add_rtp_streams_graph() from voip_calls.[ch] and fix a register_tap_listener() call.
svn path=/trunk/; revision=13314
2005-02-05 23:34:56 +00:00
Anders Broman c00014119d From Alejandro Vaquero:
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-05 11:07:21 +00:00
Anders Broman 4d97ad9eb1 From Francisco Alcoba:
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-03 21:50:19 +00:00
Guy Harris 291e154e03 Use C89 syntax, not C++ syntax, for functions that take no arguments.
svn path=/trunk/; revision=13238
2005-02-02 09:08:42 +00:00
Guy Harris 20730353e2 Make sure "comment" is set.
Get rid of an unused variable.

svn path=/trunk/; revision=13235
2005-02-02 08:08:53 +00:00
Lars Roland 70eb306bb2 for VoIP Call Analysis:
- 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-02 01:02:09 +00:00
Lars Roland 197ceddab1 From Alejandro Vaquero:
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
2005-02-01 12:12:35 +00:00