Shaun Wingrin
2008-Dec-11 14:06 UTC
[asterisk-users] Dial string required to drop any call not exactly 10 digits long
Hi, exten => _[0-9]XXXXXXX,1,Goto(jump,${EXTEN},1) seems to allow calls shorter than 10 digits through... Hope you can help. Thanks Shaun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081211/b34b2cec/attachment.htm
Doug Lytle
2008-Dec-11 14:18 UTC
[asterisk-users] Dial string required to drop any call not exactly 10 digits long
Shaun Wingrin wrote:> Hi, > > exten => _[0-9]XXXXXXX,1,Goto(jump,${EXTEN},1)The above example is saying: If the number begins with a 0-9 and is seven digits long. Which really make no sense, since: X = matches any digit from 0-9 Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."