Re: [asterisk-users] asterisk-users Digest, Vol 167, Issue 21
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
[asterisk-users] Increasing timeout before ending call from AMI
> Hi guys, I sent a dial to asterisk with a specific timeout, I want to > increase it for some users if it is approaching to the end, but when I send > AbsoluteTimeout action and change it timeout I get success but hangup at > initial timeout, other words, it doesn’t increase timeout. I am doing this > from AMI using telnet. > There is any solution for this? > Thanks for your help -- _ -- 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
Re: [asterisk-users] Increasing timeout before ending call from AMI
On Tuesday 31 July 2018 at 12:38:04, Raimundo Pérez Nieves wrote: > Hi guys, I sent a dial to asterisk Which verson? > with a specific timeout, I want to increase it for some users if it is > approaching to the end, but when I send AbsoluteTimeout action Show us what command you are sending? > and change it timeout I get success but hangup at initial timeout, other > words, it doesn’t increase timeout. I am doing this from AMI using telnet. > There is any solution for this? > Thanks for your help Regards, Antony. -- "In fact I wanted to be John Cleese and it took me some time to realise that the job was already taken." - Douglas Adams Please reply to the list; please *don't* CC me. -- _ -- 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
[asterisk-users] Increasing timeout before ending call from AMI
Hi guys, I sent a dial to asterisk with a specific timeout, I want to increase it for some users if it is approaching to the end, but when I send AbsoluteTimeout action and change it timeout I get success but hangup at initial timeout, other words, it doesn’t increase timeout. I am doing this from AMI using telnet. There is any solution for this? Thanks for your help-- _ -- 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