Hi, I sent the requested information. I always get this responde:
Response: Success
Message: Timeout Set
But keep the old timeout, interestingly, decreasing the timeout works 
perfectly. The problem is increasing.

> Which verson?
Version Asterisk 1.8.32.

> 
> Show us what command you are sending?
$this->setTimeout($chan, $timeout);

public function setTimeout($channel, $timeout){
        $this->_checkSocket();
        $command = "Action: AbsoluteTimeout\r\nChannel: $channel\r\nTimeout: 
$timeout\r\n";
        $response = $this->_sendCommand($command."\r\n");
        return $response;
}
private function _sendCommand($command)
    {
        if (!fwrite($this->_socket, $command)) {
            throw new Net_AsteriskManagerException(
                Net_AsteriskManagerException::CMDSENDERR
            );
        }
        $response = stream_get_contents($this->_socket);
        if ($response == false) {
            throw new Net_AsteriskManagerException(
                Net_AsteriskManagerException::RESPERR
            );
        }
        return $response;
   }

Thanks again

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to