Home > FreeBSD > Install Asterisk with GUI in 5 easy Steps: The FreeBSD Way

Install Asterisk with GUI in 5 easy Steps: The FreeBSD Way

by mnemonique on July 19, 2009

Hi and thanks for the visit. If you're new here you may want to subscribe to my feed.

asterisk0Install Asterisk with GUI in FreeBSD in 5 easy Steps

It is beyond the scope of this guide to teach you how to install the FreeBSD OS.

To make this tutorial even simpler, I remove the Digium PCI Card with 4 FX0.

Requirements:

  • Running FreeBSD OS (I’m currently using FreeBSD 7.2)
  • Root Access to install from ports
  • Basic Unix Commands
  • Win32 X-lite SIP Phone


Typography:

  • letters/words in red must be change

1. Install from ports

1.1. install asterisk from ports

$ cd /usr/ports/net/asterisk
$ make all install clean

asterisk-install1
1.2. install asterisk addons from ports

$ cd /usr/ports/net/asterisk-addons
$ make all install clean

1.3. install asterisk gui from ports

$ cd /usr/ports/www/asterisk-gui
$ make all install clean

2. edit rc.conf to start asterisk on boot

$ /usr/local/etc/rc.d/asterisk rcvar >> /etc/rc.conf
$ ee /etc/rc.conf

2.1. modify the line :

# asterisk
asterisk_enable=”No”

to

# asterisk
asterisk_enable=”YES”

3. Modify the Asterisk config files.

3.1. modify manager.conf

[general]
displaysystemname = yes
enabled = yes
webenabled = yes
port = 5038

httptimeout = 60
bindaddr = 0.0.0.0
displayconnects = yes
timestampevents = yes

[username]
secret = myveryeasytocrackpassword
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
write = system,call,log,verbose,command,agent,user,config

3.2. modify httpd.conf

[general]
enabled = yes
enablestatic = yes
bindaddr = 0.0.0.0
bindport = 8088
prefix = asterisk

4. start asterisk service

$ /usr/local/etc/rc.d/asterisk start

5. browse http://hostofthenewlyinstalledasterisk.server:8088/asterisk/static/config/index.html

5.1. add a default dialplan (click the Dial Plans tab at the left navigation bar)

asterisk3

5.2. add users (click Users tab at the left navigation bar)

5.3. click Create New User tab

I suggest you create two accounts for evaluation and testing purposes

asterisk1

5.4. Apply the changes (This will automatically reload your asterisk daemon)

asterisk5

You’ve just completed Part I. I’m going to post a guide on how to configure X-Lite win32 SIP Application and Linksys PAP2-NA Device.

Popularity: 16% [?]

Related Posts:

  • No Related Posts

{ 2 trackbacks }

Nuorodos ? naujus straipsnius | FreeBSD.lt
July 24, 2009 at 2:48 AM
pjfekybz
November 8, 2009 at 3:58 PM

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: