SInce FreePBX does not honour the proxy settings via the bash export, you need to tell Apache instead to use a proxy. This would apply for FreePBX as well.
Here’s a how to for Debians.
1) #nano /etc/apache2/envvars
2) Add the following codes at the end. You will notice that there's repeats, sometimes they are needed so keep them there twice.
export ftp_proxy=http://10.50.19.206:8080
export http_proxy=http://10.50.19.206:8080
export FTP_PROXY=http://10.50.19.206:8080
export HTTP_PROXY=http://10.50.19.206:8080
3) #/etc/init.d/apache2 restart
Where 10.50.19.206 is the proxy server and 8080 is the proxy port, you can also insert an auth username like this for all instances above.
hello, i've followed your clue when i'm trying install freepbx 2.11. but when i run amportal a ma installall, i've got error :
ReplyDeleteUnable to connect to servers from URLs provided: http://mirror1.freepbx.org/modules/release/2.11/core-2.11.0.0beta2.2.tgz,http://mirror2.freepbx.org/modules/release/2.11/core-2.11.0.0beta2.2.tgz
any ideas?
thanks...
hi
ReplyDeleteTry to use the Website instead. The amportal script should also work, but yeah, its more designed for/with apache in mind.