PHP Class PAGI\DialDescriptor\DAHDIDialDescriptor

Author: Agustín Gutiérrez ([email protected])
Inheritance: extends DialDescriptor
Datei anzeigen Open project: marcelog/pagi

Protected Properties

Property Type Description
$descendantOrder boolean In case of dialing via a group, this will use g or G so asterisk selects the outgoing channel in asc or desc order.
$identifier string Channel or group identifier.
$isGroup boolean Is group identifier.

Public Methods

Method Description
__construct ( string $target, integer $identifier, boolean $isGroup = true, $descendantOrder = true ) Class constructor.
getChannelDescriptor ( ) (non-PHPdoc)
getTechnology ( ) (non-PHPdoc)
setChannel ( integer $channel ) : void Set channel to use.
setGroup ( integer $group ) : void Set group to use.

Method Details

__construct() public method

Class constructor.
public __construct ( string $target, integer $identifier, boolean $isGroup = true, $descendantOrder = true )
$target string dial target
$identifier integer channel/group identifier
$isGroup boolean whether identifier refs a group

getChannelDescriptor() public method

(non-PHPdoc)
See also: DialDescriptor::getChannelDescriptor()

getTechnology() public method

(non-PHPdoc)
See also: DialDescriptor::getTechnology()
public getTechnology ( )

setChannel() public method

Set channel to use.
public setChannel ( integer $channel ) : void
$channel integer channel to use
return void

setGroup() public method

Set group to use.
public setGroup ( integer $group ) : void
$group integer group of channels to use
return void

Property Details

$descendantOrder protected_oe property

In case of dialing via a group, this will use g or G so asterisk selects the outgoing channel in asc or desc order.
protected bool $descendantOrder
return boolean

$identifier protected_oe property

Channel or group identifier.
protected string $identifier
return string

$isGroup protected_oe property

Is group identifier.
protected bool $isGroup
return boolean