Trixbox development - Where to start?

shroukkhan
Posts: 19
Member Since:
2008-02-09

Hi, this is probably a very stupid question..may be even a wrong place to ask! anyhow, I have been looking for some documentation on developing modules for trixbox CE but unfortunately googling for almost a day did not come up with anything remotely helpful. Trixbox CE being a open source project there has to be some place where there are documentation on how to develop modules for trixbox ! can anyone please point me in the right direction ? or is there no such documentation available to public?

Regards,
Shrouk khan



jfinstrom
Posts: 1959
Member Since:
2007-03-07
Google "FreePBX Development"

Google "FreePBX Development"

--



shroukkhan
Posts: 19
Member Since:
2008-02-09
ah thankyou very

ah thankyou very much..looking at it now. I was actually looking for a way to add the module to trixbox maint console.



b14ck
Posts: 772
Member Since:
2009-03-03
I actually spent a while

I actually spent a while looking for information on freepbx modules a few months ago when I was first getting into it. I was really surprised by the lack of documentation I found. The best way to get started is go into /var/www/html/maint/modules/ and look around at the current modules that are there, copy one, and see if you can get it working. You'll see that it's a relatively simple process :) Good luck, and if you have any questions feel free to ask.

--

Randall Degges
Lead Developer, RCI Telecommunications
projectb14ck - http://projectb14ck.org/ - Weblog



restoble
Posts: 5
Member Since:
2009-06-18
no

There is no documentation, on anything public and open. No source codes or built scripts either. it seems not really an open project, if only free, but not as in freedom, just cost.

Maybe more modules if they document it?

--
Its very cold here.

--

--
Its very cold here.



TDF
Posts: 482
Member Since:
2006-12-19
Theres some guys over on the

Theres some guys over on the PiaF forum making modules.



b14ck
Posts: 772
Member Since:
2009-03-03
I started writing a guide on

I started writing a guide on creating FreePBX modules a while back, but got distracted with many other projects. I'll try to work on it over the next week-ish and put up a first version somewhere. They aren't hard to make.

--

Randall Degges
Lead Developer, RCI Telecommunications
projectb14ck - http://projectb14ck.org/ - Weblog



jfinstrom
Posts: 1959
Member Since:
2007-03-07
restoble: not sure who your

restoble: not sure who your slamming but inability to find something doesn't make it non existent!

--



b14ck
Posts: 772
Member Since:
2009-03-03
If you're looking to make a

If you're looking to make a simple module, you can start by copying the simple support module I wrote. To check it out, cd /var/www/html/maint/modules/support/ and look around. If you'd like to make your own based off mine, just do:

cp -R /var/www/html/maint/modules/support /var/www/html/maint/modules/test

then modify the module.xml file (it is pretty self-explanatory), and the page.support.php file (you should probably rename this according to your file option in module.xml).

Once you've done that, go to your module admin in the web interface, and you should see your module (test) listed for installation, so just install it, then play around :)

--

Randall Degges
Lead Developer, RCI Telecommunications
projectb14ck - http://projectb14ck.org/ - Weblog



greywire
Posts: 140
Member Since:
2007-10-03
Trixbox module how-to

I posted a simple run down of how a module works in the trixbox ce dashboard: http://sporkbox.org/node/3

Hope that helps.

--

--
Aric Caley
Senior Developer, After 10 Studios.
greywire@gmail.com



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.