login | register
Thu 02 of Sep, 2010 [15:49 UTC]

voip-info.org

Discuss [2] History

Asterisk gastman

Created by: jht2,Last modification on Tue 06 of Mar, 2007 [17:05 UTC] by johnlange

Gastman

(note: this does not appear to be under active development though nightly snapshots are still provided and code still works. If you are the author, please update this page. - March 6, 2007)

Gastman is a graphical Manager interface for Asterisk. It uses the GTK+ library, and so is usually run under XWindows, although GTK+ environments also exist for Windows and Mac OS X.

Image

Download

You may download a tarball or windows installer (requires GTK2+ Runtime) or use cvs.

   cd /usr/src 
   export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot 
   cvs login
   cvs checkout gastman


Requirements

Gastman doesn't have to run on the same computer as your Asterisk computer, which is good, because Gastman requires huge software packages to be installed before you can use it. You need to install (or have installed):
  • XWindows
  • GTK 1.2 or 2.0
  • libdb (e.g: libdb4.3-dev on Debian Sarge)
  • Dont forget to install the devel packages for GTK

Compiling

  • Users of FreeBSD and Mac OS X will need to edit the Makefile to add "-D__FreeBSD__" to the CCFLAGS definition.
  • If you use the ancient gtk1.2 you may need to add the symlink:
    • cd /usr/include ; ln -s gdk-pixbuf-1.0/gdk-pixbuf .
    • But you're better off using gtk2.0.
  • Now you can do 'make', 'make install'.

It will install:
  • /usr/sbin/gastman: the Gastman executable
  • /usr/share/gastman: files (icons) that Gastman wants to use

Set Up Asterisk

You will need to edit the manager.conf file to give yourself a username and password, and to set which IP addresses you can connect from.

See Also



Asterisk | Asterisk GUI

Comments

Comments Filter
222

333Compiling on Mac OS X Tiger

by priz, Thursday 22 of February, 2007 [12:12:52 UTC]
1) I found that the source libraries checks also the version of FreeBSD, to include or not the file machine/types.h that starting from FreeBSD 5 don't exist anymore. So we have to initialize the variable "-D__FreeBSD__" to a value greater or equal to 5. I'm not sure if this is the best and most elegant way, but it works: in Makefile I added "-D__FreeBSD__=5" to the CCFLAGS definition.

2) As we already know, this application requires X11 to run. If we start double clicking the gastman icon, the application cannot display the icons (placed in the ./icons folder). If we issue the command ./gastman from the xterm, everything is okay. If somebody can explain... it's welcome.
222

333starting gastman

by erdemhaki, Tuesday 17 of May, 2005 [11:51:14 UTC]
hostname : ip address of Asterisk server

username : context which is writen in manager.conf
password : secret which is written in manager.conf