如何将两个(多个)asterisk连接起来??

发布于 2022-07-28 09:42:25 字数 85 浏览 8 评论 1

如题!
有人用iax互连,但是我不会.

[ 本帖最后由 xieweihua 于 2007-9-4 11:37 编辑 ]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

○愚か者の日 2022-07-31 16:48:44

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

deny=all
allow=g729&alaw
type=friend
host=office2
qualify=yes
context=from-internal

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文