如何将两个(多个)asterisk连接起来??
如题!
有人用iax互连,但是我不会.
[ 本帖最后由 xieweihua 于 2007-9-4 11:37 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如题!
有人用iax互连,但是我不会.
[ 本帖最后由 xieweihua 于 2007-9-4 11:37 编辑 ]
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
Connecting two FreePBX machines together
One of the most common issues that people come up against is that they've rolled out one FreePBX machine, and now they want another, somewhere else. And to make it just that little bit harder, they want to link them together. At first, this can be a bit daunting, but it's not - when you know how.
One of the first things you need to know, is that there are two 'entry points' in the freePBX dialplan. They are 'from-trunk' and 'from-internal'. When a call is sent into the 'from-trunk' context, it is routed through the 'DID' logic, and treated as if it's an external call. A call sent into the 'from-internal' context is treated as if it was dialed from a normal SIP, IAX or Zap extension of your PABX.
Normally, when you're linking two freePBX machines together, you want the users pretty much be unaware that there are two machines, so you need a dialplan set up so that calls are treated that way. This means you need to have a little bit of forward planning if you don't want your outbound routes and trunk setup to be pretty messy. As an example, let's set up a couple of pretend freePBX machine here:
freePBX Machine 'office1'
Has an outgoing IAX or sip trunk to Faktortel, that is configured as 0|. -- eg, they dial 0numbernumber to make an external call. (As a minor unpaid plug, I've had nothing but good from Faktortel. Very happy with them.)
Has extensions in the range 300 to 350
freePBX Machine 'office2'
Has an outgoing IAX trunk to MyTel (Yes, both of these are Australian providers. I'm Australian. Handle it ) that is configured as 9|.
Has extensions in the range 600 to 620
The first thing you want to do is set up the IAX trunk between the two sites. Something like this would do it:
At office1
Trunk Name office2
PEER Details
allow=g729&alaw
type=friend
host=office2
qualify=yes
context=from-internal