<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi, I sent the requested information. I always get this responde:</div><div class=""><div class="">Response: Success</div><div class="">Message: Timeout Set</div></div><div class="">But keep the old timeout, interestingly, decreasing the timeout works perfectly. The problem is increasing.</div><br class=""><blockquote type="cite" class="">Which verson?<br class=""></blockquote>Version <span style="font-family: Menlo; background-color: rgb(255, 255, 255);" class="">Asterisk 1.8.32.</span><br class=""><br class=""><blockquote type="cite" class=""><br class="">Show us what command you are sending?<br class=""></blockquote><div style="font-family: Menlo, Monaco, "Courier New", monospace; line-height: 27px; white-space: pre;" class="">$this->setTimeout($chan, $timeout);</div><div style="font-family: Menlo, Monaco, "Courier New", monospace; line-height: 27px; white-space: pre;" class=""><br class=""></div><div style="font-family: Menlo, Monaco, "Courier New", monospace; line-height: 27px; white-space: pre;" class=""><div style="line-height: 27px;" class=""><div class="">public function setTimeout($channel, $timeout){</div><div class=""> $this->_checkSocket();</div><div class=""> $command = "Action: AbsoluteTimeout\r\nChannel: $channel\r\nTimeout: $timeout\r\n";</div><div class=""> $response = $this->_sendCommand($command."\r\n");</div><div class=""> return $response;</div><div class="">}</div><div class=""><div style="line-height: 27px;" class=""><div class="">private function _sendCommand($command)</div><div class=""> {</div><div class=""> if (!fwrite($this->_socket, $command)) {</div><div class=""> throw new Net_AsteriskManagerException(</div><div class=""> Net_AsteriskManagerException::CMDSENDERR</div><div class=""> );</div><div class=""> }</div><div class=""> $response = stream_get_contents($this->_socket);</div><div class=""> if ($response == false) {</div><div class=""> throw new Net_AsteriskManagerException(</div><div class=""> Net_AsteriskManagerException::RESPERR</div><div class=""> );</div><div class=""> }</div><div class=""> return $response;</div><div class=""> }</div><div class=""><br class=""></div><div class="">Thanks again</div><div class=""><br class=""></div></div></div></div></div></body></html>