Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a trace file of a cisco ccsip messages debug. Since this is taken on production, a lot of call that don't interest me are included. I want te easily filter out only one specific call-id, and save this file again. Anybody know a tool which does this?

Thanks!

share|improve this question
    
Is this a proprietary binary format? If not, how about good old grep? –  SvW Dec 11 '12 at 15:21
    
It's not proprietary, but one sip message is multiple lines, and not always the same number of lines, so I don't know if grep could do it. –  Tom Ribbens Dec 11 '12 at 15:30
1  
You might want to post a sample of the data format so people can better advise. –  EightBitTony Dec 11 '12 at 15:31
    
pastebin.com/4QX2aZax –  Tom Ribbens Dec 11 '12 at 15:37
    
In that pastebin you can see 3 messages. Each is started with the date on a line, followed by Sent or Received on the next line. I would like to filter on the Call-ID line. The block starting on line 40 is part of the message that started at line 15, and would need to be included in it. –  Tom Ribbens Dec 11 '12 at 15:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.