<p>Every call is assigned a unique SIP channel id. I usually look for this id and then grep the log file by this id. It looks something like SIP/201-a08rfr7... if I remember correctly.<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p><blockquote type="cite">On 2010-06-21 1:13 PM, "Douglas Mortensen" <<a href="mailto:doug@impalanetworks.com">doug@impalanetworks.com</a>> wrote:<br><br>Hello everyone.<br>
<br>
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.<br>
<br>
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.<br>
<br>
I am having some difficulty figuring out the best way to do this.<br>
<br>
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).<br>
<br>
However, what I'm unclear is:<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
Thanks,<br>
-<br>
Doug Mortensen<br>
Network Consultant<br>
Impala Networks Inc<br>
CCNA, MCP, Security+, A+<br>
Linux+, Network+, Server+<br>
.<br>
<a href="http://www.impalanetworks.com" target="_blank">www.impalanetworks.com</a><br>
P: (505) 327-7300<br>
F: (505) 327-7545<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></p>