Closed mvoloz closed 10 years ago
for further testing, I've tried: I've added limit: 5, terminator: '#'
match 1 do |dialed|
say_dialed dialed
end
match 2 do |dialed|
say_dialed dialed
end
match 3 do |dialed|
say_dialed dialed
end
match 6..1025 do |dialed|
say_dialed dialed
end
matching 6 through 1025 allowed me to dial extension 1 by either using the terminator or waiting for the timeout as well as dialing 1020.
However, having match syntax start with same number as another extension (ie: match 1001..1025) immediately matches 1.
It seems your log gist is unavailable. Could you recreate it? Also, some mention of the platform you're running on would be appreciated; if this is mod_rayo it's likely to be a bug over there rather than in Adhearsion/Punchblock.
Closing for inactivity.
In a menu where you have extensions that start with the same number as another predefined extension, timeout is being ignored and the shorter number is triggered instantly.
For instance, 1 for sales, while 1001 goes to user/1001. dialing 1001 will instantly trigger "1", even though my timeout is set to 10.
my controller, xml output of teh menu and the tracelog: https://gist.github.com/mvoloz/6ac89ea5e9930026504d
Thanks!