[Asterisk-Users] SIP debug logging
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jul 4 01:58:54 MST 2006
On Tue, Jul 04, 2006 at 10:00:30AM +0200, Olle E Johansson wrote:
> >
> >i am trying to sort out an issue with my SIP provider (I can make
> >outgoing calls but am not recieving calls) and have been trying to use
> >"sip debug" from the CLI. I am after a way to get these debug messages
> >into a file (I find it easier to go over a file than having to deal
> >with
> >all the re-register messages flying by the screen). I have tried
> >setting
> >the debug field in logger.conf, but this doesn't seem to be doing
> >what I
> >want. Is there an easy way to have these messages going into a file?
> >
> I find that the easiest way is to connect to asterisk like this:
>
> asterisk -rnvvvvdddd | tee /tmp/asterisk-debug
What's wrong with:
tail -f /var/log/asterisk/full
(after setting the desired verbosity and debug level)
This also removes the need for -n
--
Tzafrir Cohen sip:tzafrir at local.xorcom.com
icq#16849755 iax:tzafrir at local.xorcom.com
+972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the asterisk-users
mailing list