[asterisk-users] adding modules

mickael ropars mropars at gmail.com
Tue Oct 6 12:29:17 CDT 2009


Hi Tzahir,

thanks a lot for your quick answer. What do you think about creating an
addon ? is it easier to integrate it on trixbox ?

regards

Mickael

2009/10/6 Tzafrir Cohen <tzafrir.cohen at xorcom.com>

> On Tue, Oct 06, 2009 at 06:18:58PM +0200, mickael ropars wrote:
> > Hi,
> >
> > I am working on Trixbox. I want to create my own dial() function (named
> > specificdial()) and I want to know how I can create a module and
> integrate
> > the module in the trixbox plateform.
>
> The source for Dial() is in apps/app_dial.c .
>
> If you use a version based on Asterisk 1.6.0, see
>
> http://svn.asterisk.org/svn/asterisk/branches/1.6.0/apps/app_dial.c
>
> http://svnview.digium.com/svn/asterisk/branches/1.6.0/apps/app_dial.c?view=markup
>
> Note the line 'res = ast_register_application(app, dial_exec, synopsis,
> descrip);
> ' in load_module.
>
> app_kel.c in the same directory is a simpler example of an application.
>
> See also http://www.asterisk.org/developers/
>
> Trixbox is basically a Centos system. Many of the development tools are
> already installed. However you should start by making sure you can
> rebuild asterisk. Get the .src.rpm package of Asterisk that you want to
> modify, and make sure that a 'rpm --rebuild' of it works on your build
> system.
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.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 --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091006/928f24a5/attachment.htm 


More information about the asterisk-users mailing list