[asterisk-dev] Developing asterisk module: seeking for build template

Yaroslav Panych panych.y at gmail.com
Mon Jul 4 11:55:41 CDT 2011


2011/7/4 Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> On Mon, Jul 04, 2011 at 04:12:03PM +0300, Yaroslav Panych wrote:
>> Hello to all
>>
>>    I have implemented some urgently required for me feature which
>> Asterisk do not have out of box. I've built module(spying into
>> app_skel.c, but locating it into addons subdirectory). And so have
>> such problems:
>
> Why do you put it in addons?
>
Only because it is smallest part of asterisk sources. Contains only 4
of modules, and historically(pre-1.8) it contained modules that was
optional in asterisk.

>> 1. I must patch a bunch of asterisk files(menuselect-tree,
>> addons/Makefile, and some others) in order to teach make menuselect
>> and make addons to build it)
>
> No, you should not have to do this. What kind of patching did you need?
>
> menuselect-tree is generated.
>
Generated from what source. Did not found any. Downloaded source
tarball and there is already menuselect-tree file, even before run
./configure  I forced to modify Makefile in order to put there
instructions to buil my module(module.c -> module.o -> module.so)
>> 2. Built module for one version of Asterisk does not compatible with
>> other version, and sometimes it is a pain to repatch all newer
>> version(I mean since 1.8).
>>
>>    So for now my task is to create separate built environment(i.e.
>> Makefile, possible autoconf/autobuild). I'm afraid I'm not so strong
>> in such kind of tasks. Is there available such template?
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list