Hi everyone, Can someone post an example of how you read in a channel variable from asterisk through PHP. I tried the ones voip-info.org but none of them seem to work, or at least I am not doing something write, but I have no problem setting variables and other functions, just reading variables into my script. The variable I want to read in is a macro argument, and just to be safe, I assign it to a channel variable within the macro. Thanks, Kevin
> Can someone post an example of how you read in a channel variable from > asterisk through PHP. I tried the ones voip-info.org but none of them > seem to work, or at least I am not doing something write, but I have no > problem setting variables and other functions, just reading variables > into my script. The variable I want to read in is a macro argument, and > just to be safe, I assign it to a channel variable within the macro.Use phpagi : http://phpagi.sourceforge.net/ hth