Conference Setting via AGI

Can someone please tell me the syntax to send via AGI to perform this function:


Im writing directly to stdout like:

fprintf(astsend, “%s\n”, cmd);

Using PHPAGI you can use set set_variable
Sets a variable to the specified value. The variables so created can later be used by later using ${} in the dialplan.

take a look to

So I understand how to do SET VARIABLE I just dont quite understand the syntax in this case…

SET VARIABLE “CONFBRIDGE(talk,music_on_hold_when_empty)” “no” ? :slight_smile:

The syntax is SET VARIABLE , anyway I havent test it with CONFBRIDGE function and I reading the documentation I dont think it will work directly from AGI using set, I might be wrong so I suggest you do more research and test

1 Like