[asterisk-dev] Start testing with res_sip
Mark Michelson
mmichelson at digium.com
Thu Jun 20 09:29:06 CDT 2013
On 06/20/2013 01:43 AM, Ron Arts wrote:
> Hi,
>
> I cannot get authentication to work with res_sip. I get a not found.
> Is there a way to enable
> debugging in res_sip? The SIP trace below appears automatically, and I
> don't know how to
> stop that, but OTOH chan_sip has debugging that shows where it's
> looking for and why it can't
> find the peer. I include my res_sip.conf below. It's very short.
>
> Thanks,
> Ron
>
A way that you can stop the SIP trace from appearing is to "module
unload res_sip_logger.so" from the CLI. Or you can noload
res_sip_logger.so from modules.conf and just load it when you need to
start seeing SIP traces. The best you're going to find for debugging
right now is the core debugging feature. Just ensure that the console is
receiving debug messages in logger.conf, and then set your debug log
level to 3 or higher ("core set debug 3") and you'll probably see
everything that's being logged at the moment. If you have specific ideas
for improvements for log messages, feel free to let us know (or even
contribute them).
Regarding the problem you're seeing, I'm not sure why you'd be seeing
it. It looks like you adapted the configuration from the issue that
Malcolm linked to, and I know authentication was working for him when he
was testing. My guess is that there is a module that either failed to
load or just is not configured to load that needs to be there. If you
run a "module show like res_sip" command in your CLI what all shows up?
Mark Michelson
More information about the asterisk-dev
mailing list