Installing asterisk on FreeBSD 6.0


#1

Hi guys
I am new to the FreeBSD OS. I have installed the 6.0 OS with linux compatibility.
I want to install asterisk on freeBSD, can u help me out.
I have googled & come to the site freshports.org/net/asterisk/
& tried to installed the asterisk but its not working, so can you pls guide me.
has any one installed asterisk on 6.0. is there another way to install?

regards
Abhijit


#2

Hi guys,
tried this one on CLI
cd /usr/ports/net/asterisk/ && make install clean
checks for asterisk 1.0.9 in local folder which I have copied manually,
& then checks for zaptel-freebsd-0.10.tar.gz.
attempted to fetch from www.portaone.com/~gonzo/
says moved temporarily
fetch from ftp://ftp.freebsd.org/pub/freebsd/ports … .10.tar.gz
says file unavaliable

How to get this file?
Pls help me out.


#3

[quote=“abhijitnt”]Hi guys,
tried this one on CLI
cd /usr/ports/net/asterisk/ && make install clean
checks for asterisk 1.0.9 in local folder which I have copied manually,
& then checks for zaptel-freebsd-0.10.tar.gz.
attempted to fetch from www.portaone.com/~gonzo/
says moved temporarily
fetch from ftp://ftp.freebsd.org/pub/freebsd/ports … .10.tar.gz
says file unavaliable

How to get this file?
Pls help me out.[/quote]

You need to update your ports tree, as you are pulling in a really old version of the port (and hence Asterisk).

Since you are on FreeBSD 6.0, you can use portsnap(1) to do this.

Try

man portsnap

then use portsnap to update the ports tree, then try building asterisk again.

Hope this helps.


Thomas Sandford


#4

Hey just do the following:

/usr/ports/net/cvsup-without-gui

get the sample cvsup file from the examples directory and put it in root’s home directory or something.

cp /usr/share/examples/cvsup/ports-supfile /root/ports-supfile

Edit ports-supfile to point to a real server (find where is says CHANGEME)

then run the following:

cvsup /root/ports-supfile


#5

Thanks tdgsandf & rhyous.
The portsnap was a perfect shot & I am able to install asterisk 1.2.4.
now the problem is I dont have any hardware to connect for telephony interface. I just want to configure the IP side of the asterisk, the SIP
register on any SIP server. For that I have configured the sip.conf file
with proper register format for Pulver.com, but its not working & Iam not able to start the server.

ALSO
I want to test the SIP call incoming & outgoing both, can I terminate the incoming call (from IP/SIP) to local interface like any normal telephone instrument. Which HW I have to connect?