標題:
【角色茶桌】—— QNAP NAS TS119安装Asterisk 10.0.0 + Google Voice
[打印本頁]
作者:
角色
時間:
2011-12-31 13:31
標題:
【角色茶桌】—— QNAP NAS TS119安装Asterisk 10.0.0 + Google Voice
以前的安装都是用ATOM-PC,而这次用QNAP NAS (TS119)。
从ATOM-PC安装Goolge Voice的得知,在Asterisk里,需要下面的东西:
Channel Drivers
===============
chan_gtalk (iksemel, res_jabber, openssl)
chan_jingle (iksemel, res_jabber, openssl)
Resource Modules
================
res_jabber (iksemel, openssl)
详情请浏览:
http://www.telecom-cafe.com/foru ... &extra=page%3D1
作者:
角色
時間:
2011-12-31 13:38
本帖最後由 角色 於 2011-12-31 15:13 編輯
从#1里,在下载Asterisk tarball,如果没有安装iksemel和openssl前,chan_gtalk, chan_jingle和res_jabber是[XXX],就是没有选择!在ATOM-PC,可以用rpm安装iksemel和openssl,但是在NAS的ARM里,我们用ipkg安装。
看看你的ipkg是否有iksemel
ipkg list | grep iksemel
[/opt/src/asterisk-10.0.0] # ipkg list | grep iksemel
iksemel - 1.4-1 - iksemel is an XML (eXtensible Markup Language) parser library designed for Jabber applications
[/opt/src/asterisk-10.0.0] #
複製代碼
安装iksemel,
ipkg install iksemel
複製代碼
看看你的NAS ipkg是否有openssl
[/opt/src/asterisk-10.0.0] # ipkg list | grep openssl
openssl - 0.9.8p-1 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
openssl-dev - 0.9.8p-1 - openssl native development files
perl-crypt-openssl-random - 0.03-1 - Crypt-OpenSSL-Random - Routines for accessing the OpenSSL pseudo-random number generator
perl-crypt-openssl-rsa - 0.24-1 - Crypt-OpenSSL-RSA - RSA encoding and decoding, using the openSSL libraries
py25-openssl - 0.10-1 - Python wrapper around a small subset of the OpenSSL library.
py26-openssl - 0.10-1 - Python wrapper around a small subset of the OpenSSL library.
[/opt/src/asterisk-10.0.0] #
複製代碼
当然你看到有的话,按照下面安装openssl和openssl-dev
ipkg install openssl openssl-dev
複製代碼
如果安装iksemel,openssl后,我们运行./configure一次,主要configure后的flags/switches
./configure --prefix=/opt/asterisk-10 --build=arm-gnu-linux
複製代碼
作者:
角色
時間:
2011-12-31 13:49
本帖最後由 角色 於 2011-12-31 13:54 編輯
然后我们execute make menuselect
在Channel Drivers里,看看chan_gtalk and chan_jingle是否可以选择
┌─────────────┤ Asterisk Module and Build Option Selection ├─────────────┐
│ │
│ Add-ons (See README-addons.txt) XXX chan_alsa │
│ Applications XXX chan_console ▒ │
│ Bridging Modules [*] chan_gtalk ▒ │
│ Call Detail Recording [ ] chan_jingle ▒ │
│ Channel Event Logging [*] chan_mgcp ▒ │
│ Channel Drivers XXX chan_misdn │
│ Codec Translators XXX chan_nbs ▒ │
│ Format Interpreters [*] chan_oss ▒ │
│ Dialplan Functions [*] chan_phone │
│ │
│ Linux Telephony API Support │
│ │
│ Depends on: ixjuser(E) ┌───────────────┐ ┌──────────┐ │
│ Can use: N/A │ Save & Exit │ │ Exit │ │
│ Conflicts with: N/A └───────────────┘ └──────────┘ │
│ Support Level: extended │
└────────────────────────────────────────────────────────────────────────┘
<ENTER> toggles selection | <F12> saves & exits | <ESC> exits without save
複製代碼
在Resource Modules里是否看到res_jabber
┌─────────────┤ Asterisk Module and Build Option Selection ├─────────────┐
│ │
│ Call Detail Recording XXX res_ais │
│ Channel Event Logging [*] res_config_ldap ▒ │
│ Channel Drivers XXX res_config_pgsql ▒ │
│ Codec Translators XXX res_config_sqlite ▒ │
│ Format Interpreters XXX res_fax_spandsp ▒ │
│ Dialplan Functions [*] res_jabber │
│ PBX Modules [*] res_phoneprov ▒ │
│ Resource Modules [ ] res_pktccops ▒ │
│ Test Modules [*] res_smdi │
│ │
│ AJI - Asterisk Jabber Interface │
│ │
│ Depends on: iksemel(E) ┌───────────────┐ ┌──────────┐ │
│ Can use: openssl(E) │ Save & Exit │ │ Exit │ │
│ Conflicts with: N/A └───────────────┘ └──────────┘ │
│ Support Level: extended │
└────────────────────────────────────────────────────────────────────────┘
<ENTER> toggles selection | <F12> saves & exits | <ESC> exits without save
複製代碼
作者:
角色
時間:
2011-12-31 15:56
在make menuselect选择好后,我们就可以进行make,然后make install,再make samples
进入/opt/asterisk-10/sbin,
运行asterisk
./asterisk
複製代碼
进入asterisk cli
./asterisk -rvvvv
複製代碼
再执行core show translation
下載
(28.36 KB)
2011-12-31 15:57
圖片附件:
12-31-2011 3-44-50 PM.png
(2011-12-31 15:57, 28.36 KB) / 下載次數 449
http://telecom-cafe.com/forum/attachment.php?aid=1075&k=79c956c13ae0f22c3e97656b51401b3d&t=1732340645&sid=QqXWbP
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2