On Thu, Feb 28, 2008 at 9:51 PM, Philip Prindeville
<[EMAIL PROTECTED]> wrote:
> So, how does one debug Asterisk configuration issues, like dialplans and
>  SIP configs?
>
>  I've connected on the console with "asterisk -r -c", but I see a lot of
>  flurries of "NOTIFY" messages that make it hard to see useful
>  information (I guess that's how the "qualify" attribute works) when I
>  have "sip debug" turned on.

  Having verbosity on the console with SIP debug is tough.  It's only
going to get worse in newer Asterisk releases that support BLF, etc.
That's why I added ngrep to trunk recently:

http://ngrep.sourceforge.net/

  Phillip - with your regex-fu and some BPF statements you should be
able to get exactly what you are looking for.

>  Also, I've seen that you can use the argument to NoOp() to generate
>  tracing, but with the default syslog values on AstLinux, that doesn't work.

  Hmmm...  What?  Have you already tweaked logger.conf to log to
syslog, otherwise NoOp shouldn't have anything to do with syslog.  You
can use NoOp with any combination of variables, which should log
depending on settings from logger.conf, your verbosity level, etc.

>  How do you configure syslogd?  It's part of that busybox weirdness.  :-)

  Command line options...  That's about it.  Part of the price you pay
with busybox.  I don't know how I feel about a full syslog...  Which
one would we pick, anyway?  Too many choices...

>  And lastly...  Damn.  Forgot what was last...
>
>  Darrick:  I'm getting old, man...
>
>  Oh, I wanted to run "strings" on /usr/bin/busybox to figure out where it
>  gets configured, but we don't have "strings" on AstLinux.  And it's not
>  part of busybox or binutils...

  strings is cool but hopefully this will help for now:

package/busybox/busybox-astlinux.config

-- 
Kristian Kielhofner

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to