Install Asterisk offline

Is it possible to install Asterisk offline?
Asterisk tries to download pjproject while executing the configure script.
[pjproject] Downloading to /tmp/pjproject-2.12.tar.bz2
It fails on that machine because of firewall issues.

Is it possible to define a proxy or do you have any suggestions pls?


The wiki[1] has details on downloading this and placing it in a directory for offline installs.


Thank you! It worked with --with-externals-cache

There’s another related problem now with the make install command.

[root@server asterisk-18.12.1]# make install
CC=“cc” CXX=“g++” LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="–silent" makeopts
make[1]: Entering directory /some/path/src/asterisk-18.12.1/menuselect' make[1]: makeopts’ is up to date.
make[1]: Leaving directory `/some/path/src/asterisk-18.12.1/menuselect’
Installing modules from channels…
Installing modules from pbx…
Installing modules from apps…
Installing modules from codecs…
codec_opus: Unable to fetch

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.