[pjsip] Anyone controlling PJSUA from a Visual .NET environment

Benny Prijono bennylp at pjsip.org
Tue Nov 6 19:29:50 EST 2007


Matti Zemack wrote:
> Hi all,
> 
> Is anyone sending commands and reading back the output from PJSUA using
> a Visual .NET program?
> (Using System::Diagnostics::Process...)

Mmm.. can you just probably redirect pjlib's logging output to your 
own function, which writes the log messages to .NET? You can install 
custom logging function with pj_log_set_log_func()

> I'm using Pjsua in a test environment and want to keep my programming
> absolutely flexible for the future.
> 
> (I've got some problems with the StandardOutput buffer getting full in
> the Visual C++. Any way to keep the output to a minimum from PJSUA?)

You can use --app-log-level command option.

cheers,
  -benny

> Thanks in advance,
> Matti Zemack, BBC






More information about the pjsip mailing list