06-21-2006
Here is some additional information.
The log would look something like
Quote:
INVITE: IPadress Callid: 112200
FROM
TO
CONTACT
SDP
100 Trying: IPadress Callid: 112200
FROM
TO
CONTACT
404 Not Found: IPadress Callid: 112200
FROM
TO
CONTACT
ACK: IPadress Callid: 112200
FROM
TO
CONTACT
INVITE: IPadress Callid: 112201
FROM
TO
CONTACT
SDP
100 Trying: IPadress Callid: 112201
FROM
TO
CONTACT
486 Busy Here: IPadress Callid: 112201
FROM
TO
CONTACT
ACK: IPadress Callid: 112201
FROM
TO
CONTACT
INVITE: IPadress Callid: 112202
FROM
TO
CONTACT
503 Service Unavialable: IPadress Callid: 112202
FROM
TO
CONTACT
What I want to do is write a script that will allow me to pull up information based upon callid. Lets say I want information for callid: 112201, it will display:
Quote:
INVITE: IPadress Callid: 112201
FROM
TO
CONTACT
SDP
100 Trying: IPadress Callid: 112201
FROM
TO
CONTACT
486 Busy Here: IPadress Callid: 112201
FROM
TO
CONTACT
ACK: IPadress Callid: 112201
FROM
TO
CONTACT
Thanks,
Keyur
10 More Discussions You Might Find Interesting
1. Solaris
Hi to all,
i want configure my solaris 10 machine to log all login,logout and "su" in a particularly file. How can i do it?
Now i enable auth.* in syslog.conf but the informations are written in a confused mode...
Thanks (4 Replies)
Discussion started by: suuuper
4 Replies
2. UNIX for Advanced & Expert Users
I'm trying to convert a script from bash to csh. The original script makes use of the $! variable to capture the most recent pid spawned from within the script. Is there an equivalent command or variable in the c-shell to capture the pid? (1 Reply)
Discussion started by: scottwevans
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
In the script mentioned below uses a sftp command to login to the remote host and pull the files from the remote server. we want to log this inf to a log file . But it is not happening, the verbose information is just displayed on the screen but not to the log file when I run this... (1 Reply)
Discussion started by: raghuveer2008
1 Replies
4. UNIX for Dummies Questions & Answers
hello all,
so i'm working on a script, and part of it is to display the log info of the current logged on users,
1- full name
2- last log-in time
3- source ip address
i used who command to find the user ID then grep the full name and the last log in time.
but i can't find a command... (6 Replies)
Discussion started by: ibzee33
6 Replies
5. Shell Programming and Scripting
Good evening! Trying to make a shell script to parse log file and show only required information.
log file has 44 fields and alot of lines, each columns separated by ":".
log file is like:
first_1:3:4:5:6:1:3:4:5:something:notinterested
second_2:3:4:3:4:2
first_1:3:4:6:6:7:8
I am interested... (3 Replies)
Discussion started by: dummie55
3 Replies
6. Shell Programming and Scripting
I'm still new to bash script , I have a log file and I want to extract the items within the last 5 days . and also within the last 10 hours
the log file is like this : it has 14000 items started from march 2002 to january 2003
awk '{print $4}' < *.log |uniq -c|sort -g|tail -10
but... (14 Replies)
Discussion started by: matarsak
14 Replies
7. Shell Programming and Scripting
Hye ShamRock
If you can help me with this difficult task for me then it will save my day
Logs :
==================================================================================================================
... (4 Replies)
Discussion started by: SilvesterJ
4 Replies
8. Shell Programming and Scripting
Dear all,
I want to write a shell script to easy my job. Here is the description of task:
I have several files (d1.log, d2.log, d3.log etc)
with the common text as
=======using photon counter ======
tot pho is = 29596
nomatch pho is = 1350
phoeta pho is = 1220... (11 Replies)
Discussion started by: nrjrasaxena
11 Replies
9. Shell Programming and Scripting
Hello guys,
I am trying to filter some information out of a log file (example shortcut)
===== fspCIV0
/vol/vol0 -sec=sys,rw=fspsanp42.net,root=fspsanp42.net,nosuid
===== fcvCIS01
/vol/ARDW -sec=sys,rw
/vol/ARDW -sec=sys,rw
/vol/ARDW -sec=sys,rw,nosuid
/vol/ARDW -sec=sys,rw... (2 Replies)
Discussion started by: linux_scrub
2 Replies
10. Shell Programming and Scripting
Hi all, I have a query that runs that outputs data in the following format -
01/09/12 11:43:40,ADMIN,4,77,Application Group Load: Name(TESTED) LoadId(5137-1-0-1XX-15343-15343) File(/dir/dir/File.T03.CI2.RYR.2012009.11433350806.ARD) InputSize(5344) OutputSize(1359) Rows(2) Time(1.9960)... (8 Replies)
Discussion started by: jeffs42885
8 Replies
LEARN ABOUT DEBIAN
cgi::extratags
Extratags(3pm) User Contributed Perl Documentation Extratags(3pm)
NAME
CGI::Extratags - Useful Extensions for the CGI Module
SYNOPSIS
use CGI::Extratags;
$cgi = new CGI::Extratags;
print $cgi -> email ('racke@linuxia.de');
print $cgi -> jump ('CONTACT', 'contact us');
print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us'));
print $cgi -> row ('Date', 18, 1, 1966);
print $cgi -> recall ('Debian CD', artnum => '0-123456');
DESCRIPTION
CGI::Extratags adds several useful methods to the CGI class.
email ADDRESS
print $cgi -> email ('racke@linuxia.de');
Produces HTML code for a link to an email ADDRESS.
jump MARK TEXT
print $cgi -> jump ('CONTACT', 'contact us');
Produces HTML code for a link pointing to a target within the current document.
mark NAME TEXT
print $cgi -> mark ('CONTACT', $cgi -> h2 ('How to contact us'));
Generates target NAME for hyperlinks.
row [ITEM ...]
print $cgi -> row ('Date', 18, 1, 1966);
Produces HTML code for a table row with ITEM arguments as cell contents.
recall TEXT [NAME [VALUE]] ...
foreach my $num (sort (keys %artmap))
{
print $cgi -> recall ($artmap{$num}, artnum => $num);
print $cgi -> br;
}
Produces a link to the script itself labeled with TEXT. The NAME/VALUE pairs will be passed as parameters.
AUTHOR
Stefan Hornburg, racke@linuxia.de
SEE ALSO
perl(1), URI::Escape(3), CGI(3).
perl v5.8.4 2004-07-11 Extratags(3pm)