返回列表 發帖

【角色茶桌】—— 我的Asterisk 1.8安装历程 —— make menuselect 选项是否有更改呢?

本帖最後由 角色 於 2011-9-18 01:23 編輯

1)下载CentOS 5.6 ISO,然后安装,选Server Mode
- Firewall要disabled, SELINUX=disabled

2)下载asterisk tar ball,我用的asterisk-1.8.6.0.tar.gz
- save asterisk-1.8.6.0.tar.gz in /usr/src/asterisk
- 用tar xvf askterisk-1.8.6.0.tar.gz

3) Install the following packages
yum install gcc \
gcc-c++ \
libxml2-devel \
libtermcap-devel \
ncurses-devel \
newt-devel \

4) ./configure
(needs gcc, gcc-c++, limxml2-devel, libtermcap-devel)

5) make menuselect
(needs ncurses-devel and newt-devel. We need to re-run ./configure again in order to make "make menuselect" work)

6) make
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running:              +
+                                           +
+                make install               +
+-------------------------------------------+

7) make install
+---- Asterisk Installation Complete -------+
+                                           +
+    YOU MUST READ THE SECURITY DOCUMENT    +
+                                           +
+ Asterisk has successfully been installed. +
+ If you would like to install the sample   +
+ configuration files (overwriting any      +
+ existing config files), run:              +
+                                           +
+                make samples               +
+                                           +
+-----------------  or ---------------------+
+                                           +
+ You can go ahead and install the asterisk +
+ program documentation now or later run:   +
+                                           +
+               make progdocs               +
+                                           +
+ **Note** This requires that you have      +
+ doxygen installed on your local system    +
+-------------------------------------------+

8) make samples

9) yum install doxygen and then followed by make progdocs

10) make install

11)make config

12) make install-logrotate

13) chkconfig asterisk on

14) service asterisk start

15) asterisk -rv
Asterisk 1.8.6.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.6.0 currently running on shirley (pid = 14639)
Verbosity is at least 3
s


下面的网站可以提供参考:

https://wiki.asterisk.org/wiki/display/AST/Home



现在有D515和D525的电脑(其实感谢bubblestar兄让出他的D525MB),所以基本上设备都齐全,现在可以慢慢安装Asterisk 1.8了。

我特意另开这幅帖子,主要记录我安装Asterisk的历程,可以让大家参考。

角色

在最初只会Linksys SPA3000的ATA,对于Asterisk这样的东西实在太遥远,根本很难实验,但是如果有兴趣,可以参考本帖子,不明白的时候也可以跟帖讨论。

角色

TOP

Asterisk 对于普通用家来说主要用来作什么?家庭用户有必要用这个吗?
Skypeus 發表於 2011-9-13 17:33


1) 如果你是米皇,那么直接拨打IDD就可以。

2) 如果你想对这方面进一步理解,那么你可以先购置ATCOM的IP-0X(如ATCOM IP-01),其本上是一个GUI-based的Asterisk Server,买回来用就可以,如果你想有其他功能,可以安装Switchfin。

3) 如果你想把所有资源都集中起来,那么用PC-based Asterisk Server就可以,基本上电讯商能做,你都能用,电讯商不提供的服务,你也用!PC-based的Asterisk Server是可以说“超超强大!!!”

选什么要看自己的能力,其实很多一般人可以去到上面的第二部,购买ATCOM IP-01 + FXO口。如果你热爱VoIP,那么非常自己起Asterisk Server不可,但是这需要的知识非常多,如果你对Unix不太熟悉,在自己compile Asterisk source code会比较困难。但是你在这方面没有困难的,那么自己起一台Asterisk server是非常重要。当然你可以用很多方法起Asterisk Server,但是最好是用PC,特别是Intel ATOM-based的PC。而我打算用是Intel ATOM D515 PC,而bubblestar兄让给我的D525 MB,主要做学习机和文书机用。

角色

TOP

就是那張gigabyte D525?

Asterisk 1.8 現在已經出到1.8.7 rc1
ckleea 發表於 2011-9-13 18:09


是的,现在成为我的学习机,谢谢bubblestar的承让,不然可能又要在淘宝买回来。

角色

TOP

make menuselect 里面是否更改的default settings?

角色

TOP

整副图,都不知道你你选了什么,不选了什么呢,是否用文字说明一下呢?

角色

TOP

本帖最後由 角色 於 2011-9-13 20:39 編輯

如果大家都没有default的,那么就不知道应该选哪一个,不要紧,等我有时间可以用文字作补充。

我的core show translation结果是

2011-9-13 20-07-37.png

你的是什么呢?

角色

TOP

我执行了make menuselect,只是看看,什么都没有动,所以所有的settings都是defaults,但是你说你选了一些options(之前不是default有的)。

说道codecs,之前的729,iLBC,Speex在Asterisk 1.4都安装过,现在都不是太记得,不知道是否有hints呢?(如果要再安装的时候,可能要再去找找

角色

TOP

回復 15# bubblestar

你这幅图是否用Intel ATOM D525系统出来呢?因为我发现你的ulaw与alaw互换要200us,而我的是1us。不知道是我的有错,还是你的CPU不一样呢?

角色

TOP

哈哈已经安装,但是安装了D525电脑。如果长期运作,就换放在D515电脑,还有买一条2G的RAM,加起来有3G,那么应该足够一般用途。

角色

TOP

因为我的Analogue Card再D515已经动了小手术,不想再在D525再动,所以都是购入一条2G的RAM,因为Asterisk和其他的apps都是很慢的devices,所以D515 + 3GRAM,估计应该没有问题。


角色

TOP

那么不知道ckleea和bubblestar安装CentOS时,用什么mode呢?用 Server mode吗?还是有GUI mode?

角色

TOP

回復 28# bubblestar

怎样安装呢?Server mode没有X-Windows吗?

角色

TOP

回復 29# ckleea

“Yum groupinstall”是什么呢?

角色

TOP

那么具体是要安装哪一些呢?

角色

TOP

返回列表