0

早上好。我已经开始在家工作了。我的办公室有一个 elastix 服务器,我可以从外部访问我的分机(分机:126 ... BIG secret)。我家里也有一个 elastix 服务器,所以我不想在家里的每部电话上设置第二个配置。是否可以在我的 elastix 上将 office pbx 提供给我的分机(126)设置为 TRUNK,所以我可以使用出站路由来访问 office 分机,只需在“6”前面加上 ..(即 HOME 机器上的 6111在办公机器上拨打分机 111)?我已正确(我认为)将出站路由设置为: () + 6 | [ZXX](没有前置,t 作为前缀,ZXX 作为匹配模式),但我无法让主干工作。目前我已将其设置为:

trunk name: office-126

username=126
secret=******
type=peer
qualify=yes
insecure=invite
host={office server external ip}
fromdomain={office server external ip}
disallow=all
allow=g729
context=from-trunk
fromuser=126

User context: 126

username=126
secret=****
type=friend
nat=yes
host={office server external ip}
fromdomain={office server external ip}
context=from-internal
disallow=all
allow=g729
dtmfmode=rfc2833
insecure=invite
4

1 回答 1

-2

当然这是可能的。大多数提供商提供 sip 扩展,而不是中继。

您已添加注册字符串

register=>username:password@ip

有关更多信息,请参阅有关 sip.conf 的手册

于 2016-12-14T12:20:47.287 回答