错误日志如下:
1 9003 2016-10-06 13:18:27.223464 [ERR] switch_core_file.c:260 Invalid file format [wav] for [/usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav]! 2 9004 2016-10-06 13:18:27.223464 [ERR] mod_local_stream.c:354 Can't open /usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav
从日志上看,就是无法读取wav格式的文件。
可是哪个模块关联的wav文件格式的读取呢?
从头看启动日志:
1 8781 2016-10-06 13:17:49.145175 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_sndfile.so 2 8782 **libgsm.so.1: cannot open shared object file: No such file or directory**
原因找到了,mod_sndfile模块缺少关联库文件。
执行ldd mod_sndfile,结果如下:
1 libfreebl3.so => /lib64/libfreebl3.so (0x00007f1af3a0e000) 2 libgsm.so.1 => not found 3 libFLAC.so.8 => not found 4 libvorbisenc.so.2 => not found 5 libvorbis.so.0 => not found 6 libogg.so.0 => not found 7 libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f1af3802000)
一个一个补充吧。
标签:读取,file,found,FreeSWITCH,wav,local,mod From: https://www.cnblogs.com/kn-zheng/p/17025038.html