keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

2 FXO 来电区分和PHS显示问题

13 years 9 months ago #5951 by sparkwan
硬件: Openvox A400P 2FXO+2FXS Grandstream GXP200
1/2 端口为FXSO,3/4端口 为FXS

拨入,拨出基本正常。
软件:Trixbox 2.8.0.4
问题:
1) 外线1和外线2 号码不同(2外线均为上海电信PSTN),但是GXP200上来电显示都是 device <caller id>
这儿是否能区分外线1和外线2。

2) 如果外线1接了一个 PHS 平台(上海电信小灵通),但是无法获取来电,用电话机正常。
如何调整?


i] Last edited by sparkwan at 2010-7-26 17:56 [/i
13 years 9 months ago #5952 by sparkwan
附上: chan_dahdi_additional.conf
;;;;;;[801]
signalling=fxo_ks
pickupgroup=
mailbox=801@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <801>
busydetect=yes
busycount=3
accountcode=
channel=>3

;;;;;;[802]
signalling=fxo_ks
pickupgroup=
mailbox=802@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <802>
busydetect=no
busycount=7
accountcode=
channel=>4
13 years 9 months ago #5953 by sparkwan
;# Flash Operator Panel will parse this file for dahdi trunk buttons
;# AMPLABEL will be used for the display labels on the buttons

;# %c Dahdi Channel number
;# %n Line number
;# %N Line number, but restart counter
;# Example:
;# ;AMPLABEL:Channel %c - Button %n

;# For Dahdi/* buttons use the following
;# (where x=number of buttons to dislpay)
;# ;AMPWILDCARDLABEL(x):MyLabel


[channels]
language=en

; include dahdi extensions defined in FreePBX
#include dahdi-channels.conf
#include chan_dahdi_additional.conf

; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
context=from-pstn
signalling=fxs_ks
faxdetect=no
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel=1-2
busydetect=yes
busycount=3
answeronpolarityswitch=yes
hunguponpolarityswitch=yes
callerid=asreceived
13 years 9 months ago #5956 by svolta
你好
麻烦你把你的SSH到我邮箱,我帮你检查一下!

email:This email address is being protected from spambots. You need JavaScript enabled to view it.
msn:This email address is being protected from spambots. You need JavaScript enabled to view it.
13 years 9 months ago #5957 by zhangr
你dahdi的配置文件context里少了这个:
usecallerid=yes
不要手工指定callerid
13 years 9 months ago #5958 by sparkwan
to zhangr:

有一个callerid=asreceived啊。
另外

chan_dahdi_additional.conf 中的callerid=device <801>类似的东西好像是自动生成的(FreePBX还是dahdi_genconf?应该是freepbx我在添加了2个FXS Extension之后)

i] Last edited by sparkwan at 2010-7-27 22:06 [/i
Time to create page: 0.037 seconds
Powered by Kunena Forum