Метод |
Описание |
|
__construct ( PAGI\Client\Result\IResult $result ) : void |
Constructor. |
|
__toString ( ) |
(non-PHPdoc) |
|
getCause ( ) : string |
Returns the cause string. |
|
getStatus ( ) : string |
Returns the status string. |
|
isCauseGreeting ( ) : boolean |
True if AMD status is due to a long greeting detected. |
|
isCauseHuman ( ) : boolean |
True if AMD status is due to a silence after a greeting. |
|
isCauseInitialSilence ( ) : boolean |
True if AMD status is due to a silence duration. |
|
isCauseTooLong ( ) : boolean |
True if AMD status is due to a timeout when detecting. |
|
isCauseWordLength ( ) : boolean |
True if AMD status is due to a maximum number of words reached. |
|
isHangup ( ) : boolean |
True if AMD detected a hangup. |
|
isHuman ( ) : boolean |
True if AMD detected a human. |
|
isMachine ( ) : boolean |
True if AMD detected an answering machine. |
|
isNotSure ( ) : boolean |
True if AMD failed detecting an answering machine or human. |
|
setCause ( string $cause ) : void |
Sets the cause string |
|
setStatus ( $status ) : void |
Sets the cause string |
|