返回列表 發帖

【Raspberry Pi】——Additional libraries needed on Raspbian for Asterisk Installation

本帖最後由 角色 於 2013-10-8 21:23 編輯

libraries needed in order to have the correct operation of the Asterisk 11 on Raspberry Pi box
----------------------------------------------------------------------------------------
apt-get install libncurses5-dev libxml2-dev libsqlite3-dev libssl-dev uuid-dev

check: chan_sip.o, res_rtp_asterisk.so in menuselect
------------------------------------------------------------------------------------------
因为发现sip不能工作,所以知道自己的toolchain对Asterisk on Raspbian package没有complete。

Raspbian = Debian + Raspberry Pi

SD images for reference:

Asterisk server images:
V1: Raspberry + Asterisk-11.5.1 V1 2013-10-05.img Link

Asterisk server + Asterisk-GUI images:
V1: Raspberry + Asterisk-GUI-11.5.1 V1 2013-10-06.img Link
V1.1: Raspberry + Asterisk-GUI-11.5.1 V1.1 2013-10-06.img Link
V1.2: Raspberry + Asterisk-GUI-11.5.1 V1.2 2013-10-06.img Link

In【2】,apt-get build-dep asterisk

References:
[1] http://www.asteriskguru.com/tuto ... ilation_debian.html
[2] http://www.debianhelp.co.uk/asterisk.htm
[3] http://linuxmoz.com/debian-asterisk-10-source-install-guide/
[4] http://letitknow.wordpress.com/2 ... -4-on-debian-6-0-1/
[5] http://blog.keer.info/install-as ... on-debian-wheezy-7/
[6] http://the-asterisk-book.com/1.6/installation-1.4-debian-4.0.html
[7] http://www.howtoforge.com/instal ... me-config-on-debian
[8] http://blogs.digium.com/2012/11/ ... on-ubuntu-12-4-lts/
[9] http://clauseriksen.net/2012/03/ ... e-on-debian-wheezy/
[10] http://nil.uniza.sk/sip/asterisk ... odules-debian-lenny
[11] http://maydian.wordpress.com/201 ... -on-debian-squezze/
[12] http://www.oneunified.net/blog/O ... Asterisk/index.blog
[13] http://blog.philippklaus.de/2011 ... debian-from-source/

Auto-start of Asterisk on Debian
http://blog.jerodsanto.net/2008/ ... -on-boot-in-debian/

Other member's contributions:
http://www.telecom-cafe.com/foru ... &extra=page%3D3

Clean Distribution
make dist-clean

Debian—How to search a package
apt-cache search {package-name}

回復 17# ttmuskie

The libraries that you need is

apt-get install libncurses5-dev libxml2-dev libsqlite3-dev libssl-dev uuid-dev

TOP

本帖最後由 角色 於 2013-10-6 10:58 編輯

Raspberry + Asterisk-GUI-11.5.1 V1.2 2013-10-06.img

With the following changes/modifications:
1) based on Raspberry + Asterisk-GUI-11.5.1 V1.1 2013-10-06.img

2) agt-get install uuid-dev

3) redo the followings and check res_tcp_asterisk.so is enabled.
  1. ./configure
  2. make menuselect
  3. [code]

  4. 4. Reconfigure the system time
  5. [code]
  6. dpkg-reconfigure tzdata
複製代碼
5. In post #4, setp 1c, remote the line from .profile

TZ='Asia/Hong_Kong'; export TZ

6. In /etc/asterisk/cdr.conf, change the line

From:
usegmtime=yes

To:
usegmtime=no

TOP

What is toolchain?

TOP

本帖最後由 角色 於 2013-10-6 09:17 編輯

Raspberry + Asterisk-GUI-11.5.1 V1.1 2013-10-06.img 又出事了,连RTP没有工作。
  1. [Oct  6 00:05:54] ERROR[2113][C-0000004a]: rtp_engine.c:259 ast_rtp_instance_new: No RTP engine was found. Do you have one loaded?
  2. [Oct  6 00:05:54] NOTICE[2113][C-0000004a]: chan_sip.c:25282 handle_request_invite: Failed to authenticate device "6001"<sip:6001@192.168.88.252;transport=UDP>;tag=003c331a


  3. agt-get install uuid-dev

  4. ./configure

  5. make menuselect

  6. check rtp_asterisk.so is enabled
複製代碼
现在重新在compile。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

本帖最後由 角色 於 2013-10-5 00:55 編輯

For chan_sip.so, we need to install package "openssl-devel" (no this package) but libssl-dev

TOP

返回列表