On Sep 23, 2004, at 8:10 AM, Tom Ivar Helbekkmo wrote:

Steve Kann <[EMAIL PROTECTED]> writes:

I don't think it's in the Wiki, and it's not really documented;

Could you offer a very, very brief introduction? I've figured out, through trial and error, that it takes a call to Conference(somename) in an extension to create or join a conference, but I can't get anyone connected in any other state than "listener", and there is no sound. Am I missing a parameter, a configuration file, or what...?

This was what I wrote on the iaxclient list previously:

the param string that is passed to app_conference is of this form:

<conference_id>/<user_flags>/<priority>/<vad_prob_start>/ <vad_prob_continue>

- 'conference_id' can be alphanumberic, i.e. MyConference or 1234567890

- 'user_flags' are:

// user type flags
M -> moderator, i.e. user can speak
L -> listener, i.e. user cannot speak
S -> sip, same as moderator for now
note: last flag in the string wins. so 'SLM' would make the user a moderator,
and 'MSL' would make the user a listener.


   // speex flags
   V -> sets SPEEX_PREPROCESS_SET_VAD flag
   D -> sets SPEEX_PREPROCESS_SET_DENOISE flag
   A ->    sets SPEEX_PREPROCESS_SET_AGC ( auto gain control ) flag

T -> user is calling from a telephone. used to enable speex preprocessing,
since iaxclient performs speex preprocessing on client side.


- 'priority' is not currently used.

- 'vad_prob_start' and 'vad_prob_continue' are optional and have DEFINE'd defaults.
vad_prob_start -> sets SPEEX_PREPROCESS_SET_PROB_START value
vad_prob_continue -> sets SPEEX_PREPROCESS_SET_PROB_CONTINUE value
note: these only work with the libspeex included with app_conference.
our patches to libspeex which support these flags are not yet in the published
libspeex code.



basically, there's no conf file, and you call it like this from extensions.conf:


; enter with VAD, as if it were a telephone call
exten => _77777,1,Playback(beep)
exten => _77777,2,Conference(TestConference/MTV/1);

; enter as a speaker, with no vad.
exten => _88888,1,Playback(beep)
exten => _88888,2,Conference(TestConference/M/1);

; enter as a listener.
exten => _99999,1,Playback(beep)
exten => _99999,2,Conference(TestConference/L/1);


If you're at astricon, look for me! (I'm wearing a bright orange Digium shirt today).


-SteveK

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to