返回列表 發帖

【Raspberry Pi】——Asterisk + Asterisk-GUI using tarball method

本帖最後由 角色 於 2013-9-17 01:11 編輯

之前用过SVN method安装,现在今次用tarball方法。

raspbian image可以在这里下载:
http://www.raspberrypi.org/downloads

回復 5# 角色

Don't forget to install libssl-dev! Otherwise you lose chan_sip!
  1. apt-get install libssl-dev
複製代碼
RB750G, RB2011UAS-2HnD
IP01, A580IP, AT-610

TOP

那就好。

TOP

成功搞掂,但要將全部asterisk-11.5.1改asterisk-11.7.0就可以

TOP

./configure
跟住就出現呢個error

“configure: error: *** uuid support not found (this typically means the uuid development package is missing)“

TOP

之後呢句“tar xvf ./asterisk-11.5.1.tar.gz“同埋“cd asterisk-11.5.1“ 改成12.0.0

TOP

TOP

我打完下面呢句,出現呢個問題,係咩事?

root@raspberrypi:/usr/src/asterisk# wget http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

--2014-01-04 18:23:32--  http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee

Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2014-01-04 18:23:34 ERROR 404: Not Found.



root@raspberrypi:/usr/src/asterisk# wget http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

--2014-01-04 18:23:50--  http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee

Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2014-01-04 18:23:50 ERROR 404: Not Found.



root@raspberrypi:/usr/src/asterisk# wget http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

--2014-01-04 18:24:12--  http://downloads.asterisk.org/pu ... erisk-11.5.1.tar.gz

Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee

Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2014-01-04 18:24:13 ERROR 404: Not Found.

TOP

回復 32# 角色

角色 Ching,

Thanks support, fix it as follow.

vi /etc/asterisk/logger.conf
[general]
dateformat=%F %T
AC

TOP

根据“<sip:6002@xxx.xxx.net:5229;transport=UDP>' failed for 'myrouterip:15099'
- Wrong password”,说password有吴。

TOP

回復 30# 角色


角色 Ching,

1. Yes, with press apply setting.
2. Check log just said, don't understand as follow :
[[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: Starting AEL load process.
[Dec 21 19:12:45] WARNING[2211] chan_sip.c: Invalid tos_audio value at line 277, refer to QoS documentation
[Dec 21 19:12:45] WARNING[2211] chan_sip.c: Invalid tos_sip value at line 278, refer to QoS documentation
[Dec 21 19:12:45] WARNING[2211] chan_sip.c: Invalid tos_video value at line 279, refer to QoS documentation
[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Dec 21 19:12:45] NOTICE[2903] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Dec 21 19:12:45] WARNING[2211] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[Dec 21 19:12:45] WARNING[2211] chan_sip.c: Invalid address for externaddr keyword:
[Dec 21 19:12:45] WARNING[2211] frame.c: Cannot allow unknown format ''
[Dec 21 19:12:45] WARNING[2211] chan_sip.c: Codec configuration errors found in line 298 : allow =
[Dec 21 19:12:45] WARNING[2211] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[Dec 21 19:12:45] WARNING[2211] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[Dec 21 19:12:45] WARNING[2211] sip/config_parser.c: nat=yes is deprecated, use nat=force_rport,comedia instead
[Dec 21 19:17:24] NOTICE[2211] chan_sip.c: Registration from '<sip:6002@xxx.xxx.net:5229;transport=UDP>' failed for 'myrouterip:15099'
- Wrong password
[Dec 21 19:27:15] WARNING[3053][C-0000003c] app_system.c: Unable to execute 'dahdi_scan > /etc/asterisk/dahdi_scan.conf'
root@raspberrypi:/var/log/asterisk# date

3. Yes, add hostname:522 in zoiper

Thanks
AC

TOP

是否有按apply settings?

还有你注册的时候,putty里的Asterisk log是什么?

你Zopier里是hostname,是否有用hostname:5229?

TOP

本帖最後由 mrandrewchan 於 2013-12-21 00:02 編輯

回復 28# 角色

角色 Ching,

已set 好, Router OS 也做了 port forward (port 5229 & 10000-20000 to Internal Asterisk IP ), 但不能在手机上 register (Andriod use Zoiper software and change the host name ). I miss something ? Thanks
AC

TOP

回復 27# mrandrewchan

你可以参考我以前写过的帖子。

http://www.telecom-cafe.com/foru ... =4714&pid=24708

TOP

回復 7# 角色


角色 Ching,

多謝 Guide, 我已成功安裝並能 Internal 互打, 但如果想在Internet 互打應該怎set ?  謝謝
AC

TOP

返回列表