带有 Avaya 系统的 Twilio 弹性 SIP 中继

Twilio elastic SIP trunks with Avaya system

您好,如果有人需要帮助将 Avaya IP Office phone 系统与 Twilio Elastic SIP 中继连接起来,请随时与我联系,经过反复试验和连接后我们成功了似乎很好。会为我们省下不少钱。

对我们来说,难题的最后一部分与 Twilio 向 Avaya 系统的来电发送 SIP 邀请的 IP 地址有关。为了让它在 Avaya 中工作,我们必须设置 4 个 SIP "Lines" 指向 4 个不同的 "ITSP IP Address" 值和每个 DID 4 "Incoming Call Routes" 因为 Twilio 从 4 个不同的国内 IP 地址发送。我确实阅读了一些关于能够将 ITSP IP 地址留空 (0.0.0.0) 的文档,因为我们确实填充了 "ITSP Domain Name",但这在我们的情况下似乎不起作用。

在 Internet 上对此进行研究时,我惊讶地没有发现太多证据表明 Avaya 客户曾经不得不处理这个问题(有或没有 Twilio),但是我确实找到了一些其他 PBX 系统有这个问题的例子连接到 Twilio,但这些系统似乎可以为一条线路配置多个 IP 地址。

因此我的问题是 - 是否有任何 Avaya 客户建议使用替代配置来实现此功能?我们可以在防火墙上做些什么? Twilio 不支持从单个 IP 地址或通过代理服务器地址发送 SIP 邀请。幸运的是,我们只有大约 10 个 DID,因此设置和维护起来并不难。

归功于 Avaya 支持论坛上的 zakabog 回答了这个问题,他说:

"Setup the 4 different SIP lines but give the URIs the same incoming group ID, that'll let you use one incoming call route for each DID."

我的回复: "That sounds like a very good idea. I will try that and report back. You are referencing the "SIP URI" 选项卡右侧,即使我们设置了第 19、21、23 和 25 行,我们也会将所有 4 个都指向第 19 行,对吗?"

他的回复:

"Exactly, there is the line number and then there's the incoming and outgoing ID, and those numbers don't need to match. So you can have everything share the same incoming or outgoing group ID, it helps keep the ARS and incoming call routes less cluttered."

我最后的回复(成功了!):

"Yes that works like a charm. Much better, I don't mind setting up 4 SIP lines but wasn't thrilled about dup'ing the other stuff. Thank you thank you."

我后来在 Avaya 论坛上收到以下问题:

"I do need help trying to get this up and running. The main issue is that we can not resolve the ITSP Domain Address field in the Line -> SIP Line -> "ITSP 域名”与 {our-domain}。pstn.twilio.com

您将如何让 Twilio 在 Avaya Office 上与 1 个 SIP 中继一起工作,这将非常有趣,一步一步。"

我的回复:

"Yes, this was my issue too. The way we have it working is by creating 4 SIP lines for each of the 4 Twilio domestic IP addresses (SIP Line tab), 54.172.60.0 through 54.172.60.3. And then using zakabog's suggestion we use only one of these line numbers on the "SIP URI" 选项卡。这允许只创建一组 "Incoming Call Routes" 指向相同的 "Line Group ID",如 "Incoming Group" 和"Outgoing Group" 在 "SIP URI" 选项卡上。请注意,这些呼叫路由将需要 "Incoming Number" 的“+1”,假设这些是美国 DID。随时给我发一个 phone 号码或电子邮件地址,我很乐意安排与您的讨论或向您展示我的屏幕。"

您实际上可以在 ITSP 代理地址上放置多个 IP 地址。我做了并给服务器增加了权重:

54.172.60.0w1,54.172.60.1w2,54.172.60.2w3,54.172.60.3w4

这将允许您创建一条 SIP 中继线路。