Board logo

標題: raspberry pi + Asterisk11 + Freepbx Image [打印本頁]

作者: dreamy2k    時間: 2012-11-14 11:34     標題: raspberry pi + Asterisk11 + Freepbx Image

我系網上找到有一個名叫raspbx 系統是給raspberry pi專用的pbx系統,已經整合了Asterisk11 + Freepbx  2.11.0beta1

大家如果有raspberry pi又有興趣可以試下用

http://www.raspberry-asterisk.org/
作者: 角色    時間: 2012-11-14 13:26

看来师兄有非常大的兴趣,是否已经购入呢?
作者: dreamy2k    時間: 2012-11-14 14:07

看来师兄有非常大的兴趣,是否已经购入呢?
角色 發表於 2012-11-14 13:26


入了但要月底先到貨!!諗住整好放系大陸,想系大陸一個省電PBX系統,之后VPN回香港連上家里的PBX系統,我申請了CMPHONE的號碼,想在大陸也可以打出打入香港號碼
作者: lttliang    時間: 2012-11-14 15:29

几多钱一部
作者: Qnewbie    時間: 2012-11-14 17:13

You need to buy the raspberry pi(USD $35) only(OK, you might have to buy the cover too). It is just an IPPBX server. You have to buy other ATAs or IP phones to create your own telephony system.

Waiting for report.
作者: dreamy2k    時間: 2012-11-14 17:25

You need to buy the raspberry pi(USD $35) only(OK, you might have to buy the cover too). It is just  ...
Qnewbie 發表於 2012-11-14 17:13


ATA我有啦,我有OBI110同HTM222(陳年野),我等緊佢回來,連埋個盒都系300幾,我系看到個WEBSITE有RASPBERRY PI + FREEPBX先想買一台回來玩下!!希望個C/P值會高過我想的

呢編系網主的REPORT,TEST RESULT大家看看呀

http://www.raspberry-asterisk.org/?p=50
作者: Qnewbie    時間: 2012-11-14 17:35

HTM222, WOW, DBL's ATA.

Be aware that you need better external firewall(and VPN). My IP01 exposed for hacking serveral times and it hang due to the poor CPU...
作者: lttliang    時間: 2012-11-14 18:02

300几一部asterisk,好平,如果稳定同埋效果好的话,我都想整部
作者: 角色    時間: 2012-11-14 20:48

回復 3# dreamy2k

但是都是用VPN site-to-site接香港比较好。
作者: dreamy2k    時間: 2012-11-14 22:53

我都系用一直放系家里的網絡內吾會放出街!!!
作者: 角色    時間: 2012-11-14 23:17

回復 10# dreamy2k

如果用内网就少很多问题。你用什么VPN呢?
作者: dreamy2k    時間: 2012-11-15 10:32

平時我玩開是IPSEC同PPTP,OPENVPN玩了一排,呢年我返了香港所以少玩了VPN!!
作者: Shenzhen_on9    時間: 2012-11-16 17:30

有一个类似的东西, Plugpbx.
http://www.plugpbx.org/
师兄, 有興趣可以試下.
作者: dreamy2k    時間: 2012-11-17 11:51

其實我忍不住已經系淘寶入多了一台RASPBERRY PI, 早兩日到手了,我成功了安裝了RASPBX,我起了五個SIP EXT,加上了兩條TRUNK(2B 和 CMPHONE),我用ULAW同ALAW codecs,出來的效果很好,音質很清晰,我又連上了HM222 + FREETALK打SKYPE,一切都好正常好好,周未我會把OBI110連埋上去RASPBX,而家等埋第二集RASPBERRY PI就會放一台系大陸用

*FREETALK系吾可以SKYPE -> FREETALK -X->PBX,因為佢吾SUPPORT SKYPE <-> SKYPE DMTF
作者: alang    時間: 2012-11-17 13:28

不知能否用 sipp 作個效能測試報告,這裡有其他設備所作的數據報告可以比較
http://www.osslab.com.tw/Special ... =%E6%90%9C%E5%B0%8B
作者: lttliang    時間: 2012-11-17 13:52

其實我忍不住已經系淘寶入多了一台RASPBERRY PI, 早兩日到手了,我成功了安裝了RASPBX,我起了五個SIP EXT ...
dreamy2k 發表於 2012-11-17 11:51



    可否发个安装教程?
作者: 角色    時間: 2012-11-17 23:31

回復 14# dreamy2k

恭喜你!CHing是否可以多说一点,Asterisk是你自己compile,还用compiled image?

你有两只,是否两地用VPN连接? VPN用哪一种呢?PPTP吗?
作者: dreamy2k    時間: 2012-11-18 11:38

不知能否用 sipp 作個效能測試報告,這裡有其他設備所作的數據報告可以比較
...
alang 發表於 2012-11-17 13:28



系可以的因為我在做緊遲少少會POST個結果出來!!!

作者: dreamy2k    時間: 2012-11-18 15:05

本帖最後由 dreamy2k 於 2012-11-18 15:07 編輯
回復  dreamy2k

恭喜你!CHing是否可以多说一点,Asterisk是你自己compile,还用compiled image?

你有 ...
角色 發表於 2012-11-17 23:31


是COMPILED IMAGE!!是RASPBX的發行人做好了只要用APT-GET就可以吾使煩甘多

系呀!!我諗住兩地各一隻!!之后用VPN連起佢地!!TRUNK 2B同CMPHONE會系香港!!大陸的只系TRUNK回香港之后再連上去2B或CMPHONE TRUNK

VPN我要等大陸間屋裝修好先可以設置!!我會用OPENVPN SITE TO SITE!!搞吾掂先用PPTP!!
作者: dreamy2k    時間: 2012-11-18 15:22

可否发个安装教程?
lttliang 發表於 2012-11-17 13:52



安装教程,其實好簡單!!因為系下載個RASPBX IMAGE用RASPBERRY提供的工具放入去SD-CARD入面之后就OK!!乜都吾使搞

但SD-CARD要4G或以上
作者: 角色    時間: 2012-11-18 17:29

回復 19# dreamy2k

CHing,一般的Asterisk source code,如果不是经过特意修改是不能使用ComNet Phone的,不知道CHing是否有把ComNet Phone的credetial放入里面,可以注册,打出打入都没有问题呢?

你说没有错!用VPN 把两边的VoIP tied住,问题会少很多,起码外面的VoIP hackers根据跟不来。
作者: dreamy2k    時間: 2012-11-19 00:16

回復  dreamy2k

CHing,一般的Asterisk source code,如果不是经过特意修改是不能使用ComNet Phone的,不 ...
角色 發表於 2012-11-18 17:29


CMPHONE同2B都無問題打出打入都OK好清添!!正呀!!

系我認知系吾會亂放PORT出街如果要跨兩地一定要用VPN可能系以前工作上我接觸太多VPN的環境

好以而家我系公司都要VPN回家里先REMOTE我家的電腦
作者: 角色    時間: 2012-11-19 00:21

回復 22# dreamy2k

谢谢CHing的信息,那么可以你用pre-compiled的Asterisk binary image已经把ComNet Phone的问题已经好好处理好。

至于VPN,根据我已经使用的经验,DD-WRT的VPN Server不太稳定原因,我转到Draytek VPN后就没有问题了。所以要有好的VPN Server是非常重要,还有Site-to-Site的稳定性也非常重要。

CHing,看你对Site-to-Site的VPN相当有经验,不知道是否都用PPTP的VPN呢?还是SSL VPN呢?
作者: dreamy2k    時間: 2012-11-19 08:46

本帖最後由 dreamy2k 於 2012-11-19 08:55 編輯

以前我舊公司是用IPSEC,主要是香港連住大陸五六間公司,我最初接觸VOIP都系在那公司但不是SIP,是H.323!!那是用SOUNDWIN台灣品牌的PRODUCT

DD-WRT我都用過一排!!!系無甘穩定,我只可以話如果追求多功能的不如玩OPENWRT,要速度同穩都吾使用佢,只系適合初階同吾系對LINUX好熟用戶!!!

由從玩了ROUTEROS都無用DD-WRT同OPENWRT,而家玩RASPBERRY重好!!因為真系可以當RASPBERRY看成系LINUX SERVER,如果吾系好大workload同系想省電,RASPBERRY系好選擇
作者: andyng    時間: 2012-11-22 10:27

c-hing  可否發幾張Trunk,inbound routes,outbound routes 設定 圖參考下?
作者: lttliang    時間: 2012-11-24 15:35

我系網上找到有一個名叫raspbx 系統是給raspberry pi專用的pbx系統,已經整合了Asterisk11 + Freepbx  2.11 ...
dreamy2k 發表於 2012-11-14 11:34



    我的VPN停左了,无法入到个网站,要等VPN装好先可以进去睇
作者: dreamy2k    時間: 2012-11-25 23:57

[attach]1966[/attach] 未命名.jpg 未命名1.jpg 未命名2.jpg 未命名5.jpg
c-hing  可否發幾張Trunk,inbound routes,outbound routes 設定 圖參考下?
andyng 發表於 2012-11-22 10:27


圖片附件: [RASPBX] 未命名.jpg (2012-11-25 23:56, 113.29 KB) / 下載次數 645
http://telecom-cafe.com/forum/attachment.php?aid=1963&k=1cc3a05643a1dca1f34151d0db349c47&t=1739743350&sid=aAX6x6



圖片附件: [TRUNK CM] 未命名1.jpg (2012-11-25 23:56, 77.26 KB) / 下載次數 649
http://telecom-cafe.com/forum/attachment.php?aid=1964&k=2ad7ab75cefba17383a683fda53953ab&t=1739743350&sid=aAX6x6



圖片附件: [TRUNK HK2B] 未命名2.jpg (2012-11-25 23:56, 73.33 KB) / 下載次數 624
http://telecom-cafe.com/forum/attachment.php?aid=1965&k=1730d8287a23cd57732b3ac25a9f2da4&t=1739743350&sid=aAX6x6



圖片附件: [OUTROUTE] 未命名5.jpg (2012-11-25 23:56, 64.78 KB) / 下載次數 666
http://telecom-cafe.com/forum/attachment.php?aid=1968&k=759b4781408d059b7026bb0f3febce55&t=1739743350&sid=aAX6x6


作者: andyng    時間: 2012-11-26 13:43

回復 27# dreamy2k

THX C-HING
作者: lttliang    時間: 2012-12-10 16:35

不知能否用 sipp 作個效能測試報告,這裡有其他設備所作的數據報告可以比較
...
alang 發表於 2012-11-17 13:28



    请问你的测试方法中添加AGI在哪个文件添加?
作者: alang    時間: 2012-12-10 20:16

不用寫 AGI 喔,只要簡單的 dialplan 就可以,將它寫在 extensions.conf,如果是 FreePBX 就改成 extensions_custom.conf

; for sipp testing
[custom-sipp]
exten => 2005,1,Answer
exten => 2005,2,Background(tt-monkeys)
exten => 2005,3,Goto(2)
作者: lttliang    時間: 2012-12-11 03:07

不用寫 AGI 喔,只要簡單的 dialplan 就可以,將它寫在 extensions.conf,如果是 FreePBX 就改成 extension ...
alang 發表於 2012-12-10 20:16



    哎,冇linux基础真系麻烦,搞到3点都未成功
作者: alang    時間: 2012-12-11 10:56

你是指安裝 Sipp ?
作者: dreamy2k    時間: 2012-12-12 00:55

今天我有一個好大的突破

近日我入了GOIP呢個PRODUCT,系GSM GATWAY,之后今晚我做了一晚終於把

RASPBERRY + HTM222 + FREETALK CONNECTME + GOIP +OBI110連成一個VOIP系統

最麻煩系HTM222 + FREETALK 同GOIP,搞到我傻但真系要多國外的網友提供的資料!!吾系我真的吾知道點做

而家FREETALK打入黎會自動飛去一個分機上(或GROUP RING都得),同系座機上只要打5XX就可以對應返系FREETALK上SET去的SPEEDDIAL NUM,好似打去*0 TEST SKYPE SOUND,只要系座機上打"50"就可以,方便好多!!
作者: Thunderman    時間: 2012-12-18 12:11

回復 27# dreamy2k

Dreamy2k CHing, can you post the whole peer detail under Cmphone and HKBN as I've the same configuration as your with extensions setup sucessfully (call between each others) but still failed call outside by following your config so I wonder something not completed input under the 'peer detail' section. Thanks in advance.
作者: dreamy2k    時間: 2012-12-18 13:33

回復  dreamy2k

Dreamy2k CHing, can you post the whole peer detail under Cmphone and HKBN as I've t ...
Thunderman 發表於 2012-12-18 12:11


CMPHONE
type=peer
nat=yes
username= USERNAME
secret= PASSWORD
port=5060
host=202.0.179.3
fromuser=USERNAME (SAME AS USERNAME)
fromdomain=202.0.179.3
canreinvite=no
insecure=very
disallow=all
allow=ulaw&alaw
dtmfmode=auto
context=from-trunk
qualify=no

Register String:
USERNAME:PASSWORD@202.0.179.3:5060/USERNAME
作者: Thunderman    時間: 2012-12-18 14:01

回復 35# dreamy2k

Thanks CHing, may I have HKBN too. Thanks a lot.
作者: dreamy2k    時間: 2012-12-18 14:13

本帖最後由 dreamy2k 於 2012-12-18 14:14 編輯

回復 36# Thunderman

基本是一樣,就是HOST = s2hkbntel.net  和 USERNAME:PASSWORD@s2hkbntel.net:5060/USERNAME 不同
作者: Thunderman    時間: 2012-12-18 14:30

回復 37# dreamy2k

Thanks, I cut and paste with updated username and secret already but still failed to call outside by dialing 918503, a busy tone always. Anything I missed?
作者: Thunderman    時間: 2012-12-18 16:06

dreamy2k CHing, it works now and I thought I screwed up some changes in extensions_custom.conf file and it works after I deleted everything inside.

My next question, how to make the incoming call from HKBN to ring my extension 6118? Add incoming inbound routes or add setting under HKBN2b's Incoming settings section?
作者: Thunderman    時間: 2012-12-18 16:07

dreamy2k CHing, it works now and I thought I screwed up some changes in extensions_custom.conf file and it works after I deleted everything inside.

My next question, how to make the incoming call from HKBN to ring my extension 6118? Add incoming inbound routes or add setting under HKBN2b's Incoming settings section?
作者: Thunderman    時間: 2012-12-18 16:28

Tried to add the Inbound Routes and linked to my extension 6118, it work too.

Currently, fine-tuning the setting and trying to add some other feature, follow me, ring group, ...
作者: dreamy2k    時間: 2012-12-19 13:20

回復 41# Thunderman

現在我就在想研究IVE,用特定號碼打HK2B 或CMPHONE會自動跳入去IVE,其他的就正常跳去指定的分機

RING GROUP我都會玩但要等大陸間房裝修好先可以.............
作者: Thunderman    時間: 2012-12-20 13:04

I've problem to call a mobile phone no. start from 9xxxxxxx so I suspected something wrong in the dial pattern whether under Trunk or Outbound Routes.
I put '9' in prefix and '.' in match pattern only. The logfile shown 'tdial' instead of 9xxxxxxx.
作者: dreamy2k    時間: 2012-12-20 15:26

回復 43# Thunderman

你COPY個TRUNK同Outbound Routes出來看看呀
作者: Thunderman    時間: 2012-12-20 22:36

See attached.

圖片附件: [Outbound Route] 1.png (2012-12-20 22:35, 54.96 KB) / 下載次數 867
http://telecom-cafe.com/forum/attachment.php?aid=2074&k=ddbc896160797baf2d01cfcb4c7bd803&t=1739743350&sid=aAX6x6



圖片附件: [HKBN Trunk] 2.jpg (2012-12-20 22:35, 123.55 KB) / 下載次數 845
http://telecom-cafe.com/forum/attachment.php?aid=2075&k=12df0564e9b34d73c14c829b25c1eb77&t=1739743350&sid=aAX6x6


作者: dreamy2k    時間: 2012-12-21 22:07

回復 45# Thunderman

系呢度"Optional Destination on Congestion"我無加任何野喎
作者: bigtoodog    時間: 2012-12-22 12:31

這個image可以裝在cubieboard上嗎?
作者: 角色    時間: 2012-12-22 12:39

回復 47# bigtoodog

应该两个东西是不一样,所以不能简单就这样转过去,估计应该要自己重新compile过才可以使用。
作者: Thunderman    時間: 2012-12-23 20:57

回復 46# dreamy2k

It works now after remove the content under Dialed Number Manipulation Rules in the Trunk and changed the Dial Patterns in outbound route as attached.

1.jpg
2.jpg

圖片附件: [Trunk] 1.jpg (2012-12-23 20:56, 82.66 KB) / 下載次數 870
http://telecom-cafe.com/forum/attachment.php?aid=2076&k=88a948effdc1cf9f30a9003811503691&t=1739743350&sid=aAX6x6



圖片附件: [Outbound Route] 2.jpg (2012-12-23 20:56, 49.68 KB) / 下載次數 864
http://telecom-cafe.com/forum/attachment.php?aid=2077&k=8c30566315d3288561034ccfc070b3f4&t=1739743350&sid=aAX6x6


作者: dreamy2k    時間: 2012-12-24 01:00

回復 49# Thunderman

恭喜呀




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2