[asterisk-users] Re: extensions.conf strangeness

Michael Neuhauser mike at firmix.at
Thu Oct 5 07:07:14 MST 2006


On Thu, 2006-10-05 at 11:12 +0100, Brian Candler wrote:
> Is there a debug mode which can say:
> 
> "dialplan: trying to match 611 against pattern _1XXXXX: failed
>  dialplan: trying to match 611 against pattern _2XXXXX: failed
>  dialplan: trying to match 611 against pattern _6X.: matched"

No, there isn't (I assume to keep this central part as fast as possible,
i.e., even "if (option_debug) ..." costs time and pollutes the cache).

I've created and attached a one line patch (for 1.4 branch, r44464) that
should give you the info you need (sort of). But be aware that I haven't
tested it on 1.4 (only on 1.2, but things are different there). Only use
this patch on a test system as it will generate massive amounts of
output and will considerably slow down call handling.
-- 
Dr. Michael Neuhauser                              mailto:mike at firmix.at
Firmix Software GmbH                                  sip:mike at firmix.at
Vienna/Austria/Europe                               tel:+43-1-7890849-30
Linux Development and Services                     http://www.firmix.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: matchdebug.patch
Type: text/x-patch
Size: 559 bytes
Desc: 
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061005/5e45c0e7/matchdebug-0001.bin


More information about the asterisk-users mailing list