[asterisk-users] ConfBridge 1.6.20 user count

asterisk users ast4774 at gmail.com
Wed Nov 9 11:09:45 CST 2011


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111109/c29819f1/attachment.htm>


More information about the asterisk-users mailing list