chan-sccp / PAMI

Fork of PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc
http://marcelog.github.com/PAMI
Apache License 2.0
26 stars 21 forks source link

Wrong timeout description #17

Closed xeonchik closed 3 years ago

xeonchik commented 3 years ago

In a code we have a variable rTimeout

/**
     * R/W timeout, in milliseconds.
     * @var integer
     */
    private $rTimeout;

But by the code, it used in function stream_set_timeout($this->socket, $this->rTimeout); as seconds, but in description it is milliseconds. So it is a good chance to make that timeout very long :)

dkgroot commented 3 years ago

Will be fixed in a minute or two. Thanks for reporting this.