Asterisk and voice conference

66 views
Skip to first unread message

SuperDuG

unread,
Feb 24, 2010, 6:35:16 PM2/24/10
to BigBlueButton-dev
I am unable to start voice conferencing. I was able to before the
upgrade to 0.63 and just found out about it earlier today as no one
had been apparently trying to use it.

I have provided what I thought was relevant information below. Ubuntu
9.10 32-bit server edition

dpkg -l | grep bbb
ii bbb-apps
0.63.0ubuntu52 BigBlueButton applications for Red5
ii bbb-apps-deskshare
0.63.0ubuntu1 BigBlueButton deskshare module for
Red5
ii bbb-apps-sip
0.63.0ubuntu27 BigBlueButton SIP module for Red5
ii bbb-apps-video
0.63.0ubuntu2 BigBlueButton video module for Red5
ii bbb-client
0.63.0ubuntu263 BigBlueButton Flash client
ii bbb-common
0.63.0ubuntu122 BigBlueButton common files
ii bbb-config
0.63.0ubuntu1 BigBlueButton group package
ii bbb-openoffice-headless
0.63.0ubuntu10 BigBlueButton wrapper for OpenOffice
ii bbb-voice-conference
0.63.0ubuntu41 BigBlueButton voice conference files
ii bbb-web
0.63.0ubuntu152 BigBlueButton web interface
ii bigbluebutton
0.63.0ubuntu1 Open Source Web Conferencing System
(bbb)

dpkg -l | grep asterisk
ii asterisk
1:1.6.2.0~rc2-0ubuntu1.2 Open Source Private Branch Exchange
(PBX)
ii asterisk-config
1:1.6.2.0~rc2-0ubuntu1.2 Configuration files for Asterisk
ii asterisk-mp3
1.6.2.0~rc1-1~ubuntu1 MP3 format support (format_mp3) for
the Asterisk
ii asterisk-sounds-extra
1.4.9-1 Additional sound files for the
Asterisk PBX
ii asterisk-sounds-main
1:1.6.2.0~rc2-0ubuntu1.2 Core Sound files for Asterisk
(English)

dpkg -l | grep dahdi
ii dahdi
1:2.2.0-1ubuntu1 utilities for using the DAHDI kernel
modules
ii dahdi-dkms
1:2.2.0.2~dfsg-1ubuntu2 DAHDI telephony interface (dkms
kernel driver)
ii dahdi-linux
1:2.2.0.2~dfsg-1ubuntu2 DAHDI telephony interface - Linux
userspace parts
ii dahdi-source
1:2.2.0.2~dfsg-1ubuntu2 DAHDI telephony interface - source
code for kerne

Repeating error in /var/log/asterisk/messages

[Feb 24 17:22:38] NOTICE[7689] chan_sip.c: Call from '3020' to
extension '85455' rejected because extension not found.
[Feb 24 17:22:40] NOTICE[7689] chan_sip.c: Peer '3022' is now
Reachable. (2ms / 2000ms)
[Feb 24 17:22:40] NOTICE[7689] chan_sip.c: Call from '3022' to
extension '85455' rejected because extension not found.
[Feb 24 17:22:41] NOTICE[7689] chan_sip.c: Peer '3023' is now
Reachable. (2ms / 2000ms)
[Feb 24 17:22:41] NOTICE[7689] chan_sip.c: Call from '3023' to
extension '85455' rejected because extension not found.


bbb_extensions.conf


; BigBlueButton extensions.
; In your /etc/asterisk/extensions.conf, add the following line at the
end
; of the file
; #include "bbb_extensions.conf"
;
; BigBlueButton: Setup sample conference
[bigbluebutton]
exten => _.,1,Goto(start-dialplan,s,1)
exten => _.,n,Hangup

[start-dialplan]
exten => s,1,Set(TRIES=1)
exten => s,n,Wait(2)
exten => s,n,Answer
exten => s,n,Goto(prompt,s,1)

[prompt]
exten => s,1,Read(CONF_NUM,conf-getconfno,6,,3,10)
exten => s,n,Goto(bbb-conference,${CONF_NUM},1)

; No need to check if conference is valid as they won't be able to
login
; if the conference is invalid.
;
[bbb-voip]
exten => _XXXXX.,1,Playback(conf-placeintoconf)
# exten => _XXXXX.,n,MeetMe(${EXTEN},cdMsT)
exten => _XXXXX.,n,Konference(${EXTEN},H)

[bbb-conference]
include => echo-test

exten => _XXXXX.,1,Agi(agi://localhost/findConference?conference=$
{EXTEN})
exten => _XXXXX.,n,GotoIf($[${EXTEN} = ${CONFERENCE_FOUND}]?
valid:invalid)
exten => _XXXXX.,n(valid),Playback(conf-placeintoconf)
# exten => _XXXXX.,n,MeetMe(${CONFERENCE_FOUND},cdMsT)
exten => _XXXXX.,n,Konference(${CONFERENCE_FOUND},H)
exten => _XXXXX.,n(invalid),Goto(handle-invalid-conference,s,1)

[handle-invalid-conference]
exten => s,1,Playback(conf-invalid)
exten => s,n,GotoIf($[${TRIES} < 3]?try-again:do-not-try-again)
exten => s,n(try-again),Set(TRIES=$[${TRIES} + 1])
exten => s,n,Goto(prompt,s,1)
exten => s,n(do-not-try-again),Hangup

[echo-test]
;
; Create an extension, 600, for evaluating echo latency.
;
exten => 600,1,Answer ; Do the echo test
exten => 600,n,Playback(demo-echotest) ; Let them know what's going
on
exten => 600,n,Echo ; Do the echo test
exten => 600,n,Playback(demo-echodone) ; Let them know it's over
exten => 600,n,Goto(s,6) ; Start over


app_konference installed

ls -l /usr/lib/asterisk/modules/app_konference.so
-rwxr-xr-x 1 root root 244553 2010-01-25 15:56 /usr/lib/asterisk/
modules/app_konference.so


asterisk modules.conf (last few lines)

;
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
load => app_konference.so


last line of sip.conf

#include "bbb_sip.conf"


last line of extensions.conf

#include "bbb_extensions.conf"

ls -l /etc/asterisk/bbb*
-rw-r--r-- 1 asterisk asterisk 1797 2010-02-24 17:07 /etc/asterisk/
bbb_extensions.conf
-rw-r--r-- 1 asterisk asterisk 4168 2010-01-19 15:08 /etc/asterisk/
bbb_sip.conf

bbb_sip.conf (last few entries)

[3027]
type=friend
username=3027
insecure=very
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=bbb-voip
disallow=all
allow=ulaw

[3028]
type=friend
username=3028
insecure=very
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=bbb-voip
disallow=all
allow=ulaw

[3029]
type=friend
username=3029
insecure=very
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=bbb-voip
disallow=all
allow=ulaw

Jeremy Thomerson

unread,
Feb 24, 2010, 6:41:59 PM2/24/10
to bigblueb...@googlegroups.com
There are known issues with Ubuntu 9.10.  Can you use 9.04?

Jeremy Thomerson






--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.


Doug "superdug" Smith

unread,
Feb 24, 2010, 6:46:33 PM2/24/10
to bigblueb...@googlegroups.com
Okay, so I'm a bonehead ... changed the bbb_extension.conf from XXXXX to XXXX

Now the error is::

[Feb 24 17:44:14] NOTICE[9587] chan_sip.c: Peer '3024' is now Reachable. (3ms / 2000ms)
[Feb 24 17:44:17] WARNING[9700] pbx.c: No application 'Konference' for extension (bbb-voip, 85432, 2)


as for downgrading, I would very much rather not.  I'm not opposed to 10.04 pre-release, but physically reverting to 9.04 isn't an option I'd like to explore right now

Jeremy Thomerson

unread,
Feb 24, 2010, 6:53:04 PM2/24/10
to bigblueb...@googlegroups.com
To fix the "konference" error, you need to install our fork of AppKonference.  You can download the latest code at http://github.com/jthomerson/AsteriskAudioKonf but I think the version that is included with BBB 0.63 is tagged correctly at http://github.com/jthomerson/AsteriskAudioKonf/tarball/bbb_v0.63

Assuming you have GCC and company installed, you should be able to untar that file and cd into konference, run "make && make install" and be done (after restarting Asterisk).

Jeremy Thomerson

Doug "superdug" Smith

unread,
Feb 24, 2010, 7:12:05 PM2/24/10
to bigblueb...@googlegroups.com
That worked swimmingly ... and hints as to how I turn off the hold music? :-)

Jeremy Thomerson

unread,
Feb 24, 2010, 7:29:33 PM2/24/10
to bigblueb...@googlegroups.com
I suspect it's as easy as changing the dial plan options where you find the "konference" application.  Reference for application option flags is here:
http://github.com/jthomerson/AsteriskAudioKonf/blob/master/konference/Dialplan.txt

Jeremy

Fred Dixon

unread,
Feb 24, 2010, 11:07:15 PM2/24/10
to BigBlueButton-dev
Hi Doug,

If you remove the .ulaw files from

/var/lib/asterisk/moh/

it will remove the music on hold.

Regards,... Fred

On Feb 24, 7:29 pm, Jeremy Thomerson <jeremythomer...@gmail.com>
wrote:


> I suspect it's as easy as changing the dial plan options where you find the

> "konference" application.  Reference for application option flags is here:http://github.com/jthomerson/AsteriskAudioKonf/blob/master/konference...


>
> Jeremy
>
> On Wed, Feb 24, 2010 at 6:12 PM, Doug "superdug" Smith

> <super...@gmail.com>wrote:


>
>
>
> >  That worked swimmingly ... and hints as to how I turn off the hold music?
> > :-)
>
> > On 2/24/2010 5:53 PM, Jeremy Thomerson wrote:
>
> > To fix the "konference" error, you need to install our fork of
> > AppKonference.  You can download the latest code at

> >http://github.com/jthomerson/AsteriskAudioKonfbut I think the version


> > that is included with BBB 0.63 is tagged correctly at
> >http://github.com/jthomerson/AsteriskAudioKonf/tarball/bbb_v0.63
>
> > Assuming you have GCC and company installed, you should be able to untar
> > that file and cd into konference, run "make && make install" and be done
> > (after restarting Asterisk).
>
> > Jeremy Thomerson
>

> > On Wed, Feb 24, 2010 at 5:46 PM, Doug "superdug" Smith <super...@gmail.com


> > > wrote:
>
> >> Okay, so I'm a bonehead ... changed the bbb_extension.conf from XXXXX to
> >> XXXX
>
> >> Now the error is::
>
> >> [Feb 24 17:44:14] NOTICE[9587] chan_sip.c: Peer '3024' is now Reachable.
> >> (3ms / 2000ms)
> >> [Feb 24 17:44:17] WARNING[9700] pbx.c: No application 'Konference' for
> >> extension (bbb-voip, 85432, 2)
>
> >> as for downgrading, I would very much rather not.  I'm not opposed to
> >> 10.04 pre-release, but physically reverting to 9.04 isn't an option I'd like
> >> to explore right now
>
> >> On 2/24/2010 5:41 PM, Jeremy Thomerson wrote:
>
> >>  There are known issues with Ubuntu 9.10.  Can you use 9.04?
>
> >> Jeremy Thomerson
>

> >>> bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>


> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "BigBlueButton-dev" group.
> >> To post to this group, send email to bigblueb...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> bigbluebutton-...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> >>  --
> >>  You received this message because you are subscribed to the Google
> >> Groups "BigBlueButton-dev" group.
> >> To post to this group, send email to bigblueb...@googlegroups.com.
> >> To unsubscribe from this group, send email to

> >> bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>


> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "BigBlueButton-dev" group.
> > To post to this group, send email to bigblueb...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > bigbluebutton-...@googlegroups.com.
> > For more options, visit this group at
>

> ...
>
> read more »

Doug "superdug" Smith

unread,
Feb 24, 2010, 11:12:22 PM2/24/10
to bigblueb...@googlegroups.com
Actually Jeremy's response explained it

in my bbb_extensions.conf Konference is called with the dialplan
argument of H ... which is set to have hold music until there are n+1
participants in the conference.

It's working exactly as designed!

Thanks for the help everyone!

On 2/24/2010 10:07 PM, Fred Dixon wrote:
> Hi Doug,
>
> If you remove the .ulaw files from
>
> /var/lib/asterisk/moh/
>
> it will remove the music on hold.
>
> Regards,... Fred
>
> On Feb 24, 7:29 pm, Jeremy Thomerson<jeremythomer...@gmail.com>
> wrote:
>
>> I suspect it's as easy as changing the dial plan options where you find the
>> "konference" application. Reference for application option flags is here:http://github.com/jthomerson/AsteriskAudioKonf/blob/master/konference...
>>
>> Jeremy
>>
>> On Wed, Feb 24, 2010 at 6:12 PM, Doug "superdug" Smith
>> <super...@gmail.com>wrote:
>>
>>
>>
>>
>>> That worked swimmingly ... and hints as to how I turn off the hold music?
>>> :-)
>>>
>>
>>> On 2/24/2010 5:53 PM, Jeremy Thomerson wrote:
>>>
>>
>>> To fix the "konference" error, you need to install our fork of
>>> AppKonference. You can download the latest code at
>>> http://github.com/jthomerson/AsteriskAudioKonfbut I think the version
>>> that is included with BBB 0.63 is tagged correctly at
>>> http://github.com/jthomerson/AsteriskAudioKonf/tarball/bbb_v0.63
>>>
>>
>>> Assuming you have GCC and company installed, you should be able to untar

>>> that file and cd into konference, run "make&& make install" and be done

>> read more �
>>
>

Jeremy Thomerson

unread,
Feb 24, 2010, 11:30:48 PM2/24/10
to bigblueb...@googlegroups.com
Removing the MOH is a bad idea for where this may be integrated with other telephony systems.  But if all you're using the server for is BBB and you want absolutely no MOH, you can do that.  Removing the flag gives you more future flexibility.

Two ways to accomplish the same thing.

Jeremy

Fred Dixon

unread,
Feb 24, 2010, 11:48:44 PM2/24/10
to BigBlueButton-dev
I like Jeremy's solution better :-).

Regards,... Fred

On Feb 24, 11:30 pm, Jeremy Thomerson <jeremythomer...@gmail.com>
wrote:

> > > >http://github.com/jthomerson/AsteriskAudioKonfbutI think the version

> ...
>
> read more »

Reply all
Reply to author
Forward
0 new messages