[asterisk-dev] Re: [svn-commits] murf: trunk r41283 - /trunk/main/pbx.c

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Aug 31 12:56:08 MST 2006


On Thursday 31 August 2006 12:41, John Lange wrote:
> exten => _X.#,1,<action>
>
> Is naturally what you would think would work but it doesn't. In fact,
> it does violate the pattern match because if you don't enter a "#" at
> the end and just let it time-out Asterisk still considers it a match.
> Again, it seems as though it just ignores everything after the "."

It actually does ignore everything after the period.  A period is
implemented as a short-circuit to a pattern match.  Asterisk does
not consider any character after the period when evaluating a match.

-- 
Tilghman



More information about the asterisk-dev mailing list