[asterisk-users] Re: extensions.conf strangeness

Brian Candler B.Candler at pobox.com
Fri Oct 6 03:16:51 MST 2006


On Thu, Oct 05, 2006 at 04:07:14PM +0200, Michael Neuhauser wrote:
> 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.

Thank you. I could have written the printf() myself, I just wouldn't have
known where to put it :-)

I have applied it to trunk (r44544) and it generates output.

Unfortunately (or perhaps fortunately), now I'm running on trunk the problem
has gone away. That is, with my dialplan of

[internal]
include => extensions
include => outbound
include => invalid
include => test

[from-sip]
include => extensions
include => outbound
include => invalid
include => test

then both SIP phones and Zap phones work identically: dialling 611 gives
"I'm sorry, that's not a valid extension", presumably because 'invalid' is
before 'test' (where 'invalid' matches _X!, and 'test' matches 611)

So I can only guess this is a 1.2 issue which has been fixed in trunk - or
else there was some uninitialised variable and the problem is now hidden.

Many thanks,

Brian.


More information about the asterisk-users mailing list