读书人

使用elastix筹建IP电话及传真

发布时间: 2013-11-29 13:49:33 作者: rapoo

使用elastix搭建IP电话及传真

?如图,说明拨打号码:86xxxxxxx的时候,会使用这条路由

?

5、Trunk Sequence for Matched Routes

? ? ?选择fxo-1,作为此路由对应板卡的接口

6、因为有两个号码,我们需要配置两个DID来区分呼入电话究竟匹配哪条呼入路由,现在来配置两个DID

? ? ? ?zap channel ?dids

? ? ? ?description:fxo1-incoming

? ? ? DID:101

? ? ?再增加一个(传真使用)

? ??? ? ? ?description:fxo2-incoming

? ? ? ? ? ??DID:102

7、pbx---tools---asterisk file editor

? ? 搜索一下dahdi-channels.conf

? ? 然后将line1和line2的context=from-pstn都改成

context=from-zaptel

?

?

8、inbound routes

? ? ?description:fxo-1-com

? ? ?did=101

set destination

? ? extension:你要接听的分机号

9、呼叫转移

? ? pbx configuration-follow me

? initial ring time:等待时间

? destination if no answer:

? ? ? extension:选择你要呼转的分机号

?

配置传真

1、添加trunk,

trunk-name=fxo-2

? ? outbound callerid=fxo-2

dahdi idenfilter=2

2、outbound routes

? 拨号规则
使用elastix筹建IP电话及传真
?发传真的规则,先按0086,再按地区号和电话号码

? ??Trunk Sequence for Matched Routes

? ? ?选择fxo-2,作为此路由对应板卡的接口

其它参照fxo-1

?

3、增加传真分机号

? ? extension-->device--->IAX2

? ? ?display name:fax

? ? ?sip alias:114

? ? ?secret:abc114

4、inbound routes

? ?description:fxo-2-com

? ? ?did=102

set destination

? ? extension:114(你的传真的分机号)

? 5、elastix---fax----new virtual fax---

? ? 传真名称:fax ?分机号码:114

? ?密钥:abc114

? ?county code:86 ? area code:755(地区号码)

? 邮件地址:xxxx@xxx.com

6、fax clients

? ? 添加一个你允许使用传真的网段或者ip

7、virtual fax---send ?fax

? ? 发一封传真给你的朋友测试一下吧?

?

?asterisk -vrrrrr

读书人网 >开源软件

热点推荐