Asterisk


#1

hello forum, will it be possible to manually install the source digium package of asterisk on UCS? i installed asterisk4UCS but it was in German and not English. i want to install asterisk now on my UCS not going through the app center. who knows what to do and how ?


#2

It shouldnt be a problem to follow one of the existing Howtos for installing Asterisk on Debian like How to install Asterisk on Debian but you will loose some of the benefits of this integration.
I have seen that Asterisk4UCS currently doesnt provide english locale for the settings. Fortunately UCS makes it easy to configure additional languages in extended attributes which are resposible for the GUI extensions.
I’d try to contact the vendor and ask if they plan a translation.

Best Regards,
Dirk Ahrnke


#3

i tried to follow that step given in the linked document but it was not working. i guess i didn’t do it very well. i tried to install it from the root terminal and also the administrator terminal both to no avail. can you tell me where or how to start it. thanks.


#4

Its hard to help without detailed informations. We can probably say whats going wrong or has to be done if we could see some error messages.

BTW: I got the information that english localization of Asterisk4UCS is planned for the next release.


#5

on trying to install the asterisk, these are the errors i got after " ./configure"

login as: root
Using keyboard-interactive authentication.
Password:
Univention DC Master 3.2-0:

The UCS management system is available at master.esofties.local/ (192.168.1.100)

You can log into the Univention Management Console - the principal tool to manage
users, groups, etc. - using the “Administrator” account and the password selected
for the root user on the master domain controller.

[code]Last login: Tue Feb 11 07:12:39 2014 from 192.168.1.99
root@master:~# cd usr
root@master:~/usr# cd src
root@master:~/usr/src# dir
asterisk-11.7.0 asterisk-11-current.tar.gz
root@master:~/usr/src# cd asterisk-11.7.0
root@master:~/usr/src/asterisk-11.7.0# ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for uname… /bin/uname
checking for g++… no
checking for c++… no
checking for gpp… no
checking for aCC… no
checking for CC… no
checking for cxx… no
checking for cc++… no
checking for cl.exe… no
checking for FCC… no
checking for KCC… no
checking for RCC… no
checking for xlC_r… no
checking for xlC… no
checking whether we are using the GNU C++ compiler… no
checking whether g++ accepts -g… no
checking how to run the C preprocessor… gcc -E
checking how to run the C++ preprocessor… /lib/cpp
configure: error: in /root/usr/src/asterisk-11.7.0': configure: error: C++ preprocessor "/lib/cpp" fails sanity check Seeconfig.log’ for more details
root@master:~/usr/src/asterisk-11.7.0# make menuconfig
make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


make: *** No rule to make target makeopts', needed bymenuselect/makeopts’. Stop.
root@master:~/usr/src/asterisk-11.7.0# make && make instal
make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


make: *** No rule to make target makeopts', needed by_all’. Stop.
root@master:~/usr/src/asterisk-11.7.0# make samples
make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


Installing adsi config files…
d “”
/bin/sh: d: not found
make: [adsi] Error 127 (ignored)
/bin/sh: configs/asterisk.adsi: Permission denied
Installing configs/asterisk.adsi
/bin/sh: configs/asterisk.adsi: Permission denied
/bin/sh: -m: not found
/bin/sh: configs/telcordia-1.adsi: Permission denied
Installing configs/telcordia-1.adsi
/bin/sh: configs/telcordia-1.adsi: Permission denied
/bin/sh: -m: not found
make: *** [adsi] Error 127[/code]

please what is the solution.


#6

configure: error: in `/root/usr/src/asterisk-11.7.0': configure: error: C++ preprocessor "/lib/cpp" fails sanity check
It doesnt make sense to proceed after this error.

See `config.log' for more details

#7

i have passed that level of issue, i rerun "./configure " and i am getting this error " configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) ", i searched for the solution every forum told me to do this " apt-get install ncurses-dev ", i did but it still wont work. is it because it is univention.?


#8

ncurses-dev is only available in our unmaintained repository, try this:

ucr set repository/online/unmaintained='yes' apt-get update; apt-get install ncurses-dev


#9

Thanks all, i have been able to install the asterisk successfully on UCS. the only problem now is how to access the web interface to configure it. i have tried using the IP add of the server but it comes back with the UCM.

how do i access the free pbx console alone and not UCM.

can they run concurrently without conflict.

regards,


#10

Hello dmills,

[quote]how do i access the free pbx console alone and not UCM.

can they run concurrently without conflict.[/quote]

Are you talking about the “free pbx console” (freepbx.org) ? This is not Asterisk alone, but rather a Linux distribution on its own, containing Asterisk and a management interface. You would never install it on top of any existing Linux installation.

If you’re talking about something different, please specify what it is. As far as I know, (using Asterisk for quite some years) Asterisk doesn’t come with user interfaces at all. It provides the so-called “Asterisk Management Interface (AMI)” on TCP port 5038, and it is your turn to choose what to plug in there. Using my favourite search engine, I found http://www.debianhelp.co.uk/asteriskWeb.htm.

Regards,
Frank Greif.