I am unable to get the pin number and pass it to $digits ($digits comes blank)
appreciate any feedback
thx
deniro--
my($digits)=$session->playAndGetDigits(1,5,1,8000,"#","conference/conf-pin.wav","ivr/ivr-that_was_an_invalid_entry.wav","","^7\d{4}\$");
or
my($digits)=$session->playAndGetDigits(1,5,1,8000,"#","conference/conf-pin.wav","ivr/ivr-that_was_an_invalid_entry.wav","", "
\d+");
freeswitch::console_log("info", "
Got dtmf: .. $digits ..\n");
freeswitch console
2011-03-22 01:29:26.208664 [INFO] switch_cpp.cpp:1177
Got dtmf: .. ..
2011-03-22 01:29:26.208664 [ERR] mod_perl.c:72 [require '/opt/freeswitch/scripts/
fs1.pl';]
/opt/freeswitch/scripts/
fs1.pl did not return a true value at (eval 2) line 1.
each case getting "that was invalid PIN"
entering pin starting with 7 maximum 5 digits in first case
or any digits upto maximum 5 digits in second case
tried also putting "#" at the end when dialing
none worked