new_AsteriskManager: failure when accessing a private member
Brought to you by:
masham
the following function fails because pagi is private.
to my opinion we need to change it to public or add a setter.
function &new_AsteriskManager()
{
$this->asm = new AGI_AsteriskManager(NULL, $this->config);
$this->asm->pagi =& $this; // <-- problem here
$this->config =& $this->asm->config;
return $this->asm;
}