[asterisk-users] How to find a single call in logs
Douglas Mortensen
doug at impalanetworks.com
Mon Jun 21 12:04:25 CDT 2010
Hello everyone.
I am wondering whether there is a certain technique I should use to identify all log lines in the asterisk/full logfile that are related to a single call.
If a user reports that something strange happened with a certain call, I'd like to be able to easily go back and look at the asterisk/full logfile, and look at only the lines that are relevant.
I am having some difficulty figuring out the best way to do this.
At first I thought that the best way to do it would be to locate the call in the logs, then see what PID was used for that line in the log, and then grep asterisk/full for that PID. I can then find the call again, but only have to look at the lines with that PID (which seem to relate to that specific call during that time period).
However, what I'm unclear is:
1. Are there other PIDs that could be acting on the same call at the same time? If so, I'd be missing part of the picture if I am only looking at 1 PID.
2. Can a single call get handed off from one asterisk PID to another? In looking at the asterisk/full logfile, I think this is true. But I am not 100% sure.
If either of these are true, what is the best way to go back and look at the asterisk/full logfile in relation to the reported call? I would really appreciate any input on this.
Thanks,
-
Doug Mortensen
Network Consultant
Impala Networks Inc
CCNA, MCP, Security+, A+
Linux+, Network+, Server+
.
www.impalanetworks.com
P: (505) 327-7300
F: (505) 327-7545
More information about the asterisk-users
mailing list