<div dir="ltr"><div><div><div>Hi All,<br><br></div>when i use this regular expression in my lua script to validate the number i get. <br><br> local number = session:playAndGetDigits(0, 20, 1, tryTimeOut, "#", promptFile, errorFile, "^\+(1|2[1-689]\d|2[07]|3[0-469]|3[578]\d|4[0-13-9]|42\d|5[09]\d|5[1-8]|6[0-6]|6[7-9]\d|7|8[035789]\d|8[1246]|9[0-58]|9[679]\d)(\d+)")<br>
playAndGetDigits does not recognize # as terminator <br><ul><li> terminators = digits used to end input if less than <max> digits have been pressed. (Typically '#')
</li></ul><p>example when i Dial this number followed by the pound key: 972525777777#<br></p></div><div>the method plays the error file.<br></div><div><br></div></div><div dir="ltr"><div>Thanks,<br></div><div><span>Snabel</span></div>
</div></div>