我有一个带有4端口Zapata的Asterisk服务器: Asterisk版本1.4.21.2
我想让这台服务器完全像网关一样工作
我想将我所有的来电发送到另一台服务器,并通过此服务器将我所有的来电发送到世界各地。
我的带有4个端口Zapata的Asterisk服务器: 192.168.1.100
连接了100部IP电话的Elastix 2.5.0服务器: 192.168.1.10
我该怎么做呢?
发布于 2015-02-05 00:54:47
在有卡的服务器上:
在/etc/asterisk/extsions.conf中
[from-zaptel]
exten => _X.,Dial(SIP/El2Ast/${EXTEN})
exten => _X.,Hangup()在sip.conf中:
[Ast2E1]
type=friend
qualify=yes
insecure=port,invite
host=192.168.1.100
context=toEl
disallow=all
allow=alaw在Elastix sip.conf中
[El2Ast]
type=friend
qualify=yes
insecure=port,invite
host=192.168.1.10
context=from-pstn
disallow=all
allow=alawhttps://stackoverflow.com/questions/28319561
复制相似问题