[asterisk-users] ConfBridge 1.6.20 user count

Danny Nicholas danny at debsinc.com
Wed Nov 9 12:47:19 CST 2011


10.0.beta2.  Have you tried confbridge(xxx,c)?  This joins and announces
count, but I don't know if it returns a variable.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of asterisk users
Sent: Wednesday, November 09, 2011 12:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] ConfBridge 1.6.20 user count

Unfortunately, that function doesn't seem to be in 1.6.20, which Asterisk
version are you using?

*CLI> core show function CONFBRIDGE_INFO No function by that name
registered.
Command 'core show function CONFBRIDGE_INFO' failed.


On Wed, Nov 9, 2011 at 12:24 PM, Danny Nicholas <danny at debsinc.com> wrote:
>
> What about this?
>
> asterisk -rx "core show function CONFBRIDGE_INFO"
>
>   -= Info about function 'CONFBRIDGE_INFO' =-
>
> [Synopsis]
>
> Get information about a ConfBridge conference.
>
> [Description]
>
> This function returns a non-negative integer for valid conference 
> identifiers
>
> (0 or 1 for 'locked') and "" for invalid conference identifiers.
>
> [Syntax]
>
> CONFBRIDGE_INFO(type,conf)
>
> [Arguments]
>
> type
>     Type can be 'parties', 'admins', 'marked', or 'locked'.
> conf
>     Conf refers to the name of the conference being referenced.
>
> Guess the developers of confbridge didn’t want to duplicate the
meetme_count function?
>
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of asterisk 
> users
> Sent: Wednesday, November 09, 2011 11:10 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] ConfBridge 1.6.20 user count
>
>
>
> Hi all,
>
> I'm using ConfBridge within Asterisk 1.6.20 and want to record the
conference, so I'd like to start the recording when the second user joins,
so in the example below, for example, how can I get the current user count
in ConfBridge 3000?
>
> [conferences]
> ;authenticated conference (ext C-O-N-F = 2663) exten => 2663,1,Answer 
> same => n,Wait(1) same => n,Authenticate(143382)
>
> ;Record conference callscount: ${count} --) same => 
> n,Set(MONITOR_EXEC=/etc/asterisk/monitor_exec.sh)
> same => n,Set(DATETIME=${STRFTIME(${EPOCH},,%C%y-%m%d-%H%M)})
> same =>
n,ExecIf($[${count}=2]?Monitor(wav,conf-${CALLERID(num)}-${DATETIME},bm))  
<-- count?
>
> same => n(conf),ConfBridge(3000,Ms)
> same => n,Playback(goodbye)
> same => n,Hangup
>
> Thanks for any ideas!
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list