Hi. After playback I ask to the user to digit a number between 1 and 9999 with or without terminating the input with '#'. The first httapi xml I tried was the following: <document type="text/freeswitch-httapi"> <work> <playback file="ivr/please_enter_number_between_1_9999.wav" digit-timeout="5000" name="user_input" terminators="#"> <bind>~\d{1,4}#{0,1}</bind> </playback> </work> </document> Freeswitch calls my action as soon as the user input the first digit. So I modified the xml in order to use two bindings: <document type="text/freeswitch-httapi"> <work> <playback file="ivr/please_enter_number_between_1_9999.wav" digit-timeout="5000" name="user_input" terminators="#"> <bind>~\d{1,3}#{0,1}</bind> <bind>~\d{4}#{0,1}</bind> </playback> </work> </document> Using this xml I get the user input only if the user press "#" after inserting the number. If the user presses 123 and then waits for timeout, Freeswitch doesn't send any digits to my action (but sometimes it does). Why?
From the logs I see that the digits are always received from Freeswitch.
Thank you in advance for your help. Denis Gasparin