I am using asterisk's confbridge app for a service I am developing. I want to be able to run some dial plan commands when a user joins the conference. How can I do this?
I didn't find a simple answer. Since the confbridge command is synchronous, it only exits when the user hangs up or is kicked from the conference. I also read a little bit about local dialing, I can split the user's channel with a Dial command, one channel will execute the confbridge command and the other one will execute the dial plan I want. The problem is that I don't know how to synchronize them... I want the dialplan code to be executed only after the confbridge command was executed.