Dial String _2547. works but _2547ZZZZZZZZ doesnt!

Hi,

  1. Am using asterisk 1.4.* with Ast* GUI on Debian Lenny. My dialplan _2547.(dot) works fine but this is prone to errors incase someone dials more than 12digits. To counter this, i replace with this dial plan _2547ZZZZZZZZ but fails with an error “Call from extension xxxx to the dial plan rejected because the extension not found.” What might be the problem?

  2. How can i make the Ast* tell a person that “the number you dialed is not the correct format”, kind of prompt? Sort of custom voice prompts executed when a certain error occurs.

Thx

I think you mean

X means any digit 0-9, inclusive
Z means digits 1,2,3,4,5,6,7,8, and 9 only (Zero (‘0’) is excluded).
N means digits 2,3,4,5,6,7,8, and 9 only (Zero (‘0’) and one (‘1’) is excluded).

/S