src/PAGI/Node/NodeActionCommand.php
public function hangup($cause)
    {
        $this->action = self::NODE_ACTION_HANGUP;
        $this->data['hangupCause'] = $cause;
        return $this;
    }
public function hangup($cause)
    {
        $this->action = self::NODE_ACTION_HANGUP;
        $this->data['hangupCause'] = $cause;
        return $this;
    }
public function hangup ( $ cause ) { $ this -> action = self :: NODE_ACTION_HANGUP ; $ this -> data [ 'hangupCause' ] = $ cause ; return $ this ; }
As an action, hangup the call with the given cause.

@param integer $cause

@return \PAGI\Node\NodeActionCommand
As an action hangup the call with the given cause .