Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Problem in mod_perl


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
thangappan143 at gmail...
Guest





PostPosted: Fri Jul 24, 2009 9:17 am    Post subject: [Freeswitch-users] Problem in mod_perl Reply with quote

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
Back to top
shawn at sboyle.com
Guest





PostPosted: Fri Jul 24, 2009 10:58 am    Post subject: [Freeswitch-users] Problem in mod_perl Reply with quote

Did you also uncomment the line:

languages/mod_perl

in modules.conf when you compiled FS? I believe it's commented out by default. [Something I personally disagree with...but I would bear Larry Wall's children if I could manage it physiologically.]

-Shawn

________________________________________
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Thangappan.M
Sent: Friday, July 24, 2009 1:42 AM
To: FreeSWITCH-users@lists.freeswitch.org
Subject: [Freeswitch-users] Problem in mod_perl


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
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Jul 24, 2009 10:58 am    Post subject: [Freeswitch-users] Problem in mod_perl Reply with quote

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 <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
Quote:
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
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
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:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
mike at jerris.com
Guest





PostPosted: Fri Jul 24, 2009 11:14 am    Post subject: [Freeswitch-users] Problem in mod_perl Reply with quote

It is not built by default because it requires manual intervention to
make sure you have a proper threadsafe perl and all its dev libs
installed first. We work hard to make sure all default modules build
out of the box with minimal external dependencies. Also, this module
still does not work 100% on some platforms (solaris?)

Mike

On Jul 24, 2009, at 11:36 AM, Shawn Boyle wrote:

Quote:
Did you also uncomment the line:

languages/mod_perl

in modules.conf when you compiled FS? I believe it's commented out
by default. [Something I personally disagree with...but I would bear
Larry Wall's children if I could manage it physiologically.]

-Shawn


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
kjv at ken-ton.com
Guest





PostPosted: Wed Jul 29, 2009 7:41 am    Post subject: [Freeswitch-users] Problem in mod_perl Reply with quote

On Suse Linux (Pick a version, 10.3 and 11.1 confirmed) you need to
rebuild perl entirely, otherwise FS will crash and burn upon a perl
script being called from the dial plan.


Best Regards,
Karl J. Vesterling
kjv@ken-ton.com
202-461-3231 x0

On Jul 24, 2009, at 12:03 PM, Michael Jerris wrote:

Quote:
It is not built by default because it requires manual intervention to
make sure you have a proper threadsafe perl and all its dev libs
installed first. We work hard to make sure all default modules build
out of the box with minimal external dependencies. Also, this module
still does not work 100% on some platforms (solaris?)

Mike

On Jul 24, 2009, at 11:36 AM, Shawn Boyle wrote:

Quote:
Did you also uncomment the line:

languages/mod_perl

in modules.conf when you compiled FS? I believe it's commented out
by default. [Something I personally disagree with...but I would bear
Larry Wall's children if I could manage it physiologically.]

-Shawn


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services