[asterisk-users] Impromptu conferencing

Brandon B. brandon at brellsystems.com
Mon Dec 3 10:49:48 CST 2012


On Mon, Dec 3, 2012 at 1:09 AM, martin f krafft <madduck at madduck.net> wrote:

> also sprach Brandon B. <brandon at brellsystems.com> [2012.12.03.0132 +0100]:
> > [all-inbound-for-999]
> > ; inbound extension through a conference room
> > exten => 999,1,MeetMeCount(999,COUNT-999);
> > exten => 999,2,GotoIf($["${COUNT-999}">="1"]?10);
> > exten => 999,3,Dial(SIP/99,999,G(6));
> > exten => 999,4,Hangup;
> > exten => 999,6,MeetMe(999,FAqx);
> > exten => 999,7,MeetMe(999,Fqx);
> >
> > ; bypass the conference room for multiple inbound calls
> > exten => 999,10,Dial(SIP/999);
>
> This is an interesting approach, but I am still not sure how to add
> the third party. Sure, I can call them up and tell them to dial
> a number, but I'd really rather be able to just "switch them in".
>

The third party has to dial into the system at some point. You can only
switch in existing calls, so your idea is nonsense to me because you
haven't specified how else the third party is in or gets a channel into the
system.

The simplest solution would be to have the third party dial into or be
connected into conference room 999. The first two parties are already in
the conference. The conference room 999 could be available by dialling 8999:

[call-to-conference-room-999]
exten => 8999,1,MeetMeCount(999,COUNT-999);
exten => 8999,2,GotoIf($["${COUNT-999}"="0"]?10);
exten => 8999,3,MeetMe(999,Fqx);

exten => 8999,10,Hangup;

Anybody who can dial 8999 in the above context will join the conference.

What would need to be done for a user to e.g. suspend the
> conference, dial another number and finally merge the channels?
>

Suspending the conference would mean that phone 999 puts the call on hold,
and then does one of the following: (a) dials a third party and then
transfers the connected third party call into the conference room, (b) uses
the conference feature of their phone to connect a third party to their
channel already in the conference room or (c) invites a third party to dial
a number which connects them to conference room 999.

Do I need the manager API for that, like this:
>
>
> http://www.voip-info.org/wiki/view/Asterisk+cmd+MeetMe#Mergingconferences
>

Sure, that will work in theory.

Look into the Bridge command which is available inside a dialplan using
extensions.conf. You can take a call which will end up in a conference room
and before that call joins the conference room it will find* other calls in
the system meant to be in the conference room, bridge those other calls
into a conference room, and finally join the conference room. In this case
the third party call initiates the conference. Alternatively, in the
example above, the conference room always is used so the third party just
needs to join it.

Good Luck.

* finding calls is not possible unless you make them findable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121203/ee967fe6/attachment.htm>


More information about the asterisk-users mailing list