PAMI\Client\Impl\Test_Actions::can_hangup_with_cause PHP Method

can_hangup_with_cause() public method

    public function can_hangup_with_cause()
    {
        $write = array(implode("\r\n", array('action: Hangup', 'actionid: 1432.123', 'channel: channel', 'cause: 5', '')));
        $action = new \PAMI\Message\Action\HangupAction('channel', 5);
        $client = $this->_start($write, $action);
    }
Test_Actions