liuzhe02 / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

Voice Conference Join/Leave Sounds on app_konference #425

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In changelog app_konference there is description that it support Conference
Join Sounds to the listener.
There are flags 'q' and 'i' in example configuration extensions.conf which
is able to record name before you joint to connference but is not play to
othere participant.
http://github.com/jthomerson/AsteriskAudioKonf/blob/master/examples/asterisk/ext
ensions.conf

What is the expected output? What do you see instead?
There is information who join / leave conference.

What version of the product are you using? On what operating system?
0.63

Original issue reported on code.google.com by artur.zd...@gmail.com on 19 Mar 2010 at 4:51

GoogleCodeExporter commented 9 years ago
I have been working with the guys from the App_Konference project to enhance 
the 
application.

Specifically the listener abilities & fault finding in the app_konference 
module.

I have made many changes to the listener application to match the functionality 
of 
app_meetme.
announce name, wait for moderator, * DTMF menu with options (*1 mute etc.)

I can work with BBB to add the options such as thumbs up from the DTMF menu etc.
Attached is the new join and leave sounds as well as an example of my 
listener.pl

Original comment by Clint.Da...@gmail.com on 24 Mar 2010 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago
Clint,
  Just as a note - on our fork of AppKonference, we have ported many features from 
MeetMe directly into AppKonference.  We do this because we do not want to run a 
separate perl script that must constantly be connected to enable features like 
join/leave sounds, dtmf menu, etc.

  See the fork and notice that it has DTMF menu like MeetMe - directly in the 
codebase.  We are happy to accept patches that accomplish things like this 
WITHOUT 
using a separate perl script.

Thanks!!

Jeremy Thomerson

Original comment by jeremyth...@gmail.com on 24 Mar 2010 at 6:10

GoogleCodeExporter commented 9 years ago
ClintJDavis thank you for wav files.
I wrote simple script in perl witch is using  Asterisk::AMI and it is executed 
in
dialplan by System() command. When someone join/leave - it connect by management
interface / get list of all participant on conference and send to each 
participant sound.
To use it you need to:
1) have perl Asterisk::AMI (in bash you put command # cpan / in cpan you wrote
"install Asterisk::AMI" and it will download and install AMI)
2) configure script with management details (username / secret)
3) script need to be located in /var/lib/asterisk/agi-bin/conference-announce 
and
have correct chmod 0755 / chown asterisk.
4) put to "/var/lib/asterisk/sounds/en/" and "/usr/share/asterisk/sounds/" sound
files (.ulaw / .alaw / .gsm)
5) change /etc/asterisk/bbb_extensions.conf
[bbb-voip]
exten => _XXXX.,1,Playback(conf-placeintoconf)
# exten => _XXXX.,n,MeetMe(${EXTEN},cdMsT)
exten => _XXXX.,2,System(/var/lib/asterisk/agi-bin/conference-announce ${EXTEN} 
join)
exten => _XXXX.,n,Konference(${EXTEN},H)

exten => h,1,System(/var/lib/asterisk/agi-bin/conference-announce ${EXTEN} 
leave)
exten => h,n,Hangup

[bbb-conference]
include => echo-test

exten => _.X,1,Agi(agi://localhost/findConference?conference=${EXTEN})
exten => _.X,n,GotoIf($[${EXTEN} = ${CONFERENCE_FOUND}]?valid:invalid)
exten => _.X,n(valid),Playback(conf-placeintoconf)
# exten => _.X,n,MeetMe(${CONFERENCE_FOUND},cdMsT)
exten => _.X,n,System(/var/lib/asterisk/agi-bin/conference-announce
${CONFERENCE_FOUND} join)
exten => _.X,n,Konference(${CONFERENCE_FOUND},H)
exten => _.X,n(invalid),Goto(handle-invalid-conference,s,1)

exten => h,1,System(/var/lib/asterisk/agi-bin/conference-announce 
${CONFERENCE_FOUND}
leave)
exten => h,n,Hangup

6) on asterisk cli # dialplan reload

For me it is forking / pls give me know if you will have some problems.

Of curse this is workaround. It would be nice to have join/leave sound in
app_konference flag.

Original comment by artur.zd...@gmail.com on 13 Apr 2010 at 8:00

Attachments:

GoogleCodeExporter commented 9 years ago
do you know if app_konference has a flag support join/leave sound in 1.5 ?

Original comment by yulongz...@gmail.com on 21 Sep 2010 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by ffdixon@gmail.com on 7 Feb 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Given our switch to FreeSWITCH over the past year, it's unlikely we'll revisit 
this enhancement.   Closing this issue.

Original comment by ffdixon@gmail.com on 28 Mar 2012 at 2:31