/** * Access agi client to set the variable. * * @param string $name Variable name * @param string $value Value */ protected function setCDRVariable($name, $value) { $this->client->setVariable(sprint('CDR(%s)', $name), $value); }
/** * {@inheritdoc} */ public function dtmf($message) { $this->client->log($message, self::PRIORIT_DTMF); }
/** * Registers a new node in the application. Returns the created node. * * @param string $name The node to be registered * * @return Node */ public function register($name) { $node = $this->client->createNode($name); $this->nodes[$name] = $node; return $node; }