[Freeswitch-users] mod_perl mod_lua

Steven Ayre steveayre at gmail.com
Wed Feb 2 19:46:33 MSK 2011


Check first whether there are freeswitch-lua or freeswitch-perl packages.

The official debian/ubuntu build system does build both mod_lua and
mod_perl, but it places them in separate packages from the rest of
FreeSWITCH.

If you don't you'll need to compile them yourself...

You will need the FreeSWITCH source to compile the modules, since they are
in that source. Some of FreeSWITCH (the core) must also be compiled since
the modules use functions that are in the core - however you can restrict
the modules that are compiled to just the ones you need using modules.conf.

When you checkout/extract the FreeSWITCH source, the first thing you must do
is run bootstrap.sh. It is this file that generates the modules.conf file,
if you haven't created it yourself.

Unless you plan to upgrade (and you should think about doing so - 1.0.6 is
old now and git head has hundreds  of bugfixes and new features) you should
make sure the one you build the modules on is the exact same version the
Ubuntu version was created from, otherwise you'll find that the interface
between the core and the modules may have changed and you'll either get a
unloadable or unstable module. If you installed via APT then you should be
able to use 'apt-get source freeswitch' to get the source package that'll
give you the version they used.

-Steve


On 2 February 2011 16:26, deniro <ayhkor at gmail.com> wrote:

> thanks for your advice and  I appreciate you taking time to reply.
> You also note that I first check freeswitch site and I put my questions if
> I cant find a solutions myself.
> I already checked for options with modules.conf and modules.conf.xml even
> before posting.
>
> If you look at my first posting, I stated that I have a compiled freeswitch
> and I dont even see modules.conf file (I searched).
> so to reiterate, The freeswitch comes installed and compiled already with a
> product, so I dont even have the freeswitch source.
>
> All I am loooking for is, if there is any way, to install new modules
> without re-installig from source and recompile from the scratch with
> existing freeswitch install.
> I highly doubt that this is possible but I am checking out with the gurus
> here.
> I dont wanna break already running freeswitch with custom dialplans and
> other custom configurations.
>
> thx again
> deniro--
>
>
>
>
>
>
>
> On Wed, Feb 2, 2011 at 10:32 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>wrote:
>
>> On Wed, Feb 2, 2011 at 4:22 PM, deniro <ayhkor at gmail.com> wrote:
>> > I think that is to enable loading the module(not the install)
>> > thx
>>
>> So, you write to the mailing list for advice, and you don't put
>> confidence in answers you got back? ;)
>>
>> >
>> >
>> > On Wed, Feb 2, 2011 at 3:14 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
>> > wrote:
>> >>
>> >> On Wed, Feb 2, 2011 at 5:25 AM, deniro <ayhkor at gmail.com> wrote:
>> >> > Hi
>> >> > I have compiled version of freeswitch 1.6.x on ubuntu 10.04
>> >> > I want to install extra freeswitch modules like mod_perl and mod_lua
>> >> > Is there any way to install these modules without re-compileling
>> >> > freeswitch.
>> >> > I looked at freeswitch site and it is talking about  editing
>> >> > modules.conf
>> >> > file and compiling from source
>> >> > and I dont even have modules.conf file as I searched.
>> >>
>> >> Go to your original sources directory (where you gave the command
>> >> "make install"), edit the file modules.conf.xml and give the command
>> >> "make install".
>> >>
>> >> -giovanni
>> >>
>> >>
>> >>
>> >> >
>> >> > thx
>> >> > deniro--
>> >> >
>> >> > _______________________________________________
>> >> > FreeSWITCH-users mailing list
>> >> > FreeSWITCH-users at lists.freeswitch.org
>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >> > http://www.freeswitch.org
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Sincerely,
>> >>
>> >> Giovanni Maruzzelli
>> >> Cell : +39-347-2665618
>> >>
>> >> _______________________________________________
>> >> FreeSWITCH-users mailing list
>> >> FreeSWITCH-users at 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 at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>>
>>
>>
>> --
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> Cell : +39-347-2665618
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110202/bee15efc/attachment-0001.html 


More information about the FreeSWITCH-users mailing list