<HTML>
<HEAD>
<TITLE>Playfile waiting for N digits</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I’m not sure if this is the best place to ask, or –dev, but here goes. I’m writing a custom application module to load into asterisk. Part of my requirement is to play a file until I receive N number of digits. I see ast_waitstream, which looks great for stopping on a specific digit, but is there an existing method I can call that will only stop playing if received a specified number of digits?<BR>
<BR>
Thanks,<BR>
<BR>
-- <BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Lucida Sans"><B>James Texter<BR>
<IMG src="cid:3237199439_1423918" ><BR>
</B></FONT><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN>
</BODY>
</HTML>