電訊茶室's Archiver

角色 發表於 2012-9-6 02:53

【香港一人一Asterisk】主帖——华山之巅

[i=s] 本帖最後由 角色 於 2014-12-3 14:12 編輯 [/i]

Asterisk是一个打电话软件,它可以让你通过Internet,再加上一个SIP Client就可以互相打电话。

这个主要使用Asterisk Engine去起一个Asterisk Server系统。

对于新手来说,可能会比较复杂和不知道怎样开始。

【香港一人一OBi】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4720&extra=page%3D1]Link[/url]
【香港一人一Asterisk】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4713&extra=page%3D1]Link[/url]
【香港一人一AsteriskNOW-2.0】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4712&extra=page%3D1]Link[/url]
【香港一人一Asterisk+Asterisk GUI】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4714&extra=page%3D1]Link[/url]

Switchfin on ATCOM IP-01 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=2963&highlight=switchfin]Link[/url]
QNAP Asterisk系列:

【QANP: Asterisk 1.8 + Asterisk-GUI on /opt】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4946]Link[/url]

in Linux shell you could use wget to download the file that you in the following prefix:[code]wget http://downloads.asterisk.org/pub/telephony/asterisk/<tarball.gz>[/code]Asterisk Wiki
[url]https://wiki.asterisk.org/wiki/display/AST/Core+Configuration[/url]

角色 發表於 2012-9-6 02:54

[i=s] 本帖最後由 角色 於 2012-9-6 21:58 編輯 [/i]

Asterisk有以下分支:

1. Asterisk Engine Only
2. AsteriskNOW 2.0 (Asterisk Engine + FreePBX)
3. Asterisk Engine + Asterisk GUI

角色 發表於 2012-9-6 02:54

[i=s] 本帖最後由 角色 於 2012-9-7 23:52 編輯 [/i]

Asterisk Workshops and Exercises [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4718&extra=page%3D1]Link[/url]

角色 發表於 2012-9-6 02:55

[i=s] 本帖最後由 角色 於 2012-9-7 21:36 編輯 [/i]

【VMWare Player】 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4721&extra=]Link[/url]

[b]Asterisk官方网站?[/b]
[url]http://www.asterisk.org[/url]

[b]Asterisk Tarball在哪里?[/b]
[url]http://www.asterisk.org/downloads[/url]

[b]怎样安装Asterisk?[/b]
一般有下面几个方法去实现Asterisk。

一、 用PC,安装Linux (Server, Desktop)
二、 用PC (Windows 7, Xp), 安装WMWare Player, 安装Applications ISO (Linux)
三、 用NAS 的Asterisk Package
四、 用NAS的ipkg,然后ipkg install asterisk-18

角色 發表於 2012-9-6 02:56

[i=s] 本帖最後由 角色 於 2012-9-9 06:56 編輯 [/i]

[b]SIP Software Clients[/b]
  - Software such as XLite, Zoiper

[b]SIP Hardware Clients[/b]
  - Sipura ATA
  - Linksys ATA
  - OBihai ATA

角色 發表於 2012-9-6 02:58

[i=s] 本帖最後由 角色 於 2012-9-16 23:38 編輯 [/i]

Asterisk Management GUI [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4725]Link[/url]

在Ubuntu安装root,可以参考 [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4735]Link[/url]

怎样在Unbuntu安装Asterisk [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&ptid=438&pid=776]Link[/url]

[url]http://ofps.oreilly.com/titles/9780596517342/asterisk-Install.html[/url]

角色 發表於 2012-9-6 03:00

[i=s] 本帖最後由 角色 於 2012-10-2 15:48 編輯 [/i]

Asterisk settings for CM Phone : [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4746]Link[/url]

ComNet Phone:
ComNet Phone (CM Phone)问题汇总 (所有问题都不会在HKBN 2b出现) [url=http://www.telecom-cafe.com/forum/viewthread.php?tid=4800]Link[/url]

角色 發表於 2012-9-6 03:01

备用帖子。

角色 發表於 2012-9-6 03:02

备用帖子。

角色 發表於 2012-9-6 03:02

备用帖子。

角色 發表於 2012-9-6 03:04

备用帖子。

角色 發表於 2012-9-6 03:09

备用帖子。

角色 發表於 2012-9-6 03:09

备用帖子。

角色 發表於 2012-9-6 03:09

备用帖子。

角色 發表於 2012-9-6 03:09

[i=s] 本帖最後由 角色 於 2012-9-28 22:38 編輯 [/i]

[url]http://toncar.cz/Tutorials/VoIP/VoIP_Protocols_SIP_Call_Flow.html[/url]

角色 發表於 2012-9-6 08:49

备用帖子。

角色 發表於 2012-9-6 20:34

估计很多人都想知道怎样展开Asterisk!是不是?

角色 發表於 2012-9-6 21:59

这个主贴,将会讨论Asterisk和其他有关的东西比较多。

電腦超人 發表於 2012-9-6 23:07

大感謝角色兄~
asterisk這個東東可以令全世界的距離拉近了很多...而且可以配搭的方式也越來越多了~

而且也可討論一下怎樣做...才可將通訊費用降至最低(甚至0!)

Qnewbie 發表於 2012-9-6 23:35

最高境界:手中無星 心中有星:lol

Some advanced applications: calender intergration, wake-up(alarm) function, weather report, etc.

角色 發表於 2012-9-6 23:57

其实现在已经主帖子做牵引,然后根据个人起好,再进入不同的Asterisk Server(with/without GUI)。

角色 發表於 2012-9-7 21:22

可能很多members见我起那么多帖子,但是都没有见内容,主要是先建立起来,然后慢慢说。

角色 發表於 2012-9-9 08:20

应该转用了WMWare Player去安装Asterisk,那么很多人不需要购入什么NAS,其他的东西都可以用上Asterisk,那么大家就要一个一致的平台来讨论。不用动不动就用一个PC,然后搞partition,再安装Linux,grub,grub2,搞到大家一头烟。

估计慢慢访问telecom-cafe的人越来越多。

角色 發表於 2012-9-10 13:45

原来这里真的有很多的高手,对Linux非常熟悉,对怎样compile是没有问题,问题是怎样get started。

角色 發表於 2012-9-12 09:05

[i=s] 本帖最後由 角色 於 2012-9-12 13:56 編輯 [/i]

Stopping and Restarting Asterisk
Skip to end of metadata

Added by malcolmd, last edited by Malcolm Davenport on Sep 23, 2010  (view change)

Go to start of metadata

There are four common commands related to stopping the Asterisk service. They are:

[b]core stop now[/b] - This command stops the Asterisk service immediately, ending any calls in progress.

[b]core stop gracefully[/b] - This command prevents new calls from starting up in Asterisk, but allows calls in progress to continue. When all the calls have finished, Asterisk stops.

[b]core stop when convenient[/b] - This command waits until Asterisk has no calls in progress, and then it stops the service. It does not prevent new calls from entering the system.

There are three related commands for restarting Asterisk as well.

[b]core restart now[/b] - This command restarts the Asterisk service immediately, ending any calls in progress.

[b]core restart gracefully[/b] - This command prevents new calls from starting up in Asterisk, but allows calls in progress to continue. When all the calls have finished, Asterisk restarts.

[b]core restart when convenient[/b] - This command waits until Asterisk has no calls in progress, and then it restarts the service. It does not prevent new calls from entering the system.

There is also a command if you change your mind.

[b]core abort shutdown[/b] - This command aborts a shutdown or restart which was previously initiated with the gracefully or when convenient options.

kingwilliam 發表於 2012-9-12 22:45

我就是生手一名,曾經開始Asterisk好幾次, 但每次都給 KO 而放棄.
希望看完角色師兄的文章可以重新開始:)

角色 發表於 2012-9-12 22:53

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=24660&ptid=4713]26#[/url] [i]kingwilliam[/i] [/b]

现在因为会出一系列的Asterisk and/or GUI (Asterisk/FreePBX),大家可以随便选,随意如果你努力和发问,一定会学会。

角色 發表於 2012-9-13 02:21

[i=s] 本帖最後由 角色 於 2012-9-13 07:22 編輯 [/i]

在router(NAT)后,有多个Asterisk Servers在同一个local IP,或者不同的local IPs,怎样处理?

在Asterisk servers运行时,两组的UDP ports是非常关键:

SIP UDP port : default是5060,其他是ports 也可以,只要没有overlap就可以。
RTP UDP prt : Asterisk default 是 10000-20000, 其他太多了,一条communication channel,2个UDP ports就左后。下面的例子是按50人(100 UDP ports),你可以随意删减。


例如我们有下面Asterisk Servers:

Server A: IP=192.168.1.30 SIP UDP: 5060, RTP UDP: 15100-15199
Server B: IP=192.168.1.30 SIP UDP: 5228, RTP UDP: 15200-15299
Server C: IP=192.168.1.31 SIP UDP: 5229, RTP UDP: 15300-15399

A. Router (NAT)的port forwarding settings
按照上面Servers的要的UDP ports,转到对应的Server IP.

B. Asterisk 里的 /etc/asterisk.conf (opt/etc/asterisk/rtp.conf)

Server A
rtpstart = 15100
rtpend = 15199

Server B
rtpstart = 15200
rtpend = 15299

Server C
rtpstart = 15300
rtpend = 15399


SIP client settings for different Asterisk Servers?

Server A:
VOIP Provider: <router IP or router hostname>+<:5060>
因为SIP default port是5060,那么<:5060>可以不用。

Server B:
VOIP Provider: <router IP or router hostname>+<:5228>

Server C:
VOIP Provider: <router IP or router hostname>+<:5229>

角色 發表於 2012-9-13 02:31

如果我把Asterisk主要的几个版本都set后,估计将来能吸引很多对Asterisk有兴趣的人来看。

角色 發表於 2012-9-15 00:13

现在再用WMWare Player安装一个Ubuntu 的Desktop,专给不同Asterisk and/or GUI安装。

頁: [1] 2 3

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.