Solution: /usr/bin/screen -dmS pjsua /usr/local/bin/pjsua --config /etc/pjsua.conf 14.05.2015, 18:36, "Andrey Anopov" <andrey2509 at yandex.ru>: > Hello! > I need to run pjsua on server (without ?human, for remote microphone listening and speak 1 way ) with auto-answer option in startup script like /etc/rc.local. > It doesn't work in background. > I read old message http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2007-September/000082.html with same problem, and solution was: > =========== > That's because of stdin reading by pjsua. Have a look at > pjsua_app.c, and disable the call to console_app_main() (replace it > with "while (1) sleep(1000);" or something like that). > > =========== > I think this solution was for old version pjsua, can you help me to patch current version pjsua_app.c (2.4) ? > My system is debian x64. > > Thank you! > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org