<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Using the code at <a href="https://freeswitch.org/confluence/display/FREESWITCH/Simple+IVR+in+JavaScript" class="">https://freeswitch.org/confluence/display/FREESWITCH/Simple+IVR+in+JavaScript</a><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>