25 Sep
2009
25 Sep
'09
5:13 a.m.
Dear All, I am doing IVR by using perl ESL libraries. I have used ESL::IVR module. I get the DTMF by using playAndGetDigits subroutine which is defined in ESL::IVR.pm. The DTMF digit stored in freeswitch "digit" variable. To get the freeswitch variable I used getVar subroutine which is defined in ESL::IVR.pm file. When I print that digits, Perl program prints empty value while playing the menu itself. If I need to get the DTMF value I need to wait the perl program. My question is why the Perl program prints the empty value before executing the getVar function? How can get the DTMF value by using getVar function without waiting in the Perl program? Please any one help me in this problem.... Thanks, Velusamy.