I'm running Asterisk 1.2.7.1 on Red hat 9 and have a strange pattern matching problem:
I have the following in my dial plan: exten => _NXXXXXX,1,NoOp(Number dialed ${EXTEN}) exten => _NXXXXXX,n,Dial(Zap/1/${EXTEN}) Unless I'm missing something, I wouldn't expect the pattern above to match a 10 digit number, but when I dial 6137451576, I see the following in the CLI: -- Executing NoOp("Zap/1-1", "Number dialed 6137451") in new stack -- Executing Dial("Zap/1-1", "Zap/1/6137451") in new stack As you can see, the last 3 digits are truncated in the dial cmd. This is odd behaviour isn't it? _NXXXXXX shouldn't be a match for a 10 digit number! The other patterns I have are: exten => _1XXXXXXXXXX,n,Dial(Zap/1/${EXTEN}) exten => _011.,n,Dial(Zap/1/${EXTEN}) so in fact I would have expected 6137451576 to fall thru to here: exten => i,1,AbsoluteTimeout(15) exten => i,n,Playtones(congestion) exten => i,n,Congestion exten => i,n,Hangup Thanks, Hugh _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users