How to run pjsua in the background?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux