The only way I've found is with a get digit string that populates a string variable. Then us an IF statement if it matches true or false. The only drawback is if you also say press "whatever" for this or that department you have to wait out the inter digit timeout.