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. thanks a lot Mickael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091006/b69d4103/attachment.htm
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 +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
You may want to ask on the trixbox forums. ----- Original Message ----- From: mickael ropars To: asterisk-users at lists.digium.com Sent: Tuesday, October 06, 2009 18:18 Subject: [asterisk-users] adding modules 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. thanks a lot Mickael ------------------------------------------------------------------------------ _______________________________________________ -- 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/20091009/854f8c61/attachment.htm