PAGI\DialDescriptor\DAHDIDialDescriptor

DAHDI Dial Descriptor class.

Constants

TECHNOLOGY

const TECHNOLOGY = 'DAHDI'

Properties

$identifier

protected string $identifier

Channel or group identifier.

  • Visibility: protected

$isGroup

protected boolean $isGroup

Is group identifier.

  • Visibility: protected

$descendantOrder

protected boolean $descendantOrder

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

  • Visibility: protected

$target

protected string $target

Target to dial.

  • Visibility: protected

Methods

getChannelDescriptor

string PAGI\DialDescriptor\DialDescriptor::getChannelDescriptor()

Get channel descriptor representation

getTechnology

string PAGI\DialDescriptor\DialDescriptor::getTechnology()

Get channel technology.

__construct

mixed PAGI\DialDescriptor\DAHDIDialDescriptor::__construct(string $target, integer $identifier, boolean $isGroup, $descendantOrder)

Class constructor.

  • Visibility: public

Arguments

  • $target string - <p>dial target</p>
  • $identifier integer - <p>channel/group identifier</p>
  • $isGroup boolean - <p>whether identifier refs a group</p>
  • $descendantOrder mixed

setGroup

void PAGI\DialDescriptor\DAHDIDialDescriptor::setGroup(integer $group)

Set group to use.

  • Visibility: public

Arguments

  • $group integer - <p>group of channels to use</p>

setChannel

void PAGI\DialDescriptor\DAHDIDialDescriptor::setChannel(integer $channel)

Set channel to use.

  • Visibility: public

Arguments

  • $channel integer - <p>channel to use</p>

setTarget

void PAGI\DialDescriptor\DialDescriptor::setTarget(string $target)

Set dial target.

Arguments

  • $target string - <p>dial target</p>