Hi all,<br>Greets.<br><br>I am in the process of controlling the freeswitch with perl.<br>I have read about mod_perl and I wrote some scripts to test which works fine.<br>Yesterday I tried to access the digit_set function.<br>
So I create an object for the freeswitch::DTMF.<br>But it reported the following error.<br><br>2009-08-06 15:53:46 [ERR] mod_perl.c:69 Perl_safe_eval() [require '/usr/local/freeswitch/conf/test.pl';]<br>No matching function for overloaded 'new_DTMF' at /usr/local/freeswitch/perl/<a href="http://freeswitch.pm">freeswitch.pm</a> line 197.<br>
Compilation failed in require at (eval 2) line 1.<br><br>Here is my code.<br><br>#!/usr/bin/perl<br>use strict;<br>use freeswitch;<br>our $session;<br>$session->execute("bridge","user/1010");<br>my $sess=&freeswitch::DTMF::new;<br>
return 1;<br><br>The bridge is working fine. But while creating the object it said error.<br><br>Can any one explain why this happens and how can I correct it?<br><br>