<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Thanks for the ideas!<br><br>I've been looking at sip_scenario for parsing SIP signalling into nice ladder diagrams etc..
<br>If I was to call eithet ngrep or tcpdump from my dial plan and pipe it into sip_scenario.pl; anyone have any thoughts on how to kill the ngrep process once the call is complete?
<br>This would be for a 'debug' context, something like this....<br><br>[debug]<br>=> system(ngrep -q sip | sip_scenario.pl /var/www/foo.trace)<br>=> Answer()<br>=> Blah <br>=> system(killall ngrep) <br><br>The killall would work if there was only one call right? But if there were two users in my debug context, one at step one and one at step kill - all the ngrep processes would die.....
<br><br>Anyone have any thoughts??</div><div><span class="e" id="q_10d35b1bd95c3c2b_1"><br><br><br><br><div><span class="gmail_quote">On 8/22/06, <b class="gmail_sendername">Jan Fousek</b> <<a href="mailto:vincnet@centrum.cz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vincnet@centrum.cz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
tcpdump -i eth0 -s 1500 -w ./dump &#8216;udp port 5060&#8242;<br>creates dump of communication on port 5060 (default sip)<br>______________________________________________________________<br>> Od: <a href="mailto:dgarstang@oneeighty.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
dgarstang@oneeighty.com</a><br>> Komu: "Asterisk Users Mailing List - Non-Commercial Discussion"<<a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users@lists.digium.com</a>>, "Asterisk Users Mailing List - Non-Commercial Discussion"<
<a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a>><br>> Datum: 22.08.2006 05:18<br>> Předmět: RE: [asterisk-users] Re: SIP Debug to file - Is it possible?
<br>><br>>ngrep is also good if you only want to see SIP traffic and filter all the
<br>lower level stuff.<br>><br>> -----Original Message-----<br>> From: Brandon Galbraith [mailto:<a href="mailto:brandon.galbraith@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
brandon.galbraith@gmail.com</a>]<br>> Sent: Mon 8/21/2006 8:34 PM
<br>> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>> Cc:<br>> Subject: Re: [asterisk-users] Re: SIP Debug to file - Is it possible?<br>><br>><br>> Try Ethereal (I think it's called WireShark now). Does nice decoding of
<br>the packet stream to show you what's going on. Supports SIP for sure, not<br>so sure about IAX though.<br>><br>> -brandon<br>><br>><br>> On 8/21/06, Leo Ann Boon <<a href="mailto:leo@datvoiz.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
leo@datvoiz.com</a>> wrote:<br>><br>> Christopher Aloi wrote:<br>> > Hello List -<br>> ><br>> ><br>> > I'm a big fan of call traces to diagnose a problem; I often use
<br>> > "pri set debug file X" to write PRI traces out to a file, anyone<br><br>> > know of a similar method of saving IP traces (SIP,IAX) to a<br>file?<br>> >
<br>> > Anyone have any ngrep scripts that do the trick?<br>> ><br>> tcpdump :) ?<br>><br>> _______________________________________________
<br>
> --Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</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" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
<br>><br>><br>><br>><br>><br>> --<br>> Brandon Galbraith
<br>> Email: <a href="mailto:brandon.galbraith@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">brandon.galbraith@gmail.com</a><br>> AIM: brandong00<br>> Voice:
630.400.6992<br>> "A true pirate starts drinking before the sun hits the yard-arm. Yarrrr.
<br>--thelost"<br>><br>>_______________________________________________<br>>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Easynews.com</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" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</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" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br></span></div><div><span class="sg">-- <br>------<br>Christopher T Aloi<br>------
</span></div></blockquote></div><br><br clear="all"><br>-- <br>------<br>Christopher T Aloi<br>------