<div>still same. not working</div>
<div>what else can it be?</div>
<div>thx</div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Mar 22, 2011 at 1:20 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">You may need to do \\d+ instead of \d+ in your expression.
<div>-MC<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div class="h5">On Mon, Mar 21, 2011 at 10:46 PM, deniro <span dir="ltr"><<a href="mailto:ayhkor@gmail.com" target="_blank">ayhkor@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">
<div> </div>
<div>I am unable to get the pin number and pass it to $digits ($digits comes blank)</div>
<div>appreciate any feedback</div>
<div>thx</div>
<div>deniro--</div>
<div> </div>
<div> </div>
<div>my($digits)=$session->playAndGetDigits(1,5,1,8000,"#","conference/conf-pin.wav","ivr/ivr-that_was_an_invalid_entry.wav","","^7\d{4}\$");</div>
<div>or</div>
<div>my($digits)=$session->playAndGetDigits(1,5,1,8000,"#","conference/conf-pin.wav","ivr/ivr-that_was_an_invalid_entry.wav","", "<a>\d</a>+");<br>freeswitch::console_log("info", "<strong><font color="#ff0000">Got dtmf: .. $digits ..</font></strong>\n");</div>
<div> </div>
<div>freeswitch console </div>
<div>2011-03-22 01:29:26.208664 [INFO] switch_cpp.cpp:1177<font color="#000099"><strong> <font color="#ff0000">Got dtmf: .. ..<br></font></strong></font>2011-03-22 01:29:26.208664 [ERR] mod_perl.c:72 [require '/opt/freeswitch/scripts/<a href="http://fs1.pl/" target="_blank">fs1.pl</a>';]<br>
/opt/freeswitch/scripts/<a href="http://fs1.pl/" target="_blank">fs1.pl</a> did not return a true value at (eval 2) line 1.<br></div>
<div>
<div>each case getting "that was invalid PIN"</div>
<div>entering pin starting with 7 maximum 5 digits in first case</div>
<div>or any digits upto maximum 5 digits in second case</div>
<div>tried also putting "#" at the end when dialing</div>
<div> </div>
<div>none worked</div>
<div> </div>
<div> </div></div>
<div> </div>
<div> </div><br></div></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br>