gpt4 book ai didi

google-cloud-platform - 在 Google 云计算上设置 freeswitch 服务器

转载 作者:行者123 更新时间:2023-12-04 13:46:21 26 4
gpt4 key购买 nike

我正在尝试在 google 云计算(ubuntu 14.04)上设置 freeswitch 服务器,尽管它在本地对我来说工作正常,但当我在 google 云计算上启动 freeswitch 服务器时,我似乎收到以下错误。有人可以解释一下吗?

2015-06-11 05:40:32.001508 [ERR] sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-06-11 05:40:32.001508 [ERR] sofia.c:2853 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2863 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]
:5060;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2015-06-11 05:40:37.001491 [ERR] sofia.c:2853 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2015-06-11 05:40:37.001491 [ERR] sofia.c:2863 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]
:5080;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.

最佳答案

我自己找到了答案
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

所以这个问题与ipv6有关。由于谷歌没有提供ipv6,我不得不在freeswitch中禁用ipv6

在 conf/sip_profiles 目录中,您将找到有关 ipv6 的文件,

    abcd@instance-1:/usr/local/freeswitch/conf/sip_profiles$ ls
external external-ipv6 external-ipv6.xml external.xml internal-ipv6.xml internal.xml

为了在 freeswitch 中禁用 ipv6,我们需要重命名为 external-ipv6.xml.inactive 或者我们可以移动/删除这些文件。

但是请确保您只重命名/删除有关 ipv6 的文件/文件夹,所以在这里我删除了文件 external-ipv6 , internal-ipv6.xml , external-ipv6.xml
然后重启Freeswitch服务器

编辑:

前:
# ls
external external-ipv6 external-ipv6.xml.inactive external.xml internal-ipv6.xml internal.xml

后:
# ls
external external-ipv6.inactive external-ipv6.xml.inactive external.xml internal-ipv6.xml.inactive internal.xml

关于google-cloud-platform - 在 Google 云计算上设置 freeswitch 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30772637/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com