Pan*_*lde 3 freeswitch telecommunication google-cloud-platform
我正在尝试在谷歌云计算(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.
Run Code Online (Sandbox Code Playgroud)
我在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
Run Code Online (Sandbox Code Playgroud)
为了在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
Run Code Online (Sandbox Code Playgroud)
后:
# ls
external external-ipv6.inactive external-ipv6.xml.inactive external.xml internal-ipv6.xml.inactive internal.xml
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2421 次 |
最近记录: |