Folks,
our VOIP engine - phApi support various environment variables for
tuning/testing/debugging
here is a list with some explanations:
PH_DEBUG_LEVEL - value from 0 to 9 - enables/diable debu traces
PH_LOG_FILENAME - file name where the above trace will be written (by
default stdout)
PH_FORCE_AUDIO_DEVICE - overrides audio device specifed by GUI,
possible values:
pa: --- use devault PortAudio device
alsa: --- use default alsa device
oss: --- use default oss device
winmm: -- use default windows device
ca: default CoreAudio device
PH_AUDIO_DEVICE - used when GUI does not specify an audio device --
same format as above
PH_USE_RECORDER - if not zero will will actiave recoding of audio
sessions on 3 channel 16bit PCM
file:
Chan 1 : -- speaker output
Chan 2 : -- mic input
Chan 3: --- mic input after echo cancellation
PH_RECORD_FILE - name pattern for the audio recording file (default:
"recording"):
each session will be recoreded in the file generated by:
extern int session_nr;
char name[256];
sprintf(name, "%s%d.sw", getenv("PH_RECORDE_FILE"), ++session_nr);
PH_ECHO_LENGTH:
length of the echo cancellation filter (in milliseconds)
PH_ECHO_LATENCY:
the time it takes to audio driver to output an audio sample to the
speaker in miliseconds
this value is used to tune echo canceller
PH_PA_LATENCY:
when using portaudio, this value will be used to speicfy audio
channel latency in miliseconds
PH_CODEC_PATH:
where to search loadable codec modules by default "./"
EXOSIP_SUBSCRIBE_TIMEOUT: in seconds default value: 300
the timeout value sent in SIP SUBSCRIBE requests
Thanks
Vadim
P.S. Julien, i think it should be on Wiki too
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel