OK, Speex 1.1.10-1 is in unstable, and has a configurable VAD. However, it uses integer percentage to configure rather than float values. So the attached applied to iaxclient/lib/audio_encode.c would allow use of the system libspeex.
I haven't yet tracked down the changes necessary to have iaxclient build with a system libspeex rather than its own copy yet, so until I get around to it, I'll put this in the BTS and reassign the bug to iaxclient. -Maitland enc:
--- audio_encode.c.orig 2005-10-17 18:30:29.560216782 -0400 +++ audio_encode.c 2005-10-17 18:31:19.920234003 -0400 @@ -86,7 +86,6 @@ void iaxc_set_speex_filters() { int i; - float f; if(!st) return; @@ -98,10 +97,10 @@ speex_preprocess_ctl(st, SPEEX_PREPROCESS_SET_DENOISE, &i); /* make vad more sensitive */ - f=0.30f; - speex_preprocess_ctl(st, SPEEX_PREPROCESS_SET_PROB_START, &f); - f=0.07f; - speex_preprocess_ctl(st, SPEEX_PREPROCESS_SET_PROB_CONTINUE, &f); + i=30; + speex_preprocess_ctl(st, SPEEX_PREPROCESS_SET_PROB_START, &i); + i=7; + speex_preprocess_ctl(st, SPEEX_PREPROCESS_SET_PROB_CONTINUE, &i); } static void calculate_level(short *audio, int len, double *level) {