设置Elastix扩展名为中继



早上好。我已经开始在家工作。我的办公室有一个弹性服务器,我可以从外部访问我的扩展名(Ext:126 ...大秘密)。我在家中也有Elastix服务器,因此我不想在房屋中的每个手机上设置第二个配置。是否可以设置Office PBX向我提供的扩展名(126)作为我的Elastix上的后备箱,因此我只需通过准备" 6"。在Office Machine上呼叫Ext 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

确保可以选择。大多数提供商提供SIP扩展名,而不是中继。

您有添加注册字符串

register=>username:password@ip

有关更多信息,请参见有关sip.conf

的手册

最新更新