PAGI\CallerId\Impl\CallerIdFacade

AGI Caller id facade.

PHP Version 5

Properties

$client

private \PAGI\Client\IClient $client

Instance of client to access caller id variables.

  • Visibility: private

Methods

setANI

void PAGI\CallerId\ICallerId::setANI(string $value)

Sets caller id ani. CALLERID(ani).

Arguments

  • $value string - <p>ANI.</p>

getANI

string PAGI\CallerId\ICallerId::getANI()

Returns caller id ani. CALLERID(ani)

setDNID

void PAGI\CallerId\ICallerId::setDNID(string $value)

Sets caller id dnid. CALLERID(dnid)

Arguments

  • $value string - <p>DNID.</p>

getDNID

string PAGI\CallerId\ICallerId::getDNID()

Returns caller id dnid. CALLERID(dnid)

setRDNIS

void PAGI\CallerId\ICallerId::setRDNIS(string $value)

Sets caller id rdnis. CALLERID(rdnis)

Arguments

  • $value string - <p>RDNIS.</p>

getRDNIS

string PAGI\CallerId\ICallerId::getRDNIS()

Returns caller id rdnis. CALLERID(rdnis)

setName

void PAGI\CallerId\ICallerId::setName(string $value)

Sets caller id name. CALLERID(name)

Arguments

  • $value string - <p>Name.</p>

getName

string PAGI\CallerId\ICallerId::getName()

Returns caller id name. CALLERID(name)

getNumber

string PAGI\CallerId\ICallerId::getNumber()

Returns caller id number. CALLERID(num)

setNumber

void PAGI\CallerId\ICallerId::setNumber(string $value)

Sets caller id number. CALLERID(num)

Arguments

  • $value string - <p>Number.</p>

getCallerIdVariable

string PAGI\CallerId\Impl\CallerIdFacade::getCallerIdVariable(string $name)

Access AGI client to get the variables.

  • Visibility: protected

Arguments

  • $name string - <p>Variable name.</p>

setCallerIdVariable

void PAGI\CallerId\Impl\CallerIdFacade::setCallerIdVariable(string $name, string $value)

Access AGI client to set the variable.

  • Visibility: protected

Arguments

  • $name string - <p>Variable name.</p>
  • $value string - <p>Value.</p>

setCallerPres

void PAGI\CallerId\ICallerId::setCallerPres(string $presentationMode)

Changes the caller id presentation mode.

Arguments

  • $presentationMode string - <p>Can be one of: allowed_not_screened - Presentation Allowed, Not Screened. allowed_passed_screen - Presentation Allowed, Passed Screen. allowed_failed_screen - Presentation Allowed, Failed Screen. allowed - Presentation Allowed, Network Number. prohib_not_screened - Presentation Prohibited, Not Screened. prohib_passed_screen - Presentation Prohibited, Passed Screen. prohib_failed_screen - Presentation Prohibited, Failed Screen. prohib - Presentation Prohibited, Network Number. unavailable - Number Unavailable.</p>

__toString

string PAGI\CallerId\Impl\CallerIdFacade::__toString()

Standard procedure.

  • Visibility: public

__construct

void PAGI\CallerId\Impl\CallerIdFacade::__construct(\PAGI\Client\IClient $client)

Constructor.

  • Visibility: public

Arguments