Newbie question on installing Asterisk

G’day all, :cry:

This is probably a simple question and I sincerely hope someone could help me.

When I make install Asterisk, I received an error saying:

make install

menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules …
make[1]: Nothing to be done for all'. ... [b]make -C sounds install make[1]: Entering directory/usr/src/digium/asterisk/sounds’
–14:15:59-- … 4.6.tar.gz
Resolving… failed: Name or service not known.make[1]: *** [/var/lib/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.6] Error 1
make[1]: Leaving directory `/usr/src/digium/asterisk/sounds’
make: *** [datafiles] Error 2[/b]

I suspect the reason is because I am installing it behind a firewall/proxy server.
Do you know where should I put in the proxy server host/id/password?

Many thanks in advance.

Had this problem myself, when downloading some files. Never got CentOS to work with the proxy, I would recommend either bypassing it or looking at google to find how to bypass your ISA server with your particulair OS.

Thanks Fishy for your response.

Glad I am not the only one. Actually, I have googled for a day but still could not find an answer.


I found out the solution myself and hope this will help others who have the same problem.
The solution is just to add environment variables in the session (which will disappear after you log off).

export http_proxy=“http://username:password@proxyhost:proxyport/”

export ftp_proxy=“http://username:password@proxyhost:proxyport/”

make install should then able able to download additional source from the Internet.