Using the code at https://freeswitch.org/confluence/display/FREESWITCH/Simple+IVR+in+JavaScript
I’m trying to get it not to wait if 1, 2 or 3 is pressed, and put the call straight through. But still wait, if it’s another key (as it might be an extension number). I’ve tried testing the digits variable in the on_dtmf function but just can’t get it to play ball. Anyone else done this, or any pointers?