$ wget http://files.freeswitch.org/freeswitch-releases/freeswitch-1.8.5.tar.bz2
$ tar jxvf freeswitch-1.8.5.tar.bz2
$ cd freeswitch-1.8.5
$ ./configure -C --enable-core-odbc-support #如果不想使用mysql管理,只需要执行./configure即可
$ make
$ make install
make中出现的错误:
making all mod_signalwire
make[4]: Entering directory `/root/freeswitch/freeswitch-1.8.5/src/mod/applications/mod_signalwire'
Makefile:916: *** You must install libks to build mod_signalwire. Stop.
make[4]: Leaving directory `/root/freeswitch/freeswitch-1.8.5/src/mod/applications/mod_signalwire'
make[3]: *** [mod_signalwire-all] Error 1
1970-06-13 11:38:26.704643 [ERR] sofia.c:3228 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
1970-06-13 11:38:26.704643 [ERR] sofia.c:3228 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
1970-06-13 11:38:31.704644 [ERR] sofia.c:3228 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
1970-06-13 11:38:31.704644 [ERR] sofia.c:3238 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.
1970-06-13 11:38:31.704644 [ERR] sofia.c:3228 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
1970-06-13 11:38:31.704644 [ERR] sofia.c:3238 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.
# 查看状态:
# 在 fs_cli 中输入 status
freeswitch@iZ8vbgfs3t229wkod1pn> status
UP 0 years, 0 days, 0 hours, 0 minutes, 19 seconds, 816 milliseconds, 207 microseconds
FreeSWITCH (Version 1.8.5 64bit) is ready
0 session(s) since startup
0 session(s) - peak 0, last 5min 0
0 session(s) per Sec out of max 30, peak 0, last 5min 0
1000 session(s) max
min idle cpu 0.00/99.87
Current Stack Size/Max 240K/8192K
# 在 fs_cli 中输入 sofia status
freeswitch@iZ8vbgfs3t229wkod1pn> sofia status
Name Type Data State
=================================================================================================
192.168.1.100 alias internal ALIASED
external profile sip:[email protected]:5080 RUNNING (0)
external::example.com gateway sip:[email protected] NOREG
internal profile sip:[email protected]:5060 RUNNING (0)
=================================================================================================
2 profiles 1 alias
文章评论
还没有评论,欢迎留下第一条回复。
登录 或 注册 后发表评论。