Install Asterisk offline

Is it possible to install Asterisk offline?
Asterisk tries to download pjproject while executing the configure script.
[pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.12/pjproject-2.12.tar.bz2 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?

BR
Hans

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

[1] https://wiki.asterisk.org/wiki/display/AST/PJSIP-pjproject#PJSIP-pjproject-bundledUsingtheBundledVersionofpjproject

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 https://downloads.digium.com/pub/telephony/codec_opus/asterisk-18.0/x86-64/manifest.xml

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