protected command ( string $packet, callable $cb, array $assertion = null ) | ||
$packet | string | A packet for sending by the connected client to Asterisk |
$cb | callable | Callback called when response received |
$assertion | array | If more events may follow as response this is a main part or full an action complete event indicating that all data has been sent |