[asterisk-users] ConfBridge details

Jeremy Kister asterisk-02 at jeremykister.com
Mon Jan 23 14:53:43 CST 2012


running Asterisk 1.8.9.0-rc2, what are the ways to interface with 
ConfBridge ?

I see the CLI command 'confbridge' documented for asterisk 10, but i 
dont see how to interface with confbridge on 1.8

What I'm trying to do is keep track of conferences that are used.

I tried something like the below, but not only does Confbridge not 
return, but i'd need something that erases the database entry after the 
conference is empty, not after 1 particular user leaves.


[macro-confbridge-setup]
exten => s,1,Set(NUM=$[0${NUM} + 1]);
exten => s,n,Set(CONFNO=99${NUM})
exten => s,n,GotoIf(${DB_EXISTS(confbridge:${CONFNO})}?1)
exten => s,n,Set(DB(confbridge/${CONFNO})=1)


[foo]
exten => s,1,Macro(confbridge-setup)
exten => s,n,ConfBridge(${CONFNO})
exten => s,n,NoOp( ${DB_DELETE(confbridge/${CONFNO})} )


-- 

Jeremy Kister
http://jeremy.kister.net./



More information about the asterisk-users mailing list