[Asterisk-Users] Request for debug message in ENUM code
Olle E. Johansson
oej at edvina.net
Sun Nov 30 11:42:48 MST 2003
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
More information about the asterisk-users
mailing list