Dave,
you colud try --no-cli-console which disables CLI console, but
I'm not sure if it will exit after the call termination.
Andrey
On 25.10.2017 08:02, dave anderson
wrote:
How can I work around this, has anyone come across this in
pjsua:
"Cannot switch back to console from file redirection
"
which appears when I try to run pjsua in a background process. I
think it is when the app tries to freopen the console after doing
something else, but it fails when the app is not running in the
foreground.
Any ideas ?
Dave
On 17-10-24 05:27 PM, dave wrote:
When I make a call using pjsua using this sytnax
pjsua-x86_64-unknown-linux-gnu
--config-file ./config_file.txt sip:$phone_number@10.20.191.10
It works fine; makes the call and plays the .wav file as
defined in the config_file, however after the call it reverts
to waiting for intput for me to enter 'q' to quit. Is there a
way to call pjsua in such a way as to make a call and quit
automatically when done ?
Thanks
dave
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
|
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org