来源:https://stackoverflow.com/questions/12817232/how-do-i-call-a-local-softphone-on-freeswitch
error : Cannot lock pid file /usr/local/freeswitch/run/freeswitch.pid
This can be solved in linux(fedora/centos) by following below syntax
1)open terminal
2)press su (to move admin root)
3)enter password
apply the following command
4)netstat -npl
then it show all the ports runnning
find port running for freeswitch ex: tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 708/freeswitch
5)fuser -k 708/tcp use the number given in response ex:710
6)kill -9 710
也可以使用top命令来查看进程的pid