PAGI\DialDescriptor\LocalDialDescriptor

SIP Dial Descriptor class.

Constants

TECHNOLOGY

const TECHNOLOGY = 'LOCAL'

Properties

$target

protected string $target

Target to dial.

  • Visibility: protected

Methods

getTechnology

string PAGI\DialDescriptor\DialDescriptor::getTechnology()

Get channel technology.

getChannelDescriptor

string PAGI\DialDescriptor\DialDescriptor::getChannelDescriptor()

Get channel descriptor representation

__construct

mixed PAGI\DialDescriptor\LocalDialDescriptor::__construct(string $context, string $extension)

constructor.

  • Visibility: public

Arguments

  • $context string - <p>The asterisk context</p>
  • $extension string - <p>The asterisk extension</p>

setTarget

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

Set dial target.

Arguments

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