Hey all,

I'm trying to add some logic to a dial-plan to allow the caller to
terminate a number with a "#", but also accept it without this
terminator.  While trying this, I noticed that, for example,
extension "_[*0-9]XXX.#" always seems to match, whether the last digit
dialled is a "#" or not.  It's as if the parser assumes everything
after the "." will match and doesn't look any further.  Is this expected
behaviour?  If so, what would be the best solution to my problem?
I currently solved it by avoiding the "." and matching every possible
number-length seperately, both with and without the "#"-terminator.
It works, but seems like it should be doable with just 2 matches.

The box I'm trying this on is running the CVS HEAD of about a week
ago.  Thanks in advance for any suggestions.



   Grtz,

     Oliver
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to