edit modules.conf in th build root for FS
uncomment the line that builds mod_perl

issue "make mod_perl-install" from the shell

edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and
uncomment the mod_perl line.


On Fri, Jul 24, 2009 at 12:42 AM, Thangappan.M <[email protected]>wrote:

> I am new to Freeswitch, I started to write a dial plan using perl instead
> of xml in the case of IVR.
> I used the following statement in the dialplan/default.xml file
> <extension name="IVR">
>        <condition field="destination_number" expression="5000">
>                <action application="perl" data="/tmp/test.pl"/>
>        </condition>
> </extension>
>
> I am using Twinkle Soft phone.When I am calling to 5000 in the freeswitch
> console it tells the following error.
> Invalid application perl.
>
> From that I understood there is no Perl module  has been installed.Then I
> uncommented the line <load module="mod_perl">  from modules.conf.xml. Again
> I checked with my Perl version it also supports
> usemultiplicity.
>
> Where I made a mistake?
> Can anyone please solve my problem?
> I want to execute the Perl script  in the dial plan.
>
>
> --
> Regards,
> Thangappan.M
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to