[asterisk-users] Re: SIP Debug to file - Is it possible?
Christopher Aloi
chris.aloi at gmail.com
Tue Aug 22 04:45:08 MST 2006
>
> Thanks for the ideas!
>
> I've been looking at sip_scenario for parsing SIP signalling into nice
> ladder diagrams etc..
> 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?
> This would be for a 'debug' context, something like this....
>
> [debug]
> => system(ngrep -q sip | sip_scenario.pl /var/www/foo.trace)
> => Answer()
> => Blah
> => system(killall ngrep)
>
> 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.....
>
> Anyone have any thoughts??
>
>
>
>
> On 8/22/06, Jan Fousek <vincnet at centrum.cz> wrote:
> >
> > tcpdump -i eth0 -s 1500 -w ./dump ‘udp port 5060′
> > creates dump of communication on port 5060 (default sip)
> > ______________________________________________________________
> > > Od: dgarstang at oneeighty.com
> > > Komu: "Asterisk Users Mailing List - Non-Commercial Discussion"<
> > asterisk-users at lists.digium.com>, "Asterisk Users Mailing List -
> > Non-Commercial Discussion"< asterisk-users at lists.digium.com>
> > > Datum: 22.08.2006 05:18
> > > Předmět: RE: [asterisk-users] Re: SIP Debug to file - Is it possible?
> > >
> > >ngrep is also good if you only want to see SIP traffic and filter all
> > the
> > lower level stuff.
> > >
> > > -----Original Message-----
> > > From: Brandon Galbraith [mailto:brandon.galbraith at gmail.com]
> > > Sent: Mon 8/21/2006 8:34 PM
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Cc:
> > > Subject: Re: [asterisk-users] Re: SIP Debug to file - Is it
> > possible?
> > >
> > >
> > > Try Ethereal (I think it's called WireShark now). Does nice
> > decoding of
> > the packet stream to show you what's going on. Supports SIP for sure,
> > not
> > so sure about IAX though.
> > >
> > > -brandon
> > >
> > >
> > > On 8/21/06, Leo Ann Boon < leo at datvoiz.com> wrote:
> > >
> > > Christopher Aloi wrote:
> > > > Hello List -
> > > >
> > > >
> > > > I'm a big fan of call traces to diagnose a
> > problem; I often use
> > > > "pri set debug file X" to write PRI traces out to
> > a file, anyone
> >
> > > > know of a similar method of saving IP traces
> > (SIP,IAX) to a
> > file?
> > > >
> > > > Anyone have any ngrep scripts that do the trick?
> > > >
> > > tcpdump :) ?
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Brandon Galbraith
> > > Email: brandon.galbraith at gmail.com
> > > AIM: brandong00
> > > Voice: 630.400.6992
> > > "A true pirate starts drinking before the sun hits the yard-arm.
> > Yarrrr.
> > --thelost"
> > >
> > >_______________________________________________
> > >--Bandwidth and Colocation provided by Easynews.com --
> > >
> > >asterisk-users mailing list
> > >To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
> --
> ------
> Christopher T Aloi
> ------
>
--
------
Christopher T Aloi
------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060822/61faf07d/attachment.htm
More information about the asterisk-users
mailing list