標題:
【Raspberry Pi】——Asterisk 12 (还没有成功)
[打印本頁]
作者:
角色
時間:
2013-12-29 08:17
標題:
【Raspberry Pi】——Asterisk 12 (还没有成功)
本帖最後由 角色 於 2013-12-29 10:30 編輯
因为在Qnap的ipkg里,没有支持uuid的功能,所以转到Raspberry Pi,看看是否能把Asterisk 12放入里面。
0.1 Download Asterisk 12
http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
複製代碼
0.2 Install pjproject using the following link
https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject
複製代碼
1. Issue configuration command on the source code of Asterisk 12
./configure --prefix=/opt/asterisk-12
複製代碼
2. It gives the following error
...
libjansson development package is missing
複製代碼
3. Install the required library
apt-get install libjansson-dev
複製代碼
4. Rerun the configuration command
./configure --prefix=/opt/asterisk-12
複製代碼
5. There is no more error in the configuration stage then we could proceed to the the next stage "make menuselect"
make menuselect
複製代碼
6. In "make memuselect", choose the option "Save and Exit"
7. Issue make command
make
複製代碼
8. It gives the following error messages:
[CC] res_fax_spandsp.c -> res_fax_spandsp.o
res_fax_spandsp.c: In function ‘spandsp_v21_new’:
res_fax_spandsp.c:470:52: error: ‘MODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLE’ undeclared (first use in this function)
res_fax_spandsp.c:470:52: note: each undeclared identifier is reported only once for each function it appears in
res_fax_spandsp.c: In function ‘spandsp_fax_gateway_start’:
res_fax_spandsp.c:774:36: error: ‘t38_gateway_state_t’ has no member named ‘t38’
res_fax_spandsp.c:825:43: error: ‘t38_gateway_state_t’ has no member named ‘t38’
res_fax_spandsp.c:825:83: error: ‘t38_gateway_state_t’ has no member named ‘t38’
make[1]: *** [res_fax_spandsp.o] Error 1
make: *** [res] Error 2
root@raspberrypi:/usr/src/asterisk-12/asterisk-12.0.0#
[code]
9. Run the command "make menuselect" again to disable the option for "res_fax_spandsp". Choose "Save and exit" command
10. Re-run the make command
[code]
make
複製代碼
11. After having compiled the source code for few hours, I got
[CC] res_pjsip/pjsip_distributor.c -> res_pjsip/pjsip_distributor.o
res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
res_pjsip/pjsip_distributor.c:141:21: error: ‘pjsip_transaction’ has no member named ‘mutex’
make[1]: *** [res_pjsip/pjsip_distributor.o] Error 1
make: *** [res] Error 2
root@raspberrypi:/usr/src/asterisk-12/asterisk-12.0.0#
複製代碼
12. Looking for solution
作者:
雯雯
時間:
2013-12-29 09:58
回復
1#
角色
Qnap真係裝唔到Asterisk 12? 咁睇o黎我有時間要係virtualbox裝個linux試!
作者:
角色
時間:
2013-12-29 16:40
估计要等好记个version,才能bugs,pre-complied packages搞好。
作者:
ckleea
時間:
2013-12-29 20:49
look at this
http://matthewjordan.net/2013/09 ... -on-a-raspberry-pi/
作者:
ttmuskie
時間:
2013-12-29 20:51
I could successfully build under my pi.
But, I have encountered the google voice is not working properly. I didn't record the error message and will check with this issue later.
作者:
角色
時間:
2013-12-29 21:16
回復
5#
ttmuskie
Please advise the method that you used for successful compilation.
What is your problem when you configured your Asterisk 12 to work with Google Voice?
作者:
角色
時間:
2013-12-29 21:16
回復
4#
ckleea
Thanks CK, I am following your link to recompile the Asterisk 12.
作者:
ckleea
時間:
2013-12-29 21:21
let me try later in a debian platform
作者:
ttmuskie
時間:
2014-1-2 20:44
回復
6#
角色
sudo apt-get install -y libiksemel-dev libssl-dev libncurses5 g++ libxml2-dev ncurses-dev sysv-rc-conf unixodbc unixodbc-bin unixodbc-dev libmyodbc subversion libical-dev make sqlite3 sqlite3-doc libsqlite3-dev uuid uuid-dev libjansson-dev
./configure
make
sudo make install
sudo make samples
sudo make config
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2