Iain Stevenson
2003-Nov-28 07:25 UTC
[Asterisk-Users] Request for debug message in ENUM code
I've been tinkering with ENUM and found that the lack of a debug message in enum.c that says it has actually succeeded in resolving an address is a bit of a nuisance. It makes it difficult to see if failures with ENUM are due to problems with parsing NAPTR records (in enum.c) or mistakes in extensions.conf An extra line of debug information would be much appreciated! Iain
Olle E. Johansson
2003-Nov-30 11:42 UTC
[Asterisk-Users] Request for debug message in ENUM code
Iain Stevenson wrote:> > I've been tinkering with ENUM and found that the lack of a debug message > in enum.c that says it has actually succeeded in resolving an address is > a bit of a nuisance. It makes it difficult to see if failures with ENUM > are due to problems with parsing NAPTR records (in enum.c) or mistakes > in extensions.conf > > An extra line of debug information would be much appreciated!Add a setvar(skrep=${ENUM}) as a first priority after EnumLookup in your extension. That way you'll see the result in the debug output. You'll propably have to add it three times, depending on the result code. /O