Board logo

標題: 边位有在asterisk中用FXS卡? [打印本頁]

作者: lttliang    時間: 2010-12-2 20:44     標題: 边位有在asterisk中用FXS卡?

请问边位有在asterisk中用到FXS卡?
我的FXS卡连到电话上,只可以拨打分别或FXO上的线路  打唔到trunk中的线路  如果有人用紧FXS卡的话  唔该贴个配置图比我睇一下  GUI或APL都得
作者: bubblestar    時間: 2010-12-3 15:54

本帖最後由 bubblestar 於 2010-12-3 15:55 編輯

以我經驗,要注意三樣野:

1.  在 /etc/asterisk/dahdi_channels.conf 裡 的FXS port 之中,context 一定要設定成跟其他內線的一模一樣。

2. 這過最好設定埋,因為方便一些。 就是在sip.conf 增加兩條extension 給FXS,並在 dahdi_channels.conf 的 callerid 及 mailbox 改成一致內線號碼。

3.  這個最重要,一般我地用IP電話撥打去其它TRUNK 個度時,多數會在號碼後面加#號,例如101010# 打出去俾iptel。但係由於FXS 的signalling 訊號辨識是用 signalling=fxo_ks,所以要撥出電話給其它sip trunks 時,號碼後千萬不要加上 # 號,否則便永遠打不出去。這個我是親身試過的。

dahdi_channels.conf 有關 FXS 要調節的部份

;;; line="3 WCTDM/4/2 FXOKS"
signalling=fxo_ks
callerid="Channel 3" <6122>
mailbox=6122
group=5
context=internal 請改成跟其它內線同一context 名稱
channel => 3
callerid=
mailbox=
group=
context=default

;;; line="4 WCTDM/4/3 FXOKS"
signalling=fxo_ks
callerid="Channel 4" <6123>
mailbox=6123
group=5
context=internal 請改成跟其它內線同一context 名稱
channel => 4
callerid=
mailbox=
group=
context=default
作者: lttliang    時間: 2010-12-3 16:13

以我經驗,要注意三樣野:

1.  在 /etc/asterisk/dahdi_channels.conf 裡 的FXS port 之中,context 一定要 ...
bubblestar 發表於 2010-12-3 15:54



    BB兄  我真系越来越崇拜你了,原来真系我加左个#字的原因  我唔加个#字  就可以打到了
作者: bubblestar    時間: 2010-12-3 16:19

不要說得那麼客氣,只是互相交流學習,分享使用經驗罷了。




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