Freeswitch hangs upon startup
Freeswitch is started normally. For example, as follows:
But the process appears to hang as follows:
2010-03-16 17:20:11.12759 [INFO] switch_event.c:565 Activate Eventing Engine. 2010-03-16 17:20:11.17938 [DEBUG] switch_event.c:553 Create event dispatch thread 0 2010-03-16 17:20:12.319284 [INFO] switch_nat.c:392 Scanning for NAT 2010-03-16 17:20:12.320055 [DEBUG] switch_nat.c:152 Checking for PMP 1/5 2010-03-16 17:20:12.321667 [ERR] switch_nat.c:183 Error checking for PMP [general error] 2010-03-16 17:20:12.321865 [DEBUG] switch_nat.c:397 Checking for UPnP 2010-03-16 17:20:25.576162 [DEBUG] switch_nat.c:106 No InternetGatewayDevice, using first entry as default. 2010-03-16 17:20:28.987593 [INFO] switch_nat.c:411 No PMP or UPnP NAT detected! 2010-03-16 17:20:28.990330 [INFO] switch_core_sqldb.c:538 Opening DB 2010-03-16 17:20:29.10009 [NOTICE] switch_scheduler.c:166 Starting task thread 2010-03-16 17:20:29.155268 [DEBUG] switch_scheduler.c:214 Added task 1 heartbeat (core) to run at 1268760029
10 freeswitch processes appear to have been started in the process list but there is no indication of real functionality (registrations, fs_cli connection, calls, etc)
It has been observed that sometimes the process starts completely and functions normally. If there is any need to restart the process then it risks to hang as above.
I have not been able to observe a pattern to the hang. It appears that sometimes the process can be started successfully after some unknown period of time or by going to a different console.
No message have been found in logs re: this problem.
(from redmine: issue id 327, created on 2010-03-16, closed on 2010-06-15)
main/freeswitch: use /dev/urandom instead of /dev/random fixes #327