我正在尝试在谷歌云计算(ubuntu 14.04)上设置freeswitch服务器虽然它在我本地工作正常,但我似乎在谷歌云计算上启动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.
答案 0 :(得分:6)
我自己找到了答案 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