Hello,
Can someone please tell me the syntax to send via AGI to perform this function:
Set(CONFBRIDGE(talk,music_on_hold_when_empty)=no)
Im writing directly to stdout like:
fprintf(astsend, “%s\n”, cmd);
Hello,
Can someone please tell me the syntax to send via AGI to perform this function:
Set(CONFBRIDGE(talk,music_on_hold_when_empty)=no)
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 https://www.voip-info.org/wiki/view/set+variable
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” ? 
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